stderr: start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
cURL Command: curl -X GET http://127.0.0.1:4001/v2/members
got endpoints(https://xxx-29:2379,https://yyy-137:2379,https://zzz-254:2379,https://qqq-82:2379) after sync
Cluster-Endpoints: https://xxx-29:2379, https://yyy-137:2379, https://zzz-254:2379, https://qqq-82:2379
cURL Command: curl -X POST https://xxx-29:2379/v2/members -d "{\"peerURLs\":[\"https://new-127:2380\"]}"
unexpected status code 401When I check member list I can see:
start to sync cluster using endpoints(http://127.0.0.1:4001,http://127.0.0.1:2379)
cURL Command: curl -X GET http://127.0.0.1:4001/v2/members
got endpoints(https://xxx-29:2379,https://yyy-137:2379,https://qqq-82:2379,https://zzz-254:2379) after sync
Cluster-Endpoints: https://xxx-29:2379, https://yyy-137:2379, https://qqq-82:2379, https://zzz-254:2379
cURL Command: curl -X GET https://xxx-29:2379/v2/members
cURL Command: curl -X GET https://xxx-29:2379/v2/members/leader
id1: name=i-95d25f28 peerURLs=https://xxx-29:2380 clientURLs=https://xxx-29:2379 isLeader=false
id2: name=i-056f7b98 peerURLs=https://zzz-254:2380 clientURLs=https://zzz-254:2379 isLeader=true
id3: name=i-85d90238 peerURLs=https://yyy-137:2380 clientURLs=https://yyy-137:2379 isLeader=false
id4: name=i-f4e56849 peerURLs=https://qqq-82:2380 clientURLs=https://qqq-82:2379 isLeader=falseCluster health says:
member id1 is healthy: got healthy result from https://xxx-29:2379
member id2 is healthy: got healthy result from https://zzz-254:2379
failed to check the health of member id3 on https://yyy-137:2379: Get https://yyy-137:2379/health: dial tcp yyy.137:2379: i/o timeout
member id3 is unreachable: [https://yyy-137:2379] are all unreachable
member id4 is healthy: got healthy result from https://qqq-82:2379
cluster is healthyWhen I try to remove broken node from cluster:
start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
cURL Command: curl -X GET http://127.0.0.1:4001/v2/members
got endpoints(https://yyy-137:2379,https://xxx-29:2379,https://qqq-82:2379,https://zzz-254:2379) after sync
Cluster-Endpoints: https://yyy-137:2379, https://xxx-29:2379, https://qqq-82:2379, https://zzz-254:2379
cURL Command: curl -X GET https://y-137:2379/v2/members
cURL Command: curl -X GET https://xxx-29:2379/v2/members
cURL Command: curl -X DELETE https://xxx-29:2379/v2/members/id3
Received an error trying to remove member id3: unexpected status code 401Thank you in advance
etcdctl version 2.3.2start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
cURL Command: curl -X GET http://127.0.0.1:4001/v2/members
got endpoints(https://yyy-137:2379,https://xxx-29:2379,https://qqq-82:2379,https://zzz-254:2379) after sync
Cluster-Endpoints: https://yyy-137:2379, https://xxx-29:2379, https://qqq-82:2379, https://zzz-254:2379
cURL Command: curl -X GET https://y-137:2379/v2/members
cURL Command: curl -X GET https://xxx-29:2379/v2/members
cURL Command: curl -X DELETE https://xxx-29:2379/v2/members/id3
Received an error trying to remove member id3: unexpected status code 401