Created
March 18, 2015 22:50
-
-
Save kelseyhightower/cf2b90d84d0e9acbf1d2 to your computer and use it in GitHub Desktop.
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@etcd2-testing-0 ~ $ /usr/libexec/etcd/internal_versions/1 -name 07dac75bcb0cf2c728bfa08f94a8940d | |
[etcd] Mar 18 22:46:10.967 WARNING | Using the directory 07dac75bcb0cf2c728bfa08f94a8940d.etcd as the etcd curation directory because a directory was not specified. | |
[etcd] Mar 18 22:46:11.010 INFO | 07dac75bcb0cf2c728bfa08f94a8940d is starting a new cluster | |
[etcd] Mar 18 22:46:11.012 INFO | etcd server [name 07dac75bcb0cf2c728bfa08f94a8940d, listen on :4001, advertised url http://127.0.0.1:4001] | |
[etcd] Mar 18 22:46:11.012 INFO | peer server [name 07dac75bcb0cf2c728bfa08f94a8940d, listen on :7001, advertised url http://127.0.0.1:7001] | |
[etcd] Mar 18 22:46:11.013 INFO | 07dac75bcb0cf2c728bfa08f94a8940d starting in peer mode | |
[etcd] Mar 18 22:46:11.013 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: state changed from 'initialized' to 'follower'. | |
[etcd] Mar 18 22:46:11.013 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: state changed from 'follower' to 'leader'. | |
[etcd] Mar 18 22:46:11.013 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: leader changed from '' to '07dac75bcb0cf2c728bfa08f94a8940d'. | |
[etcd] Mar 18 22:46:13.753 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: available_internal_versions [2 1] is registered into key space successfully. | |
^Ccore@etcd2-testing-0 ~ $ /usr/libexec/etcd/internal_versions/1 -name 07dac75bcb0cf2c728bfa08f94a8940d | |
[etcd] Mar 18 22:47:31.786 WARNING | Using the directory 07dac75bcb0cf2c728bfa08f94a8940d.etcd as the etcd curation directory because a directory was not specified. | |
[etcd] Mar 18 22:47:31.817 INFO | Peer URLs in log: / 07dac75bcb0cf2c728bfa08f94a8940d (http://127.0.0.1:7001) | |
[etcd] Mar 18 22:47:31.819 INFO | etcd server [name 07dac75bcb0cf2c728bfa08f94a8940d, listen on :4001, advertised url http://127.0.0.1:4001] | |
[etcd] Mar 18 22:47:31.819 INFO | peer server [name 07dac75bcb0cf2c728bfa08f94a8940d, listen on :7001, advertised url http://127.0.0.1:7001] | |
[etcd] Mar 18 22:47:31.819 INFO | 07dac75bcb0cf2c728bfa08f94a8940d starting in peer mode | |
[etcd] Mar 18 22:47:31.819 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: state changed from 'initialized' to 'follower'. | |
[etcd] Mar 18 22:47:32.112 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: state changed from 'follower' to 'candidate'. | |
[etcd] Mar 18 22:47:32.113 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: state changed from 'candidate' to 'leader'. | |
[etcd] Mar 18 22:47:32.113 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: leader changed from '' to '07dac75bcb0cf2c728bfa08f94a8940d'. | |
[etcd] Mar 18 22:47:33.227 INFO | 07dac75bcb0cf2c728bfa08f94a8940d: available_internal_versions [2 1] is registered into key space successfully. | |
^Ccore@etcd2-testing-0 ~ $ /usr/libexec/etcd/internal_versions/2 | |
2015/03/18 22:48:02 starter: please set --data-dir or ETCD_DATA_DIR for etcd | |
core@etcd2-testing-0 ~ $ /usr/libexec/etcd/internal_versions/2 --data-dir /var/lib/etcd/ | |
2015/03/18 22:48:13 starter: detect etcd version No WAL in /var/lib/etcd/ | |
2015/03/18 22:48:13 starter: failed to get /etcdURL from http:// | |
2015/03/18 22:48:13 starter: failed to check start version through peers: failed to get version from urls [] | |
2015/03/18 22:48:13 starter: start etcd version 2 | |
2015/03/18 22:48:13 etcd: listening for peers on http://localhost:2380 | |
2015/03/18 22:48:13 etcd: listening for peers on http://localhost:7001 | |
2015/03/18 22:48:13 etcd: listening for client requests on http://localhost:2379 | |
2015/03/18 22:48:13 etcd: listening for client requests on http://localhost:4001 | |
2015/03/18 22:48:13 etcdserver: name = default | |
2015/03/18 22:48:13 etcdserver: data dir = /var/lib/etcd/ | |
2015/03/18 22:48:13 etcdserver: member dir = /var/lib/etcd/member | |
2015/03/18 22:48:13 etcdserver: heartbeat = 100ms | |
2015/03/18 22:48:13 etcdserver: election = 1000ms | |
2015/03/18 22:48:13 etcdserver: snapshot count = 10000 | |
2015/03/18 22:48:13 etcdserver: advertise client URLs = http://localhost:2379,http://localhost:4001 | |
2015/03/18 22:48:13 etcdserver: initial advertise peer URLs = http://localhost:2380,http://localhost:7001 | |
2015/03/18 22:48:13 etcdserver: initial cluster = default=http://localhost:2380,default=http://localhost:7001 | |
2015/03/18 22:48:13 etcdserver create snapshot directory error: mkdir /var/lib/etcd/member: permission denied | |
core@etcd2-testing-0 ~ $ sudo /usr/libexec/etcd/internal_versions/2 --data-dir /var/lib/etcd/ | |
2015/03/18 22:48:20 starter: detect etcd version No WAL in /var/lib/etcd/ | |
2015/03/18 22:48:20 starter: failed to get /etcdURL from http:// | |
2015/03/18 22:48:20 starter: failed to check start version through peers: failed to get version from urls [] | |
2015/03/18 22:48:20 starter: start etcd version 2 | |
2015/03/18 22:48:20 etcd: listening for peers on http://localhost:2380 | |
2015/03/18 22:48:20 etcd: listening for peers on http://localhost:7001 | |
2015/03/18 22:48:20 etcd: listening for client requests on http://localhost:2379 | |
2015/03/18 22:48:20 etcd: listening for client requests on http://localhost:4001 | |
2015/03/18 22:48:20 etcdserver: name = default | |
2015/03/18 22:48:20 etcdserver: data dir = /var/lib/etcd/ | |
2015/03/18 22:48:20 etcdserver: member dir = /var/lib/etcd/member | |
2015/03/18 22:48:20 etcdserver: heartbeat = 100ms | |
2015/03/18 22:48:20 etcdserver: election = 1000ms | |
2015/03/18 22:48:20 etcdserver: snapshot count = 10000 | |
2015/03/18 22:48:20 etcdserver: advertise client URLs = http://localhost:2379,http://localhost:4001 | |
2015/03/18 22:48:20 etcdserver: initial advertise peer URLs = http://localhost:2380,http://localhost:7001 | |
2015/03/18 22:48:20 etcdserver: initial cluster = default=http://localhost:2380,default=http://localhost:7001 | |
2015/03/18 22:48:20 etcdserver: start member ce2a822cea30bfca in cluster 7e27652122e8b2ae | |
2015/03/18 22:48:20 raft: ce2a822cea30bfca became follower at term 0 | |
2015/03/18 22:48:20 raft: newRaft ce2a822cea30bfca [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0] | |
2015/03/18 22:48:20 raft: ce2a822cea30bfca became follower at term 1 | |
2015/03/18 22:48:20 etcdserver: added local member ce2a822cea30bfca [http://localhost:2380 http://localhost:7001] to cluster 7e27652122e8b2ae | |
2015/03/18 22:48:21 raft: ce2a822cea30bfca is starting a new election at term 1 | |
2015/03/18 22:48:21 raft: ce2a822cea30bfca became candidate at term 2 | |
2015/03/18 22:48:21 raft: ce2a822cea30bfca received vote from ce2a822cea30bfca at term 2 | |
2015/03/18 22:48:21 raft: ce2a822cea30bfca became leader at term 2 | |
2015/03/18 22:48:21 raft.node: ce2a822cea30bfca elected leader ce2a822cea30bfca at term 2 | |
2015/03/18 22:48:21 etcdserver: published {Name:default ClientURLs:[http://localhost:2379 http://localhost:4001]} to cluster 7e27652122e8b2ae |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any solution to this? I met this same issue.
2015/03/18 22:48:13 etcdserver create snapshot directory error: mkdir /var/lib/etcd/member: permission denied