Skip to content

[BUG] sometimes uses incomplete IPv6 addresses as node names #1004

@mbunkus

Description

@mbunkus

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have two clusters, defiant & enterprise. Both are dual-stacked IPv4 & IPv6. On top of that defiant has a separate network for storage migration & cluster communication whereas enterprise does both via the management network.

In Pulse all three hosts of the defiant cluster show up as incomplete IPv6 addresses, with the cluster-internal node names following, e.g. 2001:67c:ae8:3: (defiant1) (see screenshot below). This is everywhere a node name is used. That looks like an IPv6 address, but it actually isn't, 'cause there's stuff missing at the end. Furthermore for the defiant cluster all three nodes show up using the same shortened address.

For the enterprise cluster things are different: two show up as names, e.g. enterprise1 (enterprise1), whereas the second shows up with an even shorter truncated address, 2000 (enterprise2).

Unfortunately the UI uses those mangled names for sorting, too, greatly reducing the overview quality.

Image

Expected Behavior

I'd really like for the UI to only use the names assigned to the nodes, the ones currently shown in parenthesis, especially for sorting, but also in the overview, the limits configuration screen etc. I don't ever need to see their IP addresses as I don't actually know the IP addresses by heart — I work on names, especially in IPv6 land.

Steps To Reproduce

  1. Have a cluster with dual-stacked (IPv4 & IPv6) machines
  2. I guess don't have PTR records for all IPs used by the hosts? Haven't checked this
  3. Add the hosts
  4. Look at the UI

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions