Remove dest node allocations during live migration rollback
When a live migration fails or is cancelled, either during
pre_live_migration on the destination host or during the
actual live migration itself, we rollback from the failure/abort
by doing things like removing volume connections from the
destination host and re-setup the network on the source host.
As part of the rollback from a failed or cancelled live migration,
we also need to remove the allocations created in Placement for the
destination node, since the instance is not on the destination
node.
Reviewed: https:/ /review. openstack. org/507687 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f90c61cd88e dce74e3dbfd069b eb2c33793d3371
Committed: https:/
Submitter: Jenkins
Branch: master
commit f90c61cd88edce7 4e3dbfd069beb2c 33793d3371
Author: Matt Riedemann <email address hidden>
Date: Tue Sep 26 17:37:19 2017 -0400
Remove dest node allocations during live migration rollback
When a live migration fails or is cancelled, either during live_migration on the destination host or during the
pre_
actual live migration itself, we rollback from the failure/abort
by doing things like removing volume connections from the
destination host and re-setup the network on the source host.
As part of the rollback from a failed or cancelled live migration,
we also need to remove the allocations created in Placement for the
destination node, since the instance is not on the destination
node.
Change-Id: I7b70cf8d5233bd 25bf865a1b27896 40758493c2b
Closes-Bug: #1715182
Closes-Bug: #1714237