← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1451576] Re: subnetpool allocation not ensuring non-overlapping cidrs

 

Fix to this bugged is merged: https://review.openstack.org/#/c/187985/


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
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 neutron:
  Fix Released
Status in neutron kilo series:
  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


References