]> 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)
committerKyle Mestery <mestery@mestery.com>
Tue, 7 Oct 2014 16:03:14 +0000 (16:03 +0000)
commit6e79981b7caadbbbb2119461034dfe7b4d1c1a64
tree5f658c582c50e66303f1a430c7d1123c36d7b45a
parent205162f58050fcb94db53cd51b674d2093dfe700
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
(cherry picked from commit e7f0b56d74fbfbb08a3b7a0d2da4cefb6fe2aa67)
neutron/agent/l3_agent.py
neutron/tests/unit/test_l3_agent.py