Created
October 15, 2015 22:26
-
-
Save apple-corps/9741e847ad7dd0c7b16d to your computer and use it in GitHub Desktop.
etcd2 keeping state, has hostname not defined as an option.
This file contains hidden or 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@coreos003 ~ $ sudo rm -rf /var/lib/etcd/* | |
| core@coreos003 ~ $ sudo rm -rf /var/lib/etcd2/* | |
| core@coreos003 ~ $ sudo systemctl stop etcd2 | |
| core@coreos003 ~ $ sudo systemctl disable etcd2 | |
| core@coreos003 ~ $ sudo systemctl stop etcd | |
| core@coreos003 ~ $ sudo systemctl disable etcd | |
| etcd2 -name coreos002 -initial-advertise-peer-urls http://10.5.29.211:2380 -listen-peer-urls http://10.5.29.211:2380 -listen-client-urls http://10.5.29.211:2379,http://127.0.0.1:2379 -advertise-client-urls http://10.5.29.211:2379 -initial-cluster-token etcd-core-42 -initial-cluster coreos002=http://10.5.29.211:2380,coreos003=http://10.5.29.218:2380,coreos004=http://10.5.29.220:2380 -initial-cluster-state new | |
| etcd2 -name coreos003 -initial-advertise-peer-urls http://10.5.29.218:2380 -listen-peer-urls http://10.5.29.218:2380 -listen-client-urls http://10.5.29.218:2379,http://127.0.0.1:2379 -advertise-client-urls http://10.5.29.218:2379 -initial-cluster-token etcd-core-42 -initial-cluster coreos002=http://10.5.29.211:2380,coreos003=http://10.5.29.218:2380,coreos004=http://10.5.29.220:2380 -initial-cluster-state new | |
| etcd2 -name coreos004 -initial-advertise-peer-urls http://10.5.29.220:2380 -listen-peer-urls http://10.5.29.220:2380 -listen-client-urls http://10.5.29.220:2379,http://127.0.0.1:2379 -advertise-client-urls http://10.5.29.220:2379 -initial-cluster-token etcd-core-42 -initial-cluster coreos002=http://10.5.29.211:2380,coreos003=http://10.5.29.218:2380,coreos004=http://10.5.29.220:2380 -initial-cluster-state new | |
| 2015-10-15 22:04:52.772935 E | rafthttp: failed to write 506411d1d4b44549 on pipeline (dial tcp 10.5.29.210:2380: getsockopt: connection refused) | |
| 2015-10-15 22:04:52.773003 E | rafthttp: failed to dial 506411d1d4b44549 on stream Message (dial tcp 10.5.29.210:2380: getsockopt: connection refused) | |
| 2015-10-15 22:04:52.773055 E | rafthttp: failed to dial 506411d1d4b44549 on stream MsgApp v2 (dial tcp 10.5.29.210:238 getsockopt: connection refused) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment