commit b03f548765faa2d5b609874506b714158d772d56
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/494974 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b03f548765f aa2d5b609874506 b714158d772d56
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit b03f548765faa2d 5b609874506b714 158d772d56
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