e6fb32e27d
When a HA router is created and the HA is not yet, before creating the router, the Neutron server creates the HA network and the corresponding subnet. The HA network cannot be duplicated (see previous patches related to this bug). But the subnet, that is created in another database transaction, cannot be present when the router creation call tries to create the HA port. This patch adds a HA subnet check before creating the router and the HA port. Even if the subnet check fails and the worker tries to create this subnet, if the process fails with ``InvalidInput``, that means other worker created the subnet before and the current one fails because tries to create the same subnet with the same CIDR. In this case, we dismiss the exception and continue with the router creation. Closes-Bug: #2016198 Change-Id: I82225fcc6248bb0fd68959ceb1daabff423d81ff |
||
---|---|---|
api-ref | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
roles | ||
tools | ||
vagrant/ovn | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
bindep.txt | ||
plugin.spec | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:
https://docs.openstack.org/neutron/latest/contributor/contributing.html
Get in touch via email. Use [Neutron] in your subject.