]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Tune up report and downtime intervals for l2 agent
authorarmando-migliaccio <amigliaccio@nicira.com>
Fri, 1 Nov 2013 22:47:22 +0000 (15:47 -0700)
committerarmando-migliaccio <amigliaccio@nicira.com>
Thu, 14 Nov 2013 16:16:44 +0000 (08:16 -0800)
commit291048aba2fcaec8afee3011fb4c12c6ca0ebbba
treee6264e35c19328a387a3710a397bd60e1b86ffb6
parent54d79acaab50993f08b50f21019f82f17d38caa3
Tune up report and downtime intervals for l2 agent

If the neutron server erroneously thinks than the l2 agent is down
it will fail to bind a port, which can lead to VM's spawn errors.
However, the issue is only transient because the agent effectively
is only 'late' in reporting back.

Best solution would be an alpha-count algorithm (so that we can detect
persistent failures more reliably), but for now let's be more tolerant
assuming that the agent is down by waiting at least twice the report
interval plus a tiny teeny bit.

Change-Id: I544135ce1f6b7eaefb34ac44af8f5844d92ddd95
Close-bug: #1244255
etc/neutron.conf
neutron/agent/common/config.py
neutron/db/agents_db.py