← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1827771] [NEW] Network won't be synced when create a new network node

 

Public bug reported:

If we have some networks(with dhcp enabled subnets) created, when we want to create a new network 
nodes, and the dhcp-agent hasn't been started before in that node. If we start dhcp-agent,
sometimes the network resource won't be synced in this nodes, no network related ns and dnsmasq
process created. The root cause is the function _report_state and sync_state are almost executed
at the same time, if _report_state executed first, everything is fine, but if sync_state executed
first, no network resource will be allocated.

L3-agent will do report_state before resource sync, so there is no
problem with router resources.

** Affects: neutron
     Importance: Undecided
     Assignee: Yang Li (yang-li)
         Status: In Progress

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

Title:
  Network won't be synced when create a new network node

Status in neutron:
  In Progress

Bug description:
  If we have some networks(with dhcp enabled subnets) created, when we want to create a new network 
  nodes, and the dhcp-agent hasn't been started before in that node. If we start dhcp-agent,
  sometimes the network resource won't be synced in this nodes, no network related ns and dnsmasq
  process created. The root cause is the function _report_state and sync_state are almost executed
  at the same time, if _report_state executed first, everything is fine, but if sync_state executed
  first, no network resource will be allocated.

  L3-agent will do report_state before resource sync, so there is no
  problem with router resources.

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