← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1194566] Re: Race condition exists for ip uniqueness

 

Oops - I missed the composite primary key on IPAllocation.

** Changed in: quantum
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1194566

Title:
  Race condition exists for ip uniqueness

Status in OpenStack Quantum (virtual network service):
  Invalid

Bug description:
  The ip uniqueness check is being done in code
  (https://github.com/openstack/quantum/blob/master/quantum/db/db_base_plugin_v2.py#L537)
  without explicit locking, which opens the door to a race condition if
  multiple requests try to secure the same ip.

  
  It probably makes sense to move the check into a uniqueness constraint on the model.

To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1194566/+subscriptions