[openstack-dev] [OpenStack-dev][neutron] dhcp scheduler should stop the redundant agents

Yangxurong yangxurong at huawei.com
Wed Jul 9 00:52:56 UTC 2014


Hi, folks,

we initiate the counter of dhcp agents between active host and cfg.CONF.dhcp_agents_per_network, suppose that we start dhcp agents correctly, then some dhcp agents are down(host down or kill the dhcp-agent), during this period, we will reschedule and recover the normal dhcp agents. but when down dhcp agents restart, some dhcp agents are redundant.

if len(dhcp_agents) >= agents_per_network:
                                    LOG.debug(_('Network %s is hosted already'),
                                    network['id'])
                                    return

IMO, we need stop the redundant agents In above case.
I have reported a bug: https://bugs.launchpad.net/neutron/+bug/1338938
So, any thoughts?

Thanks,
XuRong Yang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140709/411f7558/attachment.html>


More information about the OpenStack-dev mailing list