Skip to content

Instantly share code, notes, and snippets.

@dginther
Last active August 29, 2015 13:56
Show Gist options
  • Save dginther/8919447 to your computer and use it in GitHub Desktop.
Save dginther/8919447 to your computer and use it in GitHub Desktop.
vagrant@packer-virtualbox:/vagrant$ make
mkdir -p /tmp/keys
cp /home/vagrant/.ssh/id_rsa.pub /tmp/keys/vagrant
bin/forego start
forego | starting etcd on port 5000
forego | starting discoverd on port 5100
forego | starting gitreceive on port 5200
forego | starting shelf on port 5300
forego | starting strowger on port 5400
forego | starting host on port 5500
forego | starting controller on port 5600
discoverd | 2014/02/10 16:06:00 Starting server on :1111...
etcd | [etcd] Feb 10 16:06:00.307 WARNING | Using the directory packer-virtualbox.etcd as the etcd curation directory because a directory was not specified.
etcd | [etcd] Feb 10 16:06:00.399 INFO | etcd server [name packer-virtualbox, listen on :4001, advertised url http://127.0.0.1:4001]
etcd | [etcd] Feb 10 16:06:00.427 INFO | URLs: / packer-virtualbox (http://127.0.0.1:7001)
etcd | [etcd] Feb 10 16:06:00.436 WARNING | the entire cluster is down! this peer will restart the cluster.
etcd | [etcd] Feb 10 16:06:00.437 INFO | raft server [name packer-virtualbox, listen on :7001, advertised url http://127.0.0.1:7001]
strowger | 2014/02/10 16:06:01 discover: register failed: discoverd: Addr must have address or EXTERNAL_IP must be set
forego | shutting down
forego | sending SIGTERM to etcd
forego | sending SIGTERM to discoverd
forego | sending SIGTERM to gitreceive
forego | sending SIGTERM to shelf
forego | sending SIGTERM to host
forego | sending SIGTERM to controller
shelf | panic: runtime error: close of nil channel
shelf |
shelf | goroutine 9 [running]:
shelf | runtime.panic(0x69efc0, 0xa09960)
shelf | /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
shelf | github.com/flynn/go-discoverd.(*Client).Unregister(0xc21006cd80, 0x7fff7b3508cc, 0x5, 0xc210037fa0, 0xe, ...)
shelf | /vagrant/src/github.com/flynn/go-discoverd/client.go:500 +0xdc
shelf | main.func·006()
shelf | /vagrant/src/github.com/flynn/sdutil/register.go:73 +0x1a4
shelf | created by main.(*register).RegisterWithExitHook
shelf | /vagrant/src/github.com/flynn/sdutil/register.go:75 +0x1d6
shelf |
shelf | goroutine 1 [chan receive]:
shelf | github.com/flynn/rpcplus.(*Client).Call(0xc21004f480, 0x7069d0, 0xe, 0x609e80, 0xc21001e1b0, ...)
shelf | /vagrant/src/github.com/flynn/rpcplus/client.go:391 +0xa6
shelf | github.com/flynn/go-discoverd.(*Client).RegisterWithAttributes(0xc21006cd80, 0x7fff7b3508cc, 0x5, 0xc210037dc0, 0xe, ...)
shelf | /vagrant/src/github.com/flynn/go-discoverd/client.go:463 +0x13f
shelf | github.com/flynn/go-discoverd.(*Client).Register(0xc21006cd80, 0x7fff7b3508cc, 0x5, 0xc210037dc0, 0xe, ...)
shelf | /vagrant/src/github.com/flynn/go-discoverd/client.go:394 +0x5d
shelf | main.(*register).RegisterWithExitHook(0xc21006c990, 0x7fff7b3508cc, 0x5, 0x7fff7b3508d2, 0x4, ...)
shelf | /vagrant/src/github.com/flynn/sdutil/register.go:76 +0x25e
shelf | main.(*execCmd).Run(0xc21006c990, 0xc210059d90)
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:58 +0x635
shelf | main.ParseCommands(0x2b1a8765df00, 0x4, 0x4)
shelf | /vagrant/src/github.com/flynn/sdutil/command.go:50 +0x3c3
shelf | main.main()
shelf | /vagrant/src/github.com/flynn/sdutil/sdutil.go:8 +0x183
shelf |
shelf | goroutine 3 [syscall]:
shelf | os/signal.loop()
shelf | /usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
shelf | created by os/signal.init·1
shelf | /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x31
shelf |
shelf | goroutine 5 [IO wait]:
shelf | net.runtime_pollWait(0x2b1a874be830, 0x72, 0x0)
shelf | /usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
shelf | net.(*pollDesc).Wait(0xc210059e60, 0x72, 0x2b1a874bcf88, 0xb)
shelf | /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
shelf | net.(*pollDesc).WaitRead(0xc210059e60, 0xb, 0x2b1a874bcf88)
shelf | /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
shelf | net.(*netFD).Read(0xc210059e00, 0xc210073000, 0x1000, 0x1000, 0x0, ...)
shelf | /usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
shelf | net.(*conn).Read(0xc210000390, 0xc210073000, 0x1000, 0x1000, 0xb6faddc, ...)
shelf | /usr/local/go/src/pkg/net/net.go:122 +0xc5
shelf | bufio.(*Reader).fill(0xc21004f420)
shelf | /usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
shelf | bufio.(*Reader).Read(0xc21004f420, 0xc210037bc0, 0x1, 0x9, 0x1, ...)
shelf | /usr/local/go/src/pkg/bufio/bufio.go:159 +0x1a4
shelf | io.ReadAtLeast(0x2b1a874be978, 0xc21004f420, 0xc210037bc0, 0x1, 0x9, ...)
shelf | /usr/local/go/src/pkg/io/io.go:288 +0xf6
shelf | io.ReadFull(0x2b1a874be978, 0xc21004f420, 0xc210037bc0, 0x1, 0x9, ...)
shelf | /usr/local/go/src/pkg/io/io.go:306 +0x71
shelf | encoding/gob.decodeUintReader(0x2b1a874be978, 0xc21004f420, 0xc210037bc0, 0x9, 0x9, ...)
shelf | /usr/local/go/src/pkg/encoding/gob/decode.go:66 +0x98
shelf | encoding/gob.(*Decoder).recvMessage(0xc210072000, 0x0)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:73 +0x57
shelf | encoding/gob.(*Decoder).decodeTypeSequence(0xc210072000, 0xc21006ce00, 0x160)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:159 +0x49
shelf | encoding/gob.(*Decoder).DecodeValue(0xc210072000, 0x60a000, 0xc21006ce40, 0x160, 0x0, ...)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:223 +0x12e
shelf | encoding/gob.(*Decoder).Decode(0xc210072000, 0x60a000, 0xc21006ce40, 0x6bbaa0, 0x0)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:202 +0x1c5
shelf | github.com/flynn/rpcplus.(*gobClientCodec).ReadResponseHeader(0xc21006cd20, 0xc21006ce40, 0xc210001120, 0x20)
shelf | /vagrant/src/github.com/flynn/rpcplus/client.go:277 +0x3f
shelf | github.com/flynn/rpcplus.(*Client).input(0xc21004f480)
shelf | /vagrant/src/github.com/flynn/rpcplus/client.go:137 +0xb8
shelf | created by github.com/flynn/rpcplus.NewClientWithCodec
shelf | /vagrant/src/github.com/flynn/rpcplus/client.go:255 +0x91
shelf |
shelf | goroutine 6 [chan send]:
shelf | main.func·002()
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:87 +0x9f
shelf | created by main.attachCmd
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:88 +0x24f
shelf |
shelf | goroutine 7 [runnable]:
shelf | syscall.Syscall(0x0, 0x7, 0xc210080000, 0x8000, 0x0, ...)
shelf | /usr/local/go/src/pkg/syscall/asm_linux_amd64.s:38 +0x64
shelf | syscall.read(0x7, 0xc210080000, 0x8000, 0x8000, 0x2b1a874bec10, ...)
shelf | /usr/local/go/src/pkg/syscall/zsyscall_linux_amd64.go:838 +0x72
shelf | syscall.Read(0x7, 0xc210080000, 0x8000, 0x8000, 0x1, ...)
shelf | /usr/local/go/src/pkg/syscall/syscall_unix.go:135 +0x5c
shelf | os.(*File).read(0xc2100003c8, 0xc210080000, 0x8000, 0x8000, 0x41f398, ...)
shelf | /usr/local/go/src/pkg/os/file_unix.go:180 +0x62
shelf | os.(*File).Read(0xc2100003c8, 0xc210080000, 0x8000, 0x8000, 0x8000, ...)
shelf | /usr/local/go/src/pkg/os/file.go:95 +0x98
shelf | io.Copy(0x2b1a874bd0e8, 0xc210000008, 0x2b1a874bcf38, 0xc2100003c8, 0x0, ...)
shelf | /usr/local/go/src/pkg/io/io.go:352 +0x1c8
shelf | main.func·003()
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:90 +0x71
shelf | created by main.attachCmd
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:92 +0x28e
shelf |
shelf | goroutine 8 [runnable]:
shelf | syscall.Syscall(0x0, 0x9, 0xc210088000, 0x8000, 0x0, ...)
shelf | /usr/local/go/src/pkg/syscall/asm_linux_amd64.s:38 +0x64
shelf | syscall.read(0x9, 0xc210088000, 0x8000, 0x8000, 0x0, ...)
shelf | /usr/local/go/src/pkg/syscall/zsyscall_linux_amd64.go:838 +0x72
shelf | syscall.Read(0x9, 0xc210088000, 0x8000, 0x8000, 0x1, ...)
shelf | /usr/local/go/src/pkg/syscall/syscall_unix.go:135 +0x5c
shelf | os.(*File).read(0xc2100003e0, 0xc210088000, 0x8000, 0x8000, 0x41f398, ...)
shelf | /usr/local/go/src/pkg/os/file_unix.go:180 +0x62
shelf | os.(*File).Read(0xc2100003e0, 0xc210088000, 0x8000, 0x8000, 0x8000, ...)
shelf | /usr/local/go/src/pkg/os/file.go:95 +0x98
shelf | io.Copy(0x2b1a874bd0e8, 0xc210000010, 0x2b1a874bcf38, 0xc2100003e0, 0x0, ...)
shelf | /usr/local/go/src/pkg/io/io.go:352 +0x1c8
shelf | main.func·004()
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:94 +0x71
shelf | created by main.attachCmd
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:96 +0x2cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment