Reviewed: https://review.opendev.org/c/openstack/nova/+/836147 Committed: https://opendev.org/openstack/nova/commit/8670ca8bb290d7b434437ebf6c65d2e396498df8 Submitter: "Zuul (22348)" Branch: stable/xena
commit 8670ca8bb290d7b434437ebf6c65d2e396498df8 Author: Alexey Stupnikov <email address hidden> Date: Mon Mar 7 16:57:39 2022 +0100
Clean up when queued live migration aborted
This patch solves bug #1949808 and bug #1960412 by tuning live_migration_abort() function and adding calls to:
- remove placement allocations for live migration; - remove INACTIVE port bindings against destination compute node; - restore instance's state.
Related unit test was adjusted and related functional tests were fixed.
Closes-bug: #1949808 Closes-bug: #1960412 Change-Id: Ic97eff86f580bff67b1f02c8eeb60c4cf4181e6a (cherry picked from commit 219520d9cec6a204e0d0f75881d75c8db48e7f56)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /836147 /opendev. org/openstack/ nova/commit/ 8670ca8bb290d7b 434437ebf6c65d2 e396498df8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 8670ca8bb290d7b 434437ebf6c65d2 e396498df8
Author: Alexey Stupnikov <email address hidden>
Date: Mon Mar 7 16:57:39 2022 +0100
Clean up when queued live migration aborted
This patch solves bug #1949808 and bug #1960412 by tuning migration_ abort() function and adding calls to:
live_
- remove placement allocations for live migration;
- remove INACTIVE port bindings against destination compute node;
- restore instance's state.
Related unit test was adjusted and related functional tests were
fixed.
Closes-bug: #1949808 f67b1f02c8eeb60 c4cf4181e6a 4e0d0f75881d75c 8db48e7f56)
Closes-bug: #1960412
Change-Id: Ic97eff86f580bf
(cherry picked from commit 219520d9cec6a20