_get_subnetpool_id does not return None when a cidr is specified and a subnetpool_id isn't.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Opinion
|
High
|
John Davidge |
Bug Description
I've just noticed this while rebasing the ongoing prefix delegation patch to align with the changes made by: https:/
When (https:/
This can be seen by simply running devstack with a value set for default_
To recreate in devstack:
1. Set default_
2. Run the ./stack.sh script with ip_version set appropriately for the defaults set above. It will fail when trying to create the default networks.
Changed in neutron: | |
assignee: | nobody → John Davidge (john-davidge) |
Changed in neutron: | |
status: | New → In Progress |
description: | updated |
Changed in neutron: | |
importance: | Undecided → High |
My undestanding of expected behavior is a bit different here. ipv4_subnet_ pool or default_ ipv6_subnet_ pool are set in config,
If value for default_
then all subnet allocations are expected to be done using subnet_pool,
independently whether cidr is set (specific subnet) or not (auto subnet).
Need to check with Ryan Tidwell and Carl Baldween to confirm expected behavior here,
because they know subnetpool stuff better.
At first I thought [1] caused this issue, but after double checking
I didn't notice any change is handling subnetpool_id.
I.e. _get_subnetpool_id always returned default subnet_pool if it is set in config (independently from presence of cidr)
[1] https:/ /review. openstack. org/#/c/ 197090/