yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #96161
[Bug 2116927] [NEW] Horizon shows all prefix lengths when creating subnet from subnet pool
Public bug reported:
Greetings,
When creating a subnet from a subnet pool in Horizon 2024.2, the
"Network Mask" dropdown shows all possible IPv6 prefix lengths (/1 to
/128), despite the selected subnet pool having min_prefixlen,
max_prefixlen, and default_prefixlen all set to /64. Selecting any
prefix length other than /64 results in a permission denied error, as
expected.
In earlier versions of Horizon (e.g. Yoga), only valid prefix lengths within the allowed range were shown in the UI, which was the correct behavior.
Also the default_prefixlen was shown as "(POOL DEFAULT)" next to the prefix in earlier versions which I dont see in horizon 2024.2 anymore.
Subnet pool output which I used for testing:
openstack subnet pool show fe734292-7052-4954-b8ff-f8ebdbfd2b6d
+-------------------+--------------------------------------+
| Field | Value |
+-------------------+--------------------------------------+
| address_scope_id | 85880696-811e-4621-8128-2b8673a8e5a9 |
| created_at | 2025-05-09T11:26:43Z |
| default_prefixlen | 64 |
| default_quota | None |
| description | |
| id | fe734292-7052-4954-b8ff-f8ebdbfd2b6d |
| ip_version | 6 |
| is_default | True |
| max_prefixlen | 64 |
| min_prefixlen | 64 |
| name | provider_customer_v6 |
| prefixes | 2001:****/48 |
| project_id | 5c5858f4a7294f1eb64e50c0cf2470d6 |
| revision_number | 0 |
| shared | True |
| tags | |
| updated_at | 2025-05-09T11:26:43Z |
+-------------------+--------------------------------------+
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2116927
Title:
Horizon shows all prefix lengths when creating subnet from subnet pool
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Greetings,
When creating a subnet from a subnet pool in Horizon 2024.2, the
"Network Mask" dropdown shows all possible IPv6 prefix lengths (/1 to
/128), despite the selected subnet pool having min_prefixlen,
max_prefixlen, and default_prefixlen all set to /64. Selecting any
prefix length other than /64 results in a permission denied error, as
expected.
In earlier versions of Horizon (e.g. Yoga), only valid prefix lengths within the allowed range were shown in the UI, which was the correct behavior.
Also the default_prefixlen was shown as "(POOL DEFAULT)" next to the prefix in earlier versions which I dont see in horizon 2024.2 anymore.
Subnet pool output which I used for testing:
openstack subnet pool show fe734292-7052-4954-b8ff-f8ebdbfd2b6d
+-------------------+--------------------------------------+
| Field | Value |
+-------------------+--------------------------------------+
| address_scope_id | 85880696-811e-4621-8128-2b8673a8e5a9 |
| created_at | 2025-05-09T11:26:43Z |
| default_prefixlen | 64 |
| default_quota | None |
| description | |
| id | fe734292-7052-4954-b8ff-f8ebdbfd2b6d |
| ip_version | 6 |
| is_default | True |
| max_prefixlen | 64 |
| min_prefixlen | 64 |
| name | provider_customer_v6 |
| prefixes | 2001:****/48 |
| project_id | 5c5858f4a7294f1eb64e50c0cf2470d6 |
| revision_number | 0 |
| shared | True |
| tags | |
| updated_at | 2025-05-09T11:26:43Z |
+-------------------+--------------------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2116927/+subscriptions
Follow ups