commit aba3f649323d328f8122d372dea38256dfed6a52
Author: Maciej Józefczyk <email address hidden>
Date: Tue Aug 8 15:37:26 2017 +0200
Remove host filter for _cleanup_running_deleted_instances periodic task
Periodic task _cleanup_running_deleted_instances() looks for orphaned
and running instances on hypervisor that should be deleted.
The problem is it checks if running instance has the same
hypervisor defined as it is in nova database.
In bug #1285000 it has been found that removing instance during
its migration could lead to abandon instance files on destination
host.
This change removes host filter in _running_deleted_instances() to
find also orphaned instances that are running on 'post migration'
destination host.
Reviewed: https:/ /review. openstack. org/491808 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=aba3f649323 d328f8122d372de a38256dfed6a52
Committed: https:/
Submitter: Jenkins
Branch: master
commit aba3f649323d328 f8122d372dea382 56dfed6a52
Author: Maciej Józefczyk <email address hidden>
Date: Tue Aug 8 15:37:26 2017 +0200
Remove host filter for _cleanup_ running_ deleted_ instances periodic task
Periodic task _cleanup_ running_ deleted_ instances( ) looks for orphaned
and running instances on hypervisor that should be deleted.
The problem is it checks if running instance has the same
hypervisor defined as it is in nova database.
In bug #1285000 it has been found that removing instance during
its migration could lead to abandon instance files on destination
host.
This change removes host filter in _running_ deleted_ instances( ) to
find also orphaned instances that are running on 'post migration'
destination host.
Change-Id: Idd1b58b85329b8 e021eba4bc27f57 7af1b3338f4
Partial-Bug: #1285000