Catch DBReferenceError exception during binding a router
In some cases (Concurrent API tests) router can be deleted
before it is bound to an agent by scheduler.
That may lead to traces on L3 agent side returned via RPC.
Need to handle this case in more graceful way.
Reviewed: https:/ /review. openstack. org/135011 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e0e8a2e9e81 c2f6293eaa8556c 5ecdac910358cb
Committed: https:/
Submitter: Jenkins
Branch: master
commit e0e8a2e9e81c2f6 293eaa8556c5ecd ac910358cb
Author: Eugene Nikanorov <email address hidden>
Date: Mon Nov 17 20:49:09 2014 +0400
Catch DBReferenceError exception during binding a router
In some cases (Concurrent API tests) router can be deleted
before it is bound to an agent by scheduler.
That may lead to traces on L3 agent side returned via RPC.
Need to handle this case in more graceful way.
Change-Id: Ic52c26ace7f32a 615150bd6098b24 4ae0b98250c
Closes-Bug: #1385257