Reviewed: https://review.opendev.org/c/openstack/nova/+/841736 Committed: https://opendev.org/openstack/nova/commit/750b3640c2fc05b8a5183804cf15d90a7ebd9e8f Submitter: "Zuul (22348)" Branch: stable/wallaby
commit 750b3640c2fc05b8a5183804cf15d90a7ebd9e8f 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) (cherry picked from commit 8670ca8bb290d7b434437ebf6c65d2e396498df8)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /841736 /opendev. org/openstack/ nova/commit/ 750b3640c2fc05b 8a5183804cf15d9 0a7ebd9e8f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 750b3640c2fc05b 8a5183804cf15d9 0a7ebd9e8f
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) 434437ebf6c65d2 e396498df8)
Closes-bug: #1960412
Change-Id: Ic97eff86f580bf
(cherry picked from commit 219520d9cec6a20
(cherry picked from commit 8670ca8bb290d7b