While resizing/revert-resizing instance, if instance gets deleted
in between, then instance files remains either on the source or
destination compute node.
To address this issue, added a new periodic task
'_cleanup_incomplete_migrations' which takes care of deleting
instance files from source/destination compute nodes and then
mark migration record as failed so that it doesn't appear again
in the next periodic task run.
Reviewed: https:/ /review. openstack. org/219301 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=fa72fb8b51d 59e04913c871539 cee98a3da79058
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit fa72fb8b51d59e0 4913c871539cee9 8a3da79058
Author: Rajesh Tailor <email address hidden>
Date: Wed Mar 4 05:05:19 2015 -0800
Delete orphaned instance files from compute nodes
While resizing/ revert- resizing instance, if instance gets deleted
in between, then instance files remains either on the source or
destination compute node.
To address this issue, added a new periodic task incomplete_ migrations' which takes care of deleting
'_cleanup_
instance files from source/destination compute nodes and then
mark migration record as failed so that it doesn't appear again
in the next periodic task run.
Conflicts: compute/ manager. py tests/unit/ compute/ test_compute_ mgr.py
nova/
nova/
SecurityImpact f907921f4b226ed f7b62bd83a7 553daf7a92f22cc e4dc0ca013)
Closes-Bug: 1392527
Change-Id: I9866d8e32e99b9
(cherry picked from commit 18d6b5cc79973fc