-
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
Strange enpoint target during kubespray installation #14145
Comments
Please make sure a correct list of endpoints are configured in
Can you confirm the endpoint |
I'm seeing something similar to the user error mentioned above. I'm using the go client library. Here's an easy way I was able to reproduce the issue. The programme just creates
log.out (pasted an excerpt)
etcd server:
Please let me know if you need more debug info, thanks. @ahrtr Maybe not a bug or maybe a misunderstanding: https://github.com/etcd-io/etcd/blob/0bac6096325c20b0709a3565fbf5808aa7fbf917/CHANGELOG/CHANGELOG-3.5.md#package-clientv3-1 |
I could not reproduce this behaviour in 3.3.27
The run was successful. |
@vivekpatani I do not see any issue at all, what you provided are just debug log messages. |
@ahrtr the first line of the log posted above, the endpoint is prepended with
|
This is a custom schema that grpc loadbalancer which should get translated to Breakdown:
Yes, this is horrible, but we cannot implement it another way due to grpc limitations. |
@webchi feel free to close this, works as intended. |
Note: We reported this issue to grpc some time ago. If someone is interested they could check if this workaround is no longer needed. |
What happened?
Can't get etcd working witch strange hash into endpoint - etcd-endpoints://0xc0000ea700/127.0.0.1:2379 is it ok?
What did you expect to happen?
Healthy etcd cluster
How can we reproduce it (as minimally and precisely as possible)?
Install etcd with kubespray
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
Environment file for etcd v3.5.3
ETCD_DATA_DIR=/var/lib/etcd
ETCD_ADVERTISE_CLIENT_URLS=https://10.1.0.100:2379
ETCD_INITIAL_ADVERTISE_PEER_URLS=https://10.1.0.100:2380
ETCD_INITIAL_CLUSTER_STATE=new
ETCD_METRICS=basic
ETCD_LISTEN_CLIENT_URLS=https://10.1.0.100:2379,https://127.0.0.1:2379
ETCD_ELECTION_TIMEOUT=5000
ETCD_HEARTBEAT_INTERVAL=250
ETCD_INITIAL_CLUSTER_TOKEN=k8s_etcd
ETCD_LISTEN_PEER_URLS=https://10.1.0.100:2380
ETCD_NAME=etcd1
ETCD_PROXY=off
ETCD_INITIAL_CLUSTER=etcd1=https://10.1.0.100:2380,etcd2=https://10.1.0.101:2380,etcd3=https://10.1.0.102:2380
ETCD_AUTO_COMPACTION_RETENTION=8
ETCD_SNAPSHOT_COUNT=10000
Flannel need etcd v2 API
ETCD_ENABLE_V2=true
TLS settings
ETCD_TRUSTED_CA_FILE=/etc/ssl/etcd/ssl/ca.pem
ETCD_CERT_FILE=/etc/ssl/etcd/ssl/member-kub-ctr1.pem
ETCD_KEY_FILE=/etc/ssl/etcd/ssl/member-kub-ctr1-key.pem
ETCD_CLIENT_CERT_AUTH=true
ETCD_PEER_TRUSTED_CA_FILE=/etc/ssl/etcd/ssl/ca.pem
ETCD_PEER_CERT_FILE=/etc/ssl/etcd/ssl/member-kub-ctr1.pem
ETCD_PEER_KEY_FILE=/etc/ssl/etcd/ssl/member-kub-ctr1-key.pem
ETCD_PEER_CLIENT_CERT_AUTH=True
CLI settings
ETCDCTL_ENDPOINTS=https://127.0.0.1:2379
ETCDCTL_CACERT=/etc/ssl/etcd/ssl/ca.pem
ETCDCTL_KEY=/etc/ssl/etcd/ssl/admin-kub-ctr1-key.pem
ETCDCTL_CERT=/etc/ssl/etcd/ssl/admin-kub-ctr1.pem
ETCD 3.5.x issue
https://groups.google.com/a/kubernetes.io/g/dev/c/B7gJs88XtQc/m/rSgNOzV2BwAJ?utm_medium=email&utm_source=footer
ETCD_EXPERIMENTAL_INITIAL_CORRUPT_CHECK=True
Etcd debug information (please run commands blow, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: