nova/releasenotes/notes/unplug-vifs-in-resize_instance-fcd98ea44e4b8725.yaml
Dat Le 66c7f00e1d Fix unplugging VIF when migrate/resize VM
When migrating/resizing VM to destination
host that has VIF type difference from source VIF
type, it fails due to exception in unplugging
VIF on source host after user perform a confirmation
action.

This change unplugs the vifs in resize_instance and
wraps the call to unplug in confirm with an try except
block. the call to unplug_vifs in confirm is not removed
to support rolling upgrades but a todo is added to remove
it after the Wallaby release.

Change-Id: I2c195df5fcf844c0587933b5b5995bdca1a3ebed
Closes-Bug: #1895220
2020-11-09 17:27:40 +00:00

13 lines
689 B
YAML

---
fixes:
- |
Support for cold migration and resize between hosts with different network backends
was previously incomplete. If the os-vif plugin for all network backends available
in the cloud are not installed on all nodes unplugging will fail during confirming
the resize. The issue is caused by the VIF unplug that happened during the resize
confirm action on the source host when the original backend information of the VIF
was not available. The fix moved the unplug to happen during the resize action
when such information is still available. See `bug #1895220`_ for more details.
.. _`bug #1895220`: https://bugs.launchpad.net/nova/+bug/1895220