neutron/neutron/tests
venkata anil 3e1ed94e38 Avoid router ri.process if initialize() fails
When router_info initialize() fails(with trace) some resources(
like keepalived process) may not be created. While handling this
exception, l3 agent calls _process_updated_router instead of
again calling _process_added_router, which also fails trying to
access resources which are not created.

In this change, agent will have new router_info(i.e
self.router_info[router_id] = ri) only when initialize() succeeds.
When initialize() fails, as router_info is not part of agent,
"_process_router_if_compatible" will again call initialize().
We also cleanup router_info when initialize() fails.

Closes-bug: #1662804
Change-Id: I278ac83de57713c93d6e50846d79034d774c5d47
2017-03-28 06:42:32 +00:00
..
common Merge "Switch RootHelperProcess from select.poll to select.select" 2017-03-21 08:13:32 +00:00
contrib Merge "devstack: switch to new NEUTRON_* variables" 2017-03-21 13:17:11 +00:00
etc Pecan: Get loaded by paste deploy 2017-02-17 14:54:27 -06:00
fullstack Render service plugins configurable 2017-03-15 08:55:29 +00:00
functional Merge "Don't return null-byte separated string from ExternalProcess.cmdline()" 2017-03-20 23:41:08 +00:00
retargetable Spin off context module 2017-03-06 16:25:29 +00:00
tempest On update_tags, clean up tags from the requested resource only 2017-03-15 15:11:12 +00:00
unit Avoid router ri.process if initialize() fails 2017-03-28 06:42:32 +00:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Merge "Use plugin directory fixture" 2017-01-28 06:17:10 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Decouple hook and func registration from CommonDbMixin 2017-03-11 18:04:11 -05:00