PR #23959 breaks consul ipv6 registration address #25627
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/cni
theme/consul
theme/networking
type/bug
Nomad version
Nomad v1.9.7
BuildDate 2025-03-11T09:07:15Z
Revision f869597+CHANGES
Operating system and Environment details
Linux 4.18.0-553.46.1.el8_10.x86_64
Issue
After an upgrade from 1.7.7 to 1.9.7 we got an issue with our CNI containers and consul address registration.
#23959 changes the content of netstatus.Address, in our setup this was an IPv6 address inside the CNI bridge and it got registered correctly in consul.
Now this is an IPv4 address as the PR has split it into a netstatus.Address and netstatus.AddressIPv6.
And GetAddress with AddressModeAlloc now returns the ipv4 address
nomad/client/serviceregistration/address.go
Line 150 in 45dab2d
Maybe there should be an option to specify to only use the IPv6 Address like with the docker driver
The text was updated successfully, but these errors were encountered: