Move db query to fetch down bindings under try/except
In case of intermittent DB failures router and network auto-rescheduling
tasks may fail due to error on fetching down bindings from db.
Need to put this queries under try/except to prevent unexpected exit.
Reviewed: https:/ /review. openstack. org/297067 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2b6c5f0eba6 5a247c35e07b2c6 b614577daf3af2
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 2b6c5f0eba65a24 7c35e07b2c6b614 577daf3af2
Author: Oleg Bondarev <email address hidden>
Date: Tue Feb 16 18:03:52 2016 +0300
Move db query to fetch down bindings under try/except
In case of intermittent DB failures router and network auto-rescheduling
tasks may fail due to error on fetching down bindings from db.
Need to put this queries under try/except to prevent unexpected exit.
Conflicts: db/agentschedul ers_db. py db/l3_agentsche dulers_ db.py tests/unit/ scheduler/ test_dhcp_ agent_scheduler .py
neutron/
neutron/
neutron/
Closes-Bug: #1546110 6c6d1da4d03923b dda2681cd92 d189f843cbddfca 67d4103ee3) 12a22319789b42b 3ea6bebf5e)
Change-Id: Id48e899a5b3d90
(cherry picked from commit b6ec40cbf754de9
(cherry picked from commit 48a61967184a94d