Project

General

Profile

Bug #30823

IPv6 subnet does not display hosts

Added by Markus Bucher 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

On the Subnet index page, IPv6-subnets do not show the count of hosts.
The number is always 0.

Furthermore, when clicking on the number to search for all hosts with this subnet, foreman searches the hosts with `subnet.name="IPv6 Subnet-name"` instead of `subnet6.name="IPv6 Subnet-name"`.

Trying to search for all hosts with a v4- or v6-subnet of that name gives the following results:
- Search for `subnet6.name="IPv6 Subnet-name" or subnet.name="IPv6 Subnet-name"` finds the hosts with the IPv6 subnet
- `subnet.name="IPv6 Subnet-name" or subnet6.name="IPv6 Subnet-name"` returns nothing (I assume it would return the hosts with configured v4-subnet of the name "IPv6 subnet-name").

This is issue relates to #30808

Also available in: Atom PDF