yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #32607
[Bug 1451576] [NEW] subnetpool allocation not ensuring non-overlapping cidrs
Public bug reported:
_get_allocated_cidrs[1] locks only allocated subnets in a subnetpool
(with mysql/postgresql at least) which ensures we won't allocate a cidr
overlapping with existent cidrs but nothing disallows a concurrent
subnet allocation to create a subnet in the same subnetpool.
[1]:
https://github.com/openstack/neutron/blob/5962d825a6c98225c51bc6dd304b5c1ac89035etef/neutron/ipam/subnet_alloc.py#L40-L44
** Affects: neutron
Importance: Undecided
Assignee: Cedric Brandily (cbrandily)
Status: New
** Tags: l3-ipam-dhcp
** Changed in: neutron
Assignee: (unassigned) => Cedric Brandily (cbrandily)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1451576
Title:
subnetpool allocation not ensuring non-overlapping cidrs
Status in OpenStack Neutron (virtual network service):
New
Bug description:
_get_allocated_cidrs[1] locks only allocated subnets in a subnetpool
(with mysql/postgresql at least) which ensures we won't allocate a
cidr overlapping with existent cidrs but nothing disallows a
concurrent subnet allocation to create a subnet in the same
subnetpool.
[1]:
https://github.com/openstack/neutron/blob/5962d825a6c98225c51bc6dd304b5c1ac89035etef/neutron/ipam/subnet_alloc.py#L40-L44
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1451576/+subscriptions
Follow ups
References