You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2129 added basic TLS tests, but do not cover the cases where IP or DNS name Subject Alternative Names (SANs) are set in the certs.
#11184 fixed an issue where the cert authority checks failed when using DNS names, and before #10911 fixed a similar issue but for IPs. We need test coverage.
We need to figure out how we can simulate the networking needed to test the DNS name and IP scenarios.
Trick is finding a clean way to simulate the required networking on localhost. I.e. how do we have endpoints="https://<hostname1>:12379,https://<hostname1>:22379,https://<hostname1>:32379" or endpoints="https://<ip1>:12379,https://<ip2>:22379,https://<ip3>:32379" resolvable on localhost for testing? Somehow injecting a customer net.Dialer into clientv3 would allow for a bunch of this to be simulated. Is there a simpler approach? Do we need to run a e2e test in some containers and simulate the networking that way.. I was hoping to avoid anything that complex..
The text was updated successfully, but these errors were encountered:
#2129 added basic TLS tests, but do not cover the cases where IP or DNS name Subject Alternative Names (SANs) are set in the certs.
#11184 fixed an issue where the cert authority checks failed when using DNS names, and before #10911 fixed a similar issue but for IPs. We need test coverage.
https://github.com/jpbetz/etcd/blob/etcd-lb-dnsname-failover/reproduction.md shows how the necessary certs can be created.
We need to figure out how we can simulate the networking needed to test the DNS name and IP scenarios.
Trick is finding a clean way to simulate the required networking on localhost. I.e. how do we have
endpoints="https://<hostname1>:12379,https://<hostname1>:22379,https://<hostname1>:32379"
orendpoints="https://<ip1>:12379,https://<ip2>:22379,https://<ip3>:32379"
resolvable on localhost for testing? Somehow injecting a customernet.Dialer
intoclientv3
would allow for a bunch of this to be simulated. Is there a simpler approach? Do we need to run a e2e test in some containers and simulate the networking that way.. I was hoping to avoid anything that complex..The text was updated successfully, but these errors were encountered: