-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The latest etcdctl seems buggy: etcdctl will request fail when the first etcd cluster endpoint down #11176
Comments
i also meet the same issue |
db61ee1 doesn't handle DNS endpoints... |
@gyuho The problem can still be reproduced using IP instead. Anything wrong I was?Or what 's the workable way? 🤔
versions:
|
just fyi when i shutdown leader etcd node, there is one context deadline exceeded, but recovered soon. |
@xtrusia Thanks for your info. I have tried your program with a little modification. And I still hit the problem. Here are the code and results. My steps:
How did your make the certification? A or B? And can you use etcdctl(v3.4.1) to have a try? |
@scott0000 Do i need to check domain name or ip for this testing? |
The certificate of my etcd nodes contains only the name/IP of the node , the problem can be repro in my enviroment. But your etcd cluster can still be accessed when the leader etcd node shutdown , so I just want to know why. Anyway thanks for reply me🙂,Let's stop talking about the testing and wait for the fix of maintainer. |
@xtrusia can you show me your hosts in cert (not CA file: etcd-ca)? |
etcd-cert you mean? there is nothing as well |
@xtrusia yes,i mean the etcd-cert. |
Already fixed in 97388ce and test ok. So close this issue. |
This issue is related to kubernetes/kubernetes#72102. I can still reproduce that problem with 'etcdctl' of the latest release etcd(v3.4.1).
Environment:
How to reproduce the problems:
The repro methods comes from #10911 (comment) and kubernetes/kubernetes#72102 (comment)
What you expected to happen:
I expect the 3rd step to be OK
As the above shows, the etcdctl v3.4.1 can't work but v3.3.13 can. (It's very strange).
Here is the script I was using to setup the etcd cluster.
The text was updated successfully, but these errors were encountered: