yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35010
[Bug 1471316] [NEW] _get_subnetpool_id does not return None when a cidr is specified and a subnetpool_id isn't.
Public bug reported:
The create_subnet flow was recently re-factored as part of the ongoing
neutron-ipam work, and has broken the process for requesting a specific
subnet. Before the refactor, a user could request a subnet from the
implicit (None) pool by supplying a cidr and not a subnetpool_id in the
request. This would not be over-ridden in cases where a value for
default_ipv4_subnet_pool or default_ipv6_subnet_pool had been set, but
now it is over-ridden by the default. This causes an error when
requesting a specific subnet if a default value is set.
To recreate in devstack:
1. Set default_ipv4_subnet_pool and/or default_ipv6_subnet_pool in /opt/stack/neutron/etc/neutron.conf to any value other than None, e.g default_ipv6_subnet_pool = "prefix_delegation"
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.
** Affects: neutron
Importance: Undecided
Assignee: John Davidge (john-davidge)
Status: New
** Changed in: neutron
Assignee: (unassigned) => John Davidge (john-davidge)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1471316
Title:
_get_subnetpool_id does not return None when a cidr is specified and a
subnetpool_id isn't.
Status in OpenStack Neutron (virtual network service):
New
Bug description:
The create_subnet flow was recently re-factored as part of the ongoing
neutron-ipam work, and has broken the process for requesting a
specific subnet. Before the refactor, a user could request a subnet
from the implicit (None) pool by supplying a cidr and not a
subnetpool_id in the request. This would not be over-ridden in cases
where a value for default_ipv4_subnet_pool or default_ipv6_subnet_pool
had been set, but now it is over-ridden by the default. This causes an
error when requesting a specific subnet if a default value is set.
To recreate in devstack:
1. Set default_ipv4_subnet_pool and/or default_ipv6_subnet_pool in /opt/stack/neutron/etc/neutron.conf to any value other than None, e.g default_ipv6_subnet_pool = "prefix_delegation"
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1471316/+subscriptions
Follow ups
References