{"action":"closed","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/6908","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/6908/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/6908/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/6908/events","html_url":"https://github.com/coreos/etcd/issues/6908","id":192204499,"number":6908,"title":"single point failure on etcdctl commands","user":{"login":"armstrongli","id":8025018,"avatar_url":"https://avatars.githubusercontent.com/u/8025018?v=3","gravatar_id":"","url":"https://api.github.com/users/armstrongli","html_url":"https://github.com/armstrongli","followers_url":"https://api.github.com/users/armstrongli/followers","following_url":"https://api.github.com/users/armstrongli/following{/other_user}","gists_url":"https://api.github.com/users/armstrongli/gists{/gist_id}","starred_url":"https://api.github.com/users/armstrongli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armstrongli/subscriptions","organizations_url":"https://api.github.com/users/armstrongli/orgs","repos_url":"https://api.github.com/users/armstrongli/repos","events_url":"https://api.github.com/users/armstrongli/events{/privacy}","received_events_url":"https://api.github.com/users/armstrongli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-29T07:08:11Z","updated_at":"2016-11-30T17:12:36Z","closed_at":"2016-11-30T17:12:36Z","body":"If there're multiple members in etcd v3 cluster, there is single point failure on etcdctl commands with multiple endpoints set.\r\n\r\ne.g. \r\n`ectl=etcdctl --endpoints=\"a,b,c,d\"`. `a`,`b`,`c`,`d` are member endpoints. \r\nAll commands work well if all the members of the cluster are healthy.\r\n\r\n```\r\n/ # ectl endpoint status -w table\r\n+-----------------------------------------------+------------------+---------+---------+-----------+-----------+------------+\r\n|                   ENDPOINT                    |        ID        | VERSION | DB SIZE | IS LEADER | RAFT TERM | RAFT INDEX |\r\n+-----------------------------------------------+------------------+---------+---------+-----------+-----------+------------+\r\n| https://tess-node-ojgs1-6199.*.*.*:4001 | 173a38c93ceeb51  | 3.0.4   | 25 kB   | true      |        12 |     196025 |\r\n| https://tess-node-m8ioe-9321.*.*.*:4001 | 54d07ec2c4ec6017 | 3.0.4   | 25 kB   | false     |        12 |     196025 |\r\n| https://tess-node-ppd1p-4549.*.*.*:4001 | 839afbecd56cf6cd | 3.0.4   | 25 kB   | false     |        12 |     196025 |\r\n| https://tess-node-7so7r-5300.*.*.*:4001 | 8b8b8a1c73edbb68 | 3.0.4   | 25 kB   | false     |        12 |     196025 |\r\n+-----------------------------------------------+------------------+---------+---------+-----------+-----------+------------+ \r\n```\r\n\r\nAfter one of the member gets down, v3 commands don't work, v2 ones keep working:\r\n```shell\r\n# V2 commands here\r\n/ # ectl member list\r\n173a38c93ceeb51: name=etcd-3 peerURLs=http://172.20.43.46:2380 clientURLs=https://tess-node-ojgs1-6199.*.*.*:4001 isLeader=true\r\n54d07ec2c4ec6017: name=etcd-2 peerURLs=http://172.20.43.47:2380 clientURLs=https://tess-node-m8ioe-9321.*.*.*:4001 isLeader=false\r\n839afbecd56cf6cd: name=etcd-new peerURLs=http://172.20.43.50:2380 clientURLs=https://tess-node-ppd1p-4549.*.*.*:4001 isLeader=false\r\n8b8b8a1c73edbb68: name=etcd-1 peerURLs=http://172.20.43.49:2380 clientURLs=https://tess-node-7so7r-5300.*.*.*:4001 isLeader=false\r\n\r\n# V3 commands here\r\n/ # ectl member list\r\n2016/11/29 06:59:10 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = \"transport: dial tcp 172.20.43.50:4001: getsockopt: connection refused\"; Reconnecting to {\"tess-node-ppd1p-4549.*.*.*:4001\" <nil>}\r\nError:  grpc: timed out when dialing\r\n```"}}
{"actor":{"display_login":"heyitsanthony"}}