3e1ed94e38
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 |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: http://docs.openstack.org
- Features: http://specs.openstack.org/openstack/neutron-specs
- Defects: http://launchpad.net/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst