vm live migration not working when port is admin down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned | ||
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
having a vm with a provider network port that has it's status set to "admin down" won't let this vm migrate successfully. the source compute host will abort the migration with the following message:
Timed out waiting for events: [('network-
setting the port admin status up and re-running the life migration let the vm successfully complete. Therefore the logic for the live_migration_
Environment:
- Ubuntu 20.04.5 with Cloud Archive Repositories in version 19.4.0-
- Using ML2 with OVS on physical provider network
Hello do3meli:
This configuration parameter "live_migration _wait_for_ vif_plug" belongs to Nova. If you check the documentation, that parameter will tell Nova if it needs to wait (and how long) or not for the "vif-plugged- event", sent by Neutron.
When using ML2/OVS, if the port admin status is set to down, the agent reports it as DOWN and the Neutron server doesn´t send the expected "vif-plugged- event".
This is not a Neutron bug but something that should be documented in the Nova documentation.
Regards.