func: Introduce a server_expected_state kwarg to InstanceHelperMixin._live_migrate
Useful when testing live migration failures that leave the server in an
non ACTIVE state. This change also renames the migration_final_status
arg to migration_expected_state within the method to keep it in line
with _create_server.
NOTE(artom): This is to facilitate subsequent backports of live
migration regression tests and bug fixes.
Partial-Bug: #1628606
Change-Id: Ie0852a89fc9423a92baa7c29a8806c0628cae220
(cherry picked from commit e70ddd621cb59a8845a4241387d8a49e443b7b69)
(cherry picked from commit 2b0cf8edf88c5f81696d72b04098aa12d1137e90)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /865382 /opendev. org/openstack/ nova/commit/ 186db1751080eff e0c674434bcd2c8 1b81ab8838
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 186db1751080eff e0c674434bcd2c8 1b81ab8838
Author: Lee Yarwood <email address hidden>
Date: Wed Jul 29 10:51:34 2020 +0100
func: Introduce a server_ expected_ state kwarg to InstanceHelperM ixin._live_ migrate
Useful when testing live migration failures that leave the server in an final_status expected_ state within the method to keep it in line
non ACTIVE state. This change also renames the migration_
arg to migration_
with _create_server.
NOTE(artom): This is to facilitate subsequent backports of live
migration regression tests and bug fixes.
Partial-Bug: #1628606
Change-Id: Ie0852a89fc9423 a92baa7c29a8806 c0628cae220 845a4241387d8a4 9e443b7b69) 1696d72b04098aa 12d1137e90)
(cherry picked from commit e70ddd621cb59a8
(cherry picked from commit 2b0cf8edf88c5f8