]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Catch exceptions in router rescheduler
authorKevin Benton <blak111@gmail.com>
Tue, 30 Sep 2014 02:33:06 +0000 (19:33 -0700)
committerKevin Benton <blak111@gmail.com>
Tue, 14 Oct 2014 09:16:16 +0000 (02:16 -0700)
commit79f1e8a9c1f308586077483d849e66dcdc83144f
tree996aa2cdf8335d34f9721525304a5d408f8c8c5e
parentdd238d0aac25ffec2734c75a7f893040ec42eb7b
Catch exceptions in router rescheduler

Catch and log exceptions in router rescheduling loop
rather than just dying which would stop all future
router rescheduling attempts.

This prevents transient DB connectivity issues from
permanently breaking the rescheduler until the process
restarts.

Closes-Bug: #1375597
Change-Id: I2ab37847074fa6bbdd2b13fd03b8742996dcfc78
neutron/db/l3_agentschedulers_db.py
neutron/tests/unit/openvswitch/test_agent_scheduler.py