Giter Site home page Giter Site logo

Comments (6)

vielmetti avatar vielmetti commented on August 24, 2024 1

This can be closed - so much has changed since I reported it and it's not a current concern.

from boots.

vielmetti avatar vielmetti commented on August 24, 2024

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.

nathangoulding avatar nathangoulding commented on August 24, 2024

@vielmetti Is this still valid after the improvements we've made?

from boots.

vielmetti avatar vielmetti commented on August 24, 2024

@nathangoulding I'll give it a test with a fresh checkout.

from boots.

mmlb avatar mmlb commented on August 24, 2024

@vielmetti there are 2 options here:

  1. If you do want to run in cacher mode
    1. Set CACHER_CERT_URL and CACHER_GRPC_AUTHORITY, and it'll avoid the SRV look ups
  2. If you actually want to use tinkerbell mode instead:
    1. 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.

jacobweinstock avatar jacobweinstock commented on August 24, 2024

Hey @vielmetti, looks like it's been quite a while. are you still experiencing this?

from boots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.