commit c95f00aebf905c5d9c9fd55a6247b4e0a52d0485
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: Idd1b58b85329b8e021eba4bc27f577af1b3338f4
Partial-Bug: #1285000
(cherry picked from commit aba3f649323d328f8122d372dea38256dfed6a52)
Reviewed: https:/ /review. openstack. org/494973 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c95f00aebf9 05c5d9c9fd55a62 47b4e0a52d0485
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit c95f00aebf905c5 d9c9fd55a6247b4 e0a52d0485
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 f8122d372dea382 56dfed6a52)
Partial-Bug: #1285000
(cherry picked from commit aba3f649323d328