-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Failure to connect to etcd server #1584
Comments
https://etcd.io/docs/v3.3/dev-guide/interacting_v3/ maybe need to upgrade etcd to 3.4 or 3.5 version |
This looks like your flannel configuration was written as etcdv2 data but flannel now uses etcdv3. Could you try using etcdctl with More details are available in etcd documentation: https://etcd.io/docs/v3.5/op-guide/v2-migration/ |
I had the same issue with @planetA and solved it by resetting
Thanks for the information provided by @thomasferrandiz , which made me realize that we could just reset the version of flannel early enough to use |
@thomasferrandiz Hi, setting v3 API works. But it would be nice to have a warning or an error message in this case. |
我的etcd是3.3.27 一开始用的flanneld是0,18,我将版本重置到0.17,就能开始成功了,谢谢 |
Expected Behavior
Connecting to etcd should not end up in an error message
Current Behavior
The last two lines are printed repeatedly.
Possible Solution
Git bisect point to the following two commits: b40d827 f4326fc
The versions before these commits work as expected. The ones after fail.
Steps to Reproduce (for bugs)
Context
Trying to launch flanneld manually, not using Kubernetes or Docker.
Your Environment
The text was updated successfully, but these errors were encountered: