Bodo Petermann
bd0d2ae6f1
Fix concurrent port binding activate
Fix an issue with concurrent requests to activate a port binding. If there are two activate requests in parallel, one might set the binding on the new host to active and the other request may not find the previously INACTIVE row anymore in _commit_port_binding and initializing the driver_context.PortContext crashed. Closes-Bug: #1986003 Change-Id: I047e33062bc38f36848e0149c6e670cb5828c8e3 (cherry picked from commit 5b4ed5b117f2f418d598af20744f571db581e2ae)
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.
Description
Languages
Python
99.7%
Shell
0.3%