← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1194565] Re: Race condition exists for mac uniqueness

 

** Changed in: neutron
       Status: Fix Committed => 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/1194565

Title:
  Race condition exists for mac uniqueness

Status in OpenStack Neutron (virtual network service):
  Fix Released

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

  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/neutron/+bug/1194565/+subscriptions