Skip to content

PR #23959 breaks consul ipv6 registration address #25627

Open
@42wim

Description

@42wim

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

return netStatus.Address, 0, nil

Maybe there should be an option to specify to only use the IPv6 Address like with the docker driver

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Triaging

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions