← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1335226] [NEW] ML2 ensure_port_binding may be prone to race condition

 

Public bug reported:

During method ensure_port_binding as of master:

https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/db.py#L59

A port can be retrieved, and if not available then created. This may be
prone to reference constraint failures in highly concurrent
environments.

** Affects: neutron
     Importance: Undecided
     Assignee: Armando Migliaccio (armando-migliaccio)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Armando Migliaccio (armando-migliaccio)

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

Title:
  ML2 ensure_port_binding may be prone to race condition

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  During method ensure_port_binding as of master:

  https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/db.py#L59

  A port can be retrieved, and if not available then created. This may
  be prone to reference constraint failures in highly concurrent
  environments.

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


Follow ups

References