Comments (6)
This can be closed - so much has changed since I reported it and it's not a current concern.
from boots.
more specifically this error log:
ed@iyengar:~/src/github.com/tinkerbell/boots$ ROLLBAR_TOKEN=foo PACKET_ENV=bar PACKET_VERSION=bletch API_CONSUMER_TOKEN=baz API_AUTH_TOKEN=xyzzy MIRROR_HOST=127.0.0.1 FACILITY_CODE=ARB1 ./boots
{"level":"info","ts":1586176933.2510283,"caller":"boots/main.go:54","msg":"starting","service":"github.com/tinkerbell/boots","pkg":"main","version":"9d6cded"}
{"level":"error","ts":1586176936.9251387,"caller":"boots/main.go:58","msg":"connect to cacher: lookup srv record: lookup _http._tcp.cacher.ARB1.packet.net on 192.168.1.254:53: no such host","service":"github.com/tinkerbell/boots","pkg":"main","error":"connect to cacher: lookup srv record: lookup _http._tcp.cacher.ARB1.packet.net on 192.168.1.254:53: no such host","errorVerbose":"lookup _http._tcp.cacher.ARB1.packet.net on 192.168.1.254:53: no such host\nlookup srv record\ngithub.com/packethost/cacher/client.New.func1\n\t/home/ed/go/pkg/mod/github.com/packethost/[email protected]/client/main.go:22\ngithub.com/packethost/cacher/client.New\n\t/home/ed/go/pkg/mod/github.com/packethost/[email protected]/client/main.go:34\ngithub.com/tinkerbell/boots/packet.NewClient\n\t/home/ed/src/github.com/tinkerbell/boots/packet/client.go:45\nmain.main\n\t/home/ed/src/github.com/tinkerbell/boots/main.go:56\nruntime.main\n\t/usr/lib/go-1.13/src/runtime/proc.go:203\nruntime.goexit\n\t/usr/lib/go-1.13/src/runtime/asm_arm64.s:1128\nconnect to cacher\ngithub.com/tinkerbell/boots/packet.NewClient\n\t/home/ed/src/github.com/tinkerbell/boots/packet/client.go:47\nmain.main\n\t/home/ed/src/github.com/tinkerbell/boots/main.go:56\nruntime.main\n\t/usr/lib/go-1.13/src/runtime/proc.go:203\nruntime.goexit\n\t/usr/lib/go-1.13/src/runtime/asm_arm64.s:1128"}
2020/04/06 08:42:17 Rollbar error: received response: 401 Unauthorized
Rollbar item failed to send: map[access_token:foo data:map[body:map[trace_chain:[map[exception:map[class:rollbar.rError message:connect to cacher: lookup srv record: lookup _http._tcp.cacher.ARB1.packet.net on 192.168.1.254:53: no such host] frames:[{/home/ed/src/github.com/tinkerbell/boots/packet/client.go github.com/tinkerbell/boots/packet.NewClient 47} {/home/ed/src/github.com/tinkerbell/boots/main.go main.main 56} {/usr/lib/go-1.13/src/runtime/proc.go runtime.main 203} {/usr/lib/go-1.13/src/runtime/asm_arm64.s runtime.goexit 1128}]] map[exception:map[class:errors.withStack message:connect to cacher: lookup srv record: lookup _http._tcp.cacher.ARB1.packet.net on 192.168.1.254:53: no such host] frames:[]]]] code_version:bletch environment:bar language:go level:error notifier:map[name:rollbar/rollbar-go version:1.0.1] platform:linux server:map[host:iyengar root:/github.com/tinkerbell/boots] timestamp:1586176936 title:connect to cacher: lookup srv record: lookup _http._tcp.cacher.ARB1.packet.net on 192.168.1.254:53: no such host]]
panic: connect to cacher: lookup srv record: lookup _http._tcp.cacher.ARB1.packet.net on 192.168.1.254:53: no such host
goroutine 1 [running]:
github.com/packethost/pkg/log.Logger.Fatal(0x64397e, 0x1b, 0x400000e070, 0x4000276240, 0x716840, 0x400000c3e0, 0x0, 0x0, 0x0)
/home/ed/go/pkg/mod/github.com/packethost/[email protected]/log/log.go:119 +0xb0
main.main()
/home/ed/src/github.com/tinkerbell/boots/main.go:58 +0x824
from boots.
@vielmetti Is this still valid after the improvements we've made?
from boots.
@nathangoulding I'll give it a test with a fresh checkout.
from boots.
@vielmetti there are 2 options here:
- If you do want to run in cacher mode
- Set CACHER_CERT_URL and CACHER_GRPC_AUTHORITY, and it'll avoid the SRV look ups
- If you actually want to use tinkerbell mode instead:
- Set DATA_MODEL_VERSION=1 (to set boots to tinkerbell mode), TINKERBELL_CERT_URL, and TINKERBELL_GRPC_AUTHORITY to avoid SRV look ups
I suspect you want option 2. Also https://github.com/tinkerbell/sandbox/ maybe does everything you want?
from boots.
Hey @vielmetti, looks like it's been quite a while. are you still experiencing this?
from boots.
Related Issues (20)
- Doc: dead link in iPXE Doc on main branch HOT 1
- Stop building 32b images
- Provide a configurable minimum lease expiry for DHCPOFFERs
- Release 0.7 HOT 1
- Add documentation around updated components in Boots HOT 1
- Deprecate and remove Cacher backend
- Remove Cacher backend HOT 1
- Support customization of HTTP port HOT 1
- Consume Tink v1alpha2 APIs
- Customscript error handling does not seem correct HOT 7
- [pls ignore] pxe boot HOT 1
- kernel arg `ip=dhcp` can cause very long boot time in Hook HOT 1
- Binding DHCP server to a specific interface instead of 0.0.0.0 HOT 2
- Add flag to set TFTP block size. HOT 1
- smee/dhcprelay is broadcasting DHCPOFFER instead of unicasting in an L3 environment
- The file backend does not update the runtime config on file change HOT 2
- documenation | static ip addresses | example required HOT 1
- Does smee support binding to IPv6 address ? HOT 4
- Default command-line option values depend on other command-line options (ref `detectPublicIPv4`) HOT 2
- Smee panic in proxy mode HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boots.