← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257514] [NEW] pool.waitall needed in dhcp-agent sync_state

 

Public bug reported:

While debugging an issue in the dhcp-agent, I noticed that it was
difficult to determine when sync_state completes.  I would like to add
the following pool.waitall and LOG message to the sync_state method.

for network in active_networks:
    pool.spawn_n(self.safe_configure_dhcp_for_network, network)
pool.waitall()
LOG.info(_('Synchronizing state complete'))

** Affects: neutron
     Importance: Undecided
     Assignee: Ed Bak (ed-bak2)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Ed Bak (ed-bak2)

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

Title:
  pool.waitall needed in dhcp-agent sync_state

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  While debugging an issue in the dhcp-agent, I noticed that it was
  difficult to determine when sync_state completes.  I would like to add
  the following pool.waitall and LOG message to the sync_state method.

  for network in active_networks:
      pool.spawn_n(self.safe_configure_dhcp_for_network, network)
  pool.waitall()
  LOG.info(_('Synchronizing state complete'))

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


Follow ups

References