HomeClusterLabs Projects

OCPBUGS-60977: podman-etcd: wrap ipv6 address in brackets for attribute_node_ip…

Description

OCPBUGS-60977: podman-etcd: wrap ipv6 address in brackets for attribute_node_ip (#2068)

When trying to determine the node ip address we need to make sure we account for ipv6 and dualstack deployments, and accordingly wrap ipv6 in brackets so it correctly resolves. Since the node ip mapping is provided by the controller, we parse out the IP address of the node from there and use a helper function for building URLs with ports to correctly use brackets for ipv6 ip addresses.

Signed-off-by: ehila <ehila@redhat.com>

Details

Provenance
E Hila <ehila@redhat.com>Authored on Tue, Sep 9, 6:06 AM
GitHub <noreply@github.com>Committed on Tue, Sep 9, 6:06 AM
Parents
rR52e588f2b6c3: Merge pull request #2066 from vvidic/shellcheck-redirection
Branches
Unknown
Tags
Unknown
References
HEAD -> main