← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1659919] [NEW] dhcp agent race with port update and network create

 

Public bug reported:

Root cause analysis of http://logs.openstack.org/01/410501/5/gate/gate-
tempest-dsvm-neutron-full-ubuntu-xenial/3f7b603/ race condition:

* shows that port for VM did not go to ACTIVE because DHCP agent didn't notify server that it setup the DHCP reservation.
* DHCP agent didn't setup the reservation because it didn't have the network in its cache yet when it received the port update but it had already started wiring the network in another thread
* the port didn't exist on the server when the network setup thread asked the server for all ports on the network


So fix is that port_update needs to acquire network lock even if network doesn't appear to be in cache.

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: In Progress


** Tags: gate-failure

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  dhcp agent race with port update and network create

Status in neutron:
  In Progress

Bug description:
  Root cause analysis of http://logs.openstack.org/01/410501/5/gate
  /gate-tempest-dsvm-neutron-full-ubuntu-xenial/3f7b603/ race condition:

  * shows that port for VM did not go to ACTIVE because DHCP agent didn't notify server that it setup the DHCP reservation.
  * DHCP agent didn't setup the reservation because it didn't have the network in its cache yet when it received the port update but it had already started wiring the network in another thread
  * the port didn't exist on the server when the network setup thread asked the server for all ports on the network

  
  So fix is that port_update needs to acquire network lock even if network doesn't appear to be in cache.

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


Follow ups