Skip to content

Instantly share code, notes, and snippets.

@pnasrat
Created April 25, 2014 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnasrat/11303147 to your computer and use it in GitHub Desktop.
Save pnasrat/11303147 to your computer and use it in GitHub Desktop.
etcd weird state
r 25 20:51:37 core-03 etcd[3231]: github.com/coreos/etcd/third_party/github.com/coreos/go-etcd/etcd.(*Client).RawSet(0xc210057120, 0xc21001dcd0, 0x42, 0xc21004d880, 0x18, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/third_party/github.com/coreos/go-etcd/etcd/set_update_create.go:
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/third_party/github.com/coreos/go-etcd/etcd/set_update_create.go:
Apr 25 20:51:37 core-03 etcd[3231]: github.com/coreos/etcd/third_party/github.com/coreos/go-etcd/etcd.(*Client).Set(0xc210057120, 0xc21001dcd0, 0x42, 0xc21004d880, 0x18, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/third_party/github.com/coreos/go-etcd/etcd/set_update_create.go:
Apr 25 20:51:37 core-03 etcd[3231]: github.com/coreos/etcd/discovery.(*Discoverer).heartbeat(0xc21001dc30, 0x8, 0x866b70)
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/discovery/discovery.go:139 +0xf0
Apr 25 20:51:37 core-03 etcd[3231]: github.com/coreos/etcd/discovery.(*Discoverer).Do(0xc21001dc30, 0x7fff74179f72, 0x3a, 0x7fff74179f42, 0x20, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/discovery/discovery.go:64 +0x41d
Apr 25 20:51:37 core-03 etcd[3231]: github.com/coreos/etcd/discovery.Do(0x7fff74179f72, 0x3a, 0x7fff74179f42, 0x20, 0xc21004d880, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/discovery/discovery.go:144 +0x74
Apr 25 20:51:37 core-03 etcd[3231]: github.com/coreos/etcd/config.(*Config).handleDiscovery(0xc210061700, 0x0, 0x0)
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/config/config.go:219 +0x79
Apr 25 20:51:37 core-03 etcd[3231]: github.com/coreos/etcd/config.(*Config).Load(0xc210061700, 0xc21000a010, 0x0, 0x0, 0x2, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/config/config.go:149 +0x3c6
Apr 25 20:51:37 core-03 etcd[3231]: main.main()
Apr 25 20:51:37 core-03 etcd[3231]: /build/amd64-usr/tmp/portage/dev-db/etcd-0.3.0-r9/work/etcd-0.3.0/src/github.com/coreos/etcd/etcd.go:41 +0x8f
Apr 25 20:51:37 core-03 etcd[3231]: goroutine 3 [syscall]:
Apr 25 20:51:37 core-03 etcd[3231]: os/signal.loop()
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
Apr 25 20:51:37 core-03 etcd[3231]: created by os/signal.init<C2><B7>1
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31
Apr 25 20:51:37 core-03 etcd[3231]: goroutine 9 [IO wait]:
Apr 25 20:51:37 core-03 etcd[3231]: net.runtime_pollWait(0x7ff591aa5278, 0x72, 0x0)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/runtime/netpoll.goc:116 +0x6a
Apr 25 20:51:37 core-03 etcd[3231]: net.(*pollDesc).Wait(0xc210052ed0, 0x72, 0x7ff591aa40e8, 0xb)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
Apr 25 20:51:37 core-03 etcd[3231]: net.(*pollDesc).WaitRead(0xc210052ed0, 0xb, 0x7ff591aa40e8)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
Apr 25 20:51:37 core-03 etcd[3231]: net.(*netFD).Read(0xc210052e70, 0xc210089800, 0x400, 0x400, 0x0, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/net/fd_unix.go:204 +0x2a0
Apr 25 20:51:37 core-03 etcd[3231]: net.(*conn).Read(0xc210000570, 0xc210089800, 0x400, 0x400, 0x7e4ac0, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/net/net.go:122 +0xc5
Apr 25 20:51:37 core-03 etcd[3231]: crypto/tls.(*block).readFromUntil(0xc2100afc00, 0x7ff591aa61a0, 0xc210000570, 0x5, 0xc210000570, ...)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/crypto/tls/conn.go:459 +0xb6
Apr 25 20:51:37 core-03 etcd[3231]: crypto/tls.(*Conn).readRecord(0xc21005aa00, 0x16, 0x0, 0x43)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/crypto/tls/conn.go:539 +0x107
Apr 25 20:51:37 core-03 etcd[3231]: crypto/tls.(*Conn).readHandshake(0xc21005aa00, 0xc210057216, 0xc21005735a, 0x8a, 0x0)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/crypto/tls/conn.go:776 +0xc3
Apr 25 20:51:37 core-03 etcd[3231]: crypto/tls.(*Conn).clientHandshake(0xc21005aa00, 0x0, 0x0)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/crypto/tls/handshake_client.go:71 +0x729
Apr 25 20:51:37 core-03 etcd[3231]: crypto/tls.(*Conn).Handshake(0xc21005aa00, 0x0, 0x0)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/crypto/tls/conn.go:950 +0xf1
Apr 25 20:51:37 core-03 etcd[3231]: net/http.(*Transport).dialConn(0xc210060780, 0xc2100afab0, 0x0, 0x7ff591aa3e80, 0xc21000a030)
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/net/http/transport.go:515 +0x473
Apr 25 20:51:37 core-03 etcd[3231]: net/http.func<C2><B7>014()
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/net/http/transport.go:419 +0x3e
Apr 25 20:51:37 core-03 etcd[3231]: created by net/http.(*Transport).getConn
Apr 25 20:51:37 core-03 etcd[3231]: /usr/lib/go/src/pkg/net/http/transport.go:421 +0x11a
Apr 25 20:51:37 core-03 etcd[3231]: goroutine 8 [syscall]:
core-03 core # journalctl -u etcd
# core@core-01 ~ $ curl https://discovery.etcd.io/236e8fd35f3700dc49ce936599ed3889
{"action":"get","node":{"key":"/_etcd/registry/236e8fd35f3700dc49ce936599ed3889","dir":true,"nodes":[{"key":"/_etcd/registry/236e8fd35f3700dc49ce936599ed3889/24c02bbd2e7c458c811f0654a7e5d96f","value":"http://172.17.8.101:7001","expiration":"2014-05-02T20:29:35.115456531Z","ttl":603342,"modifiedIndex":10150897,"createdIndex":10150897},{"key":"/_etcd/registry/236e8fd35f3700dc49ce936599ed3889/03abd30a63694b758563d48657bbeb0a","value":"http://172.17.8.102:7001","expiration":"2014-05-02T20:13:02.050481022Z","ttl":602349,"modifiedIndex":10147087,"createdIndex":10147087},{"key":"/_etcd/registry/236e8fd35f3700dc49ce936599ed3889/5556b37a4e4c492d8e3d2c6e75de8bb8","value":"http://172.17.8.103:7001","expiration":"2014-05-02T20:33:13.043258754Z","ttl":603560,"modifiedIndex":10151753,"createdIndex":10151753},{"key":"/_etcd/registry/236e8fd35f3700dc49ce936599ed3889/109c173aec2a4b3c9691111a33a09829","value":"http://172.17.8.101:7001","expiration":"2014-05-02T20:53:35.099565605Z","ttl":604782,"modifiedIndex":10156749,"createdIndex":10156749},{"key":"/_etcd/registry/236e8fd35f3700dc49ce936599ed3889/54b3e14e14a3449cb17ab193dc5fa687","value":"http://172.17.8.102:7001","expiration":"2014-05-02T20:53:36.487248673Z","ttl":604783,"modifiedIndex":10156760,"createdIndex":10156760},{"key":"/_etcd/registry/236e8fd35f3700dc49ce936599ed3889/02860fba46d9435f97090e4f0ef62005","value":"http://172.17.8.103:7001","expiration":"2014-05-02T20:41:58.713241411Z","ttl":604085,"modifiedIndex":10153876,"createdIndex":10153876}],"modifiedIndex":10146567,"createcore@core-01 ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment