neutron/neutron/tests/unit
Assaf Muller d11e9cb550 Force L3 agent to resync router it could not configure
If the L3 agent fails to configure a router, commit:
4957b5b435 changed it so
that instead of performing an expensive full sync, only that
router is reconfigured. However, it tries to reconfigure the
cached router. This is a change of behavior from the fullsync
days. The retry is more likely to succeed if the
router is retrieved from the server, instead of using
the locally cached version, in case the user or operator
fixed bad input, or if the router was retrieved in a bad
state due to a server-side race condition.

Note that this is only relevant to full syncs, as those retrieve
routers from the server and queue updates with the router object.
Incremental updates queue up updates without router objects,
so if one of those fails it would always be resynced on a
second attempt.

Related-Bug: #1494682
Change-Id: Id0565e11b3023a639589f2734488029f194e2f9d
(cherry picked from commit 822ad5f06b)
2015-12-23 11:21:52 -05:00
..
agent Force L3 agent to resync router it could not configure 2015-12-23 11:21:52 -05:00
api Avoid race condition for reserved DHCP ports 2015-11-27 12:42:53 +00:00
callbacks Improve callback registry devref documentation and usability 2015-08-12 10:15:07 -07:00
cmd Fix import path in neutron-sanity-check for ml2_sriov opts 2015-09-01 04:16:01 +00:00
common /common/utils.py py34 incompatibility 2015-10-02 09:26:08 -07:00
core_extensions QoS core extension: fixed dict extension when QoS policy is unset 2015-08-08 15:44:27 +02:00
db Merge "DVR:don't reschedule the l3 agent running on compute node" into stable/liberty 2015-12-09 13:08:01 +00:00
debug Reorganize unit test tree 2015-04-06 23:28:31 +00:00
extensions Validate ethertype for icmp protocols 2015-11-14 08:41:01 +01:00
hacking Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
ipam Add the missing arg of RetryRequest exception in _lock_subnetpool 2015-11-27 13:11:00 +00:00
notifiers Merge "Revert "Revert "Add VIF_DELETED notification event to Nova""" 2015-08-12 18:05:47 +00:00
objects No network devices on network attached qos policies 2015-09-16 15:11:04 +02:00
plugins Merge "Batch db segment retrieval" into stable/liberty 2015-12-18 03:02:29 +00:00
quota Reduce the chance of random check/gate test failures 2015-09-09 14:45:16 -07:00
scheduler Tune _get_candidates for faster scheduling in dvr 2015-12-16 13:28:53 +03:00
services Get rid of ConfigParser code in ProviderConfiguration 2015-09-21 10:55:56 -07:00
tests Merge "Different approach to indicate failure on SystemExit" 2015-07-16 06:57:16 +00:00
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
_test_extension_portbindings.py Context: Remove logic for read_deleted and deprecate it 2015-06-09 13:50:03 -07:00
dummy_plugin.py Remove lingering traces of q_ 2015-07-07 17:04:44 -04:00
extension_stubs.py Remove get_namespace from API extensions 2015-06-15 09:17:32 -04:00
test_auth.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_context.py Support Unicode request_id on Python 3 2015-12-14 09:02:34 +01:00
test_manager.py Flavor Framework implementation 2015-07-16 09:07:41 -07:00
test_policy.py Mock oslo policy HTTPCheck instead of urllib 2015-10-13 17:26:23 +02:00
test_service.py Refactor TestRpcWorker and TestWorkerService 2015-06-16 15:49:48 +03:00
test_wsgi.py Enable most unit tests for py34 job 2015-09-04 08:30:22 +00:00
testlib_api.py Improve fixture usage. 2015-07-01 14:53:48 +12:00