[openstack-dev] [Neutron] DHCP Agent Reliability

Stephen Gran stephen.gran at theguardian.com
Tue Dec 3 16:47:16 UTC 2013

On 03/12/13 16:08, Maru Newby wrote:
> I've been investigating a bug that is preventing VM's from receiving IP addresses when a Neutron service is under high load:
> https://bugs.launchpad.net/neutron/+bug/1192381
> High load causes the DHCP agent's status updates to be delayed, causing the Neutron service to assume that the agent is down.  This results in the Neutron service not sending notifications of port addition to the DHCP agent.  At present, the notifications are simply dropped.  A simple fix is to send notifications regardless of agent status.  Does anybody have any objections to this stop-gap approach?  I'm not clear on the implications of sending notifications to agents that are down, but I'm hoping for a simple fix that can be backported to both havana and grizzly (yes, this bug has been with us that long).
> Fixing this problem for real, though, will likely be more involved.  The proposal to replace the current wsgi framework with Pecan may increase the Neutron service's scalability, but should we continue to use a 'fire and forget' approach to notification?  Being able to track the success or failure of a given action outside of the logs would seem pretty important, and allow for more effective coordination with Nova than is currently possible.

It strikes me that we ask an awful lot of a single neutron-server 
instance - it has to take state updates from all the agents, it has to 
do scheduling, it has to respond to API requests, and it has to 
communicate about actual changes with the agents.

Maybe breaking some of these out the way nova has a scheduler and a 
conductor and so on might be a good model (I know there are things 
people are unhappy about with nova-scheduler, but imagine how much worse 
it would be if it was built into the API).

Doing all of those tasks, and doing it largely single threaded, is just 
asking for overload.

Stephen Gran
Senior Systems Integrator - theguardian.com
Please consider the environment before printing this email.
Visit theguardian.com   

On your mobile, download the Guardian iPhone app theguardian.com/iphone and our iPad edition theguardian.com/iPad   
Save up to 33% by subscribing to the Guardian and Observer - choose the papers you want and get full digital access.
Visit subscribe.theguardian.com

This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.
Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.
Guardian News & Media Limited
A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
Registered in England Number 908396


More information about the OpenStack-dev mailing list