neutron/releasenotes
Rodolfo Alonso Hernandez 2d2d650a20 Add an active wait during the port provisioning event
In ML2/OVN, during a live-migration process, it could
happend that the port provisioning event is received before
the port binding has been updated. That means the port has
been created in the destination host and the event received
(this event will remove any pending provisioning block). But
the Nova port binding request has not arrived yet, updating
the port binding registers. Because the port is considered
"not bound" (yet), the port provisioning doesn't set the port
status to ACTIVE.

This patch creates an active wait during the port provisioning
event method. If the port binding is still "unbound", the method
retries the port retrieval several times, giving some time to the
port binding request from Nova to arrive.

Conflicts:
    neutron/plugins/ml2/plugin.py

Closes-Bug: #1988199
Change-Id: I50091c84e67c172c94ce9140f23235421599185c
(cherry picked from commit 91f0864dc0)
2022-09-01 16:11:17 +02:00
..
notes Add an active wait during the port provisioning event 2022-09-01 16:11:17 +02:00
source remove unicode from code 2021-12-24 10:02:03 +08:00