Bug 1803782
| Summary: | wrong initial host-etcd endpoints in ipv6 cluster | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Dan Winship <danw> |
| Component: | Etcd Operator | Assignee: | Sam Batschelet <sbatsche> |
| Status: | CLOSED DUPLICATE | QA Contact: | ge liu <geliu> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.4 | CC: | deads, mfojtik, skolicha |
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-10 16:46:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dan Winship
2020-02-17 12:54:43 UTC
I tried just hacking bootkube.sh.template quickly to change ETCD_ENDPOINTS but that doesn't fix things because, I think, the certificates are only being generated with the IPv4 address in them, eg:
+ kube-client-agent request --kubeconfig=/etc/kubernetes/kubeconfig --orgname=system:etcd-peers --assetsdir=/etc/ssl/etcd --dnsnames=dwinship-ipv6.sdn.azure.devcluster.openshift.com --commonname=system:etcd-peer:dwinship-ipv6-h6pzx-bootstrap --ipaddrs=10.0.0.5
and then the server rejects connections from itself:
2020-02-20 17:26:39.261342 I | embed: rejected connection from "[fc00::5]:43686" (error "remote error: tls: bad certificate", ServerName "")
(With the IPv4 address in the initial endpoints, the bootstrap etcd comes up fine but then the first real etcd can't talk to it because it ends up trying to talk to the bootstrap etcd's IPv4 address, but the bootstrap etcd is only configured to accept connections from the real master's IPv6 address.)
I think this is fixed, but also it might make more sense to just mark this a duplicate of bug 1804913. This is fixed both in 4.4 and 4.5. Closing it as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1810694 (4.4 clone of the bug 1804913) *** This bug has been marked as a duplicate of bug 1810694 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |