]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Retry getting the list of service plugins
authorDerek Higgins <derekh@redhat.com>
Fri, 12 Sep 2014 15:31:44 +0000 (16:31 +0100)
committerDerek Higgins <derekh@redhat.com>
Tue, 23 Sep 2014 13:02:30 +0000 (14:02 +0100)
commite7f0b56d74fbfbb08a3b7a0d2da4cefb6fe2aa67
tree8ec2eea36d455a6673b57fad99ad45ccf6768d22
parent01c0ecb49e8885d8fe004c834422588ba3a7e314
Retry getting the list of service plugins

On systems that start both neutron-server and neutron-l3-agent together,
there is a chance that the first call to neutron will timeout. Retry upto
4 more times to avoid the l3 agent exiting on startup.

This should make the l3 agent a little more robust on startup but still
not ideal, ideally it wouldn't exit and retry periodically.

Change-Id: I2171a164f3f77bccd89895d73c1c8d67f7190488
Closes-Bug: #1353953
Closes-Bug: #1368152
Closes-Bug: #1368795
neutron/agent/l3_agent.py
neutron/tests/unit/test_l3_agent.py