Skip to content

Instantly share code, notes, and snippets.

@swade1987
Created May 22, 2018 10:07
Show Gist options
  • Select an option

  • Save swade1987/41b4e7ac7685690910eb5af3a079eb26 to your computer and use it in GitHub Desktop.

Select an option

Save swade1987/41b4e7ac7685690910eb5af3a079eb26 to your computer and use it in GitHub Desktop.
etcdctl --debug -C https://etcd-2.identity.development.eeveebank.internal:2379 --ca-file /etc/ssl/etcd/etcd/ca.pem --cert-file /etc/ssl/etcd/etcd/etcd.pem --key-file /etc/ssl/etcd/etcd/etcd-key.pem member list
start to sync cluster using endpoints(https://etcd-2.identity.development.eeveebank.internal:2379)
cURL Command: curl -X GET https://etcd-2.identity.development.eeveebank.internal:2379/v2/members
got endpoints(https://etcd-1.identity.development.eeveebank.internal:2379,https://etcd-2.identity.development.eeveebank.internal:2379,https://etcd-0.identity.development.eeveebank.internal:2379) after sync
Cluster-Endpoints: https://etcd-1.identity.development.eeveebank.internal:2379, https://etcd-2.identity.development.eeveebank.internal:2379, https://etcd-0.identity.development.eeveebank.internal:2379
cURL Command: curl -X GET https://etcd-1.identity.development.eeveebank.internal:2379/v2/members
cURL Command: curl -X GET https://etcd-1.identity.development.eeveebank.internal:2379/v2/members/leader
eee3f136fa5d0c59: name=etcd-2 peerURLs=https://etcd-2.identity.development.eeveebank.internal:2380 clientURLs=https://etcd-2.identity.development.eeveebank.internal:2379 isLeader=true
f749363e882a4be4: name=etcd-1 peerURLs=https://etcd-1.identity.development.eeveebank.internal:2380 clientURLs=https://etcd-1.identity.development.eeveebank.internal:2379 isLeader=false
f74ea05c079e8e4f: name=etcd-0 peerURLs=https://etcd-0.identity.development.eeveebank.internal:2380 clientURLs=https://etcd-0.identity.development.eeveebank.internal:2379 isLeader=false
May 22 10:06:00 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:06:00.729061 W | rafthttp: the clock difference against peer eee3f136fa5d0c59 is too high [3.149587818s > 1s]
May 22 10:05:58 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:58.265901 I | rafthttp: established a TCP streaming connection with peer f74ea05c079e8e4f (stream Message reader)
May 22 10:05:58 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:58.264747 I | rafthttp: established a TCP streaming connection with peer f74ea05c079e8e4f (stream MsgApp v2 reader)
May 22 10:05:58 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:58.256139 I | rafthttp: established a TCP streaming connection with peer f74ea05c079e8e4f (stream Message writer)
May 22 10:05:58 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:58.239713 I | rafthttp: established a TCP streaming connection with peer f74ea05c079e8e4f (stream MsgApp v2 writer)
May 22 10:05:58 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:58.239704 W | rafthttp: closed an existing TCP streaming connection with peer f74ea05c079e8e4f (stream MsgApp v2 writer)
May 22 10:05:58 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:58.239672 I | rafthttp: peer f74ea05c079e8e4f became active
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.696186 W | rafthttp: lost the TCP streaming connection with peer f74ea05c079e8e4f (stream Message writer)
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.462214 I | rafthttp: peer f74ea05c079e8e4f became inactive
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.462184 E | rafthttp: failed to dial f74ea05c079e8e4f on stream Message (dial tcp 10.52.4.204:2380: getsockopt: connection refused)
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.360268 W | rafthttp: lost the TCP streaming connection with peer f74ea05c079e8e4f (stream Message reader)
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.359903 W | rafthttp: lost the TCP streaming connection with peer f74ea05c079e8e4f (stream MsgApp v2 reader)
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.281115 W | etcdserver: cannot get the version of member f74ea05c079e8e4f (Get https://etcd-0.identity.development.eeveebank.internal:2380/version: remote error: tls: internal error)
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.281093 W | etcdserver: failed to reach the peerURL(https://etcd-0.identity.development.eeveebank.internal:2380) of member f74ea05c079e8e4f (Get https://etcd-0.identity.development.eeveebank.internal:2380/version: remote error: tls: internal error)
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.260630 I | raft: raft.node: f749363e882a4be4 elected leader f749363e882a4be4 at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.260613 I | raft: f749363e882a4be4 became leader at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.260593 I | raft: f749363e882a4be4 [quorum:2] has received 2 MsgVoteResp votes and 0 vote rejections
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.260571 I | raft: f749363e882a4be4 received MsgVoteResp from f74ea05c079e8e4f at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.258199 I | raft: raft.node: f749363e882a4be4 lost leader f74ea05c079e8e4f at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.258187 I | raft: f749363e882a4be4 [logterm: 11367, index: 5022] sent MsgVote request to f74ea05c079e8e4f at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.258175 I | raft: f749363e882a4be4 [logterm: 11367, index: 5022] sent MsgVote request to eee3f136fa5d0c59 at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.258161 I | raft: f749363e882a4be4 received MsgVoteResp from f749363e882a4be4 at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.258148 I | raft: f749363e882a4be4 became candidate at term 11368
May 22 10:05:56 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:56.258109 I | raft: f749363e882a4be4 [term 11367] received MsgTimeoutNow from f74ea05c079e8e4f and starts an election to get leadership.
May 22 10:05:55 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:55.728886 W | rafthttp: the clock difference against peer eee3f136fa5d0c59 is too high [3.150172466s > 1s]
May 22 10:05:55 ip-172-31-38-166.eu-west-2.compute.internal etcd-wrapper[23397]: 2018-05-22 10:05:55.728847 W | rafthttp: health check for peer eee3f136fa5d0c59 could not connect: dial tcp 10.52.6.88:2380: getsockopt: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment