When compute service restart during a live-migration,
we lose live-migration monitoring thread. In that case
it is better to early abort live-migration job before resetting
state of instance, this will avoid API to accept further
action while unmanaged migration process still run in background.
It also avoid unexpected/dangerous behavior as describe in related bug.
Reviewed: https:/ /review. opendev. org/678016 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ebcf6e4ce57 6285949c5a202f2 d7d21dc03156ef
Committed: https:/
Submitter: Zuul
Branch: master
commit ebcf6e4ce576285 949c5a202f2d7d2 1dc03156ef
Author: Alexandre Arents <email address hidden>
Date: Tue Aug 20 13:37:33 2019 +0000
Abort live-migration during instance_init
When compute service restart during a live-migration, dangerous behavior as describe in related bug.
we lose live-migration monitoring thread. In that case
it is better to early abort live-migration job before resetting
state of instance, this will avoid API to accept further
action while unmanaged migration process still run in background.
It also avoid unexpected/
Change-Id: Idec2d31cbba497 dc4b20912f3388a d2341951d23
Closes-Bug: #1753676