← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** 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/1257514

Title:
  pool.waitall needed in dhcp-agent sync_state

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

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


References