91f0864dc0
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. Closes-Bug: #1988199 Change-Id: I50091c84e67c172c94ce9140f23235421599185c
9 lines
378 B
YAML
9 lines
378 B
YAML
---
|
|
features:
|
|
- |
|
|
After the port is considered as provisioned, the Nova port binding update
|
|
could have not been received, leaving the port as not bound. Now the
|
|
port provisioning method has an active wait that will retry several times,
|
|
waiting for the port binding update. If received, the port status will be
|
|
set as active if the admin state flag is set.
|