etcdctl sometimes hangs during provisioning
Bug #1541105 reported by
Corey O'Brien
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Corey O'Brien |
Bug Description
Occasionally, etcdctl seems to hang during provisioning. Instead of returning and then sleeping or curling, etcdctl never exits. As a result, the agent wait condition is never set to success, so the stack/bay never goes to CREATE_COMPLETE.
To post a comment you must log in.
Here is the stack when etcdctrl is hung:
github. com/coreos/ go-etcd/ etcd.(* Client) .SendRequest( 0xc208074360, 0xc20803b8f0, 0x0, 0x0, 0x0) gocode/ src/github. com/coreos/ go-etcd/ etcd/requests. go:178 +0x2079 com/coreos/ go-etcd/ etcd.(* Client) .getCancelable( 0xc208074360, 0x7fffe702af52, 0x2f, 0xc20803b gocode/ src/github. com/coreos/ go-etcd/ etcd/requests. go:51 +0x41a com/coreos/ go-etcd/ etcd.(* Client) .get(0xc2080743 60, 0x7fffe702af52, 0x2f, 0xc20803b800, 0xc20 gocode/ src/github. com/coreos/ go-etcd/ etcd/requests. go:62 +0x61 com/coreos/ go-etcd/ etcd.(* Client) .RawGet( 0xc208074360, 0x7fffe702af52, 0x2f, 0x0, 0x44ab13, 0 gocode/ src/github. com/coreos/ go-etcd/ etcd/get. go:31 +0x26c com/coreos/ go-etcd/ etcd.(* Client) .Get(0xc2080743 60, 0x7fffe702af52, 0x2f, 0x0, 0x5, 0x0, 0x0) gocode/ src/github. com/coreos/ go-etcd/ etcd/get. go:11 +0x63 com/coreos/ etcd/etcdctl/ command. lsCommandFunc( 0xc208044180, 0xc208074360, 0x5, 0x0, 0x0) build/BUILD/ etcd-2. 0.10/src/ github. com/coreos/ etcd/etcdctl/ command/ ls_command. go:65 +0x125 com/coreos/ etcd/etcdctl/ command. rawhandle( 0xc208044180, 0x8b5f90, 0x4, 0x0, 0x0) build/BUILD/ etcd-2. 0.10/src/ github. com/coreos/ etcd/etcdctl/ command/ handle. go:72 +0x5bd com/coreos/ etcd/etcdctl/ command. handleContextua lPrint( 0xc208044180, 0x8b5f90, 0x8b5fc0) build/BUILD/ etcd-2. 0.10/src/ github. com/coreos/ etcd/etcdctl/ command/ handle. go:92 +0x32 com/coreos/ etcd/etcdctl/ command. handleLs( 0xc208044180, 0x8b5f90) build/BUILD/ etcd-2. 0.10/src/ github. com/coreos/ etcd/etcdctl/ command/ ls_command. go:41 +0x3e com/coreos/ etcd/etcdctl/ command. func<C2> <B7>004( 0xc208044180) build/BUILD/ etcd-2. 0.10/src/ github. com/coreos/ etcd/etcdctl/ command/ ls_command. go:34 +0x34 com/codegangsta /cli.Command. Run(0x7fe8b0, 0x2, 0x0, 0x0, 0x83d6d0, 0x14, 0x0, 0x0, 0x0, 0x0, gocode/ src/github. com/codegangsta /cli/command. go:101 +0xe42 com/codegangsta /cli.(* App).Run( 0xc208044000, 0xc20800a000, 0x5, 0x5, 0x0, 0x0) gocode/ src/github. com/codegangsta /cli/app. go:125 +0xb70
/usr/share/
github.
/usr/share/
github.
/usr/share/
github.
/usr/share/
github.
/usr/share/
github.
/builddir/
github.
/builddir/
github.
/builddir/
github.
/builddir/
github.
/builddir/
github.
/usr/share/
github.
/usr/share/