bd0d2ae6f1
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 5b4ed5b117
)
11 lines
501 B
YAML
11 lines
501 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`1986003 <https://bugs.launchpad.net/neutron/+bug/1986003>`_
|
|
Fixed an issue with concurrent requests to activate the same port binding
|
|
where one of the requests returned a 500 Internal Server Error.
|
|
With the fix one request will return successfully and the other will
|
|
return a 409 Conflict (Binding already active).
|
|
This fixes errors in nova live-migrations where those concurrent requests
|
|
might be sent. Nova handles the 409/Conflict response gracefully.
|