Comment 8 for bug 1546110

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/kilo)

Reviewed: https://review.openstack.org/297067
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2b6c5f0eba65a247c35e07b2c6b614577daf3af2
Submitter: Jenkins
Branch: stable/kilo

commit 2b6c5f0eba65a247c35e07b2c6b614577daf3af2
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:
     neutron/db/agentschedulers_db.py
     neutron/db/l3_agentschedulers_db.py
     neutron/tests/unit/scheduler/test_dhcp_agent_scheduler.py

    Closes-Bug: #1546110
    Change-Id: Id48e899a5b3d906c6d1da4d03923bdda2681cd92
    (cherry picked from commit b6ec40cbf754de9d189f843cbddfca67d4103ee3)
    (cherry picked from commit 48a61967184a94d12a22319789b42b3ea6bebf5e)