9dc70ed77e
When we manually move a router from one dvr_snat node to another dvr_snat node the snat_namespace should be removed in the originating node by the agent and will be re-created in the destination node by the destination agent. But when the agent dies, the router_update message reaches the agent after the agent restarts. At this time the agent should remove the snat_namespace since it is no more hosted by the current agent. Even though we do have logic in agent to take care of cleaning up the snat namespaces if the gw_port_host does not match with the existing agent host, in this particular use case the self.snat_namespace is always set to 'None' in the dvr_edge_router init call when agent restarts. This patch fixes the above issue by initializing the snat namespace object during the router_init. Since we do have a valid snat namespace object and if the gw_port_host mismatches, the agent should clean up the namespace. Change-Id: I30524dc77b743429ef70941479c9b6cccb21c23c Closes-Bug: #1557909 |
||
---|---|---|
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
openstack-common.conf | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Welcome!
You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!
External Resources:
The homepage for Neutron is: http://launchpad.net/neutron. Use this site for asking for help, and filing bugs. Code is available on git.openstack.org at <http://git.openstack.org/cgit/openstack/neutron>.
The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:
- Neutron Administrator Guide
- Networking Guide
- Neutron API Reference:
-
http://docs.openstack.org/api/openstack-network/2.0/content/
- Current Neutron developer documentation is available at:
For help on usage and hacking of Neutron, please send mail to <mailto:openstack-dev@lists.openstack.org>.
For information on how to contribute to Neutron, please see the contents of the CONTRIBUTING.rst file.