Last active
August 29, 2015 14:07
-
-
Save ryantanner/5a23e9e9ea271d5d6501 to your computer and use it in GitHub Desktop.
etcd panic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core@ip-10-0-1-235 ~ $ cat /run/systemd/system/etcd.service.d/20-cloudinit.conf | |
[Service] | |
Environment="ETCD_ADDR=10.0.1.235:4001" | |
Environment="ETCD_CLUSTER_ACTIVE_SIZE=3" | |
Environment="ETCD_DISCOVERY=http://10.0.0.66:4001/v2/keys/_etcd/registry/cluster-dev-f9ekeksid832ik4k" | |
Environment="ETCD_NAME=10-0-1-235" | |
Environment="ETCD_PEER_ADDR=10.0.1.235:7001" | |
Environment="ETCD_TRACE=*" | |
Environment="ETCD_VERY_VERY_VERBOSE=true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal systemd[1]: Starting etcd... | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal systemd[1]: Started etcd. | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: panic: reflect: reflect.Value.SetString using value obtained using unexported field | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: goroutine 1 [running]: | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: runtime.panic(0x73ab20, 0xc21000a8e0) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: reflect.flag.mustBeAssignable(0x187) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/reflect/value.go:265 +0x11b | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: reflect.Value.SetString(0x73ab20, 0xc210059a48, 0x187, 0x7fffdbb69fcc, 0x1) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/reflect/value.go:1548 +0x27 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: github.com/coreos/etcd/config.(*Config).loadEnv(0xc2100598c0, 0x8441a0, 0xc2100598c0, 0x7fab40b24a70, 0xc21009c510) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /build/amd64-usr/var/tmp/portage/dev-db/etcd-0.4.6/work/etcd-0.4.6/gopath/src/github.com/coreos/etcd/config/config.go:212 +0x90f | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: github.com/coreos/etcd/config.(*Config).LoadEnv(0xc2100598c0, 0x0, 0x0) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /build/amd64-usr/var/tmp/portage/dev-db/etcd-0.4.6/work/etcd-0.4.6/gopath/src/github.com/coreos/etcd/config/config.go:177 +0x36 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: github.com/coreos/etcd/config.(*Config).Load(0xc2100598c0, 0xc21000a010, 0x0, 0x0, 0x2, ...) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /build/amd64-usr/var/tmp/portage/dev-db/etcd-0.4.6/work/etcd-0.4.6/gopath/src/github.com/coreos/etcd/config/config.go:144 +0x1cc | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: main.main() | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal systemd[1]: etcd.service: main process exited, code=exited, status=2/INVALIDARGUMENT | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal systemd[1]: Unit etcd.service entered failed state. | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /build/amd64-usr/var/tmp/portage/dev-db/etcd-0.4.6/work/etcd-0.4.6/gopath/src/github.com/coreos/etcd/main.go:30 +0x89 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: goroutine 3 [runnable]: | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: text/template/parse.lexText(0xc210058600, 0x95a568) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/text/template/parse/lex.go:228 +0x35e | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: text/template/parse.(*lexer).run(0xc210058600) | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/text/template/parse/lex.go:198 +0x40 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: created by text/template/parse.lex | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/text/template/parse/lex.go:191 +0x117 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: goroutine 4 [runnable]: | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: os/signal.loop() | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/os/signal/signal_unix.go:19 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: created by os/signal.init·1 | |
Oct 02 16:52:51 ip-10-0-1-235.us-east-1.compute.internal etcd[1049]: /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core@ip-10-0-1-235 ~ $ systemctl cat etcd | |
# /usr/lib64/systemd/system/etcd.service | |
[Unit] | |
Description=etcd | |
[Service] | |
User=etcd | |
PermissionsStartOnly=true | |
Environment=ETCD_DATA_DIR=/var/lib/etcd ETCD_NAME=default | |
ExecStart=/usr/bin/etcd | |
Restart=always | |
RestartSec=10s | |
[Install] | |
WantedBy=multi-user.target | |
# /run/systemd/system/etcd.service.d/10-oem.conf | |
[Service] | |
Environment=ETCD_PEER_ELECTION_TIMEOUT=1200 | |
# /run/systemd/system/etcd.service.d/20-cloudinit.conf | |
[Service] | |
Environment="ETCD_ADDR=10.0.1.235:4001" | |
Environment="ETCD_CLUSTER_ACTIVE_SIZE=3" | |
Environment="ETCD_DISCOVERY=http://10.0.0.66:4001/v2/keys/_etcd/registry/cluster-dev-f9ekeksid832ik4k" | |
Environment="ETCD_NAME=10-0-1-235" | |
Environment="ETCD_PEER_ADDR=10.0.1.235:7001" | |
Environment="ETCD_TRACE=*" | |
Environment="ETCD_VERY_VERY_VERBOSE=true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment