Comment 18 for bug 1285000

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/pike)

Reviewed: https://review.openstack.org/494973
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c95f00aebf905c5d9c9fd55a6247b4e0a52d0485
Submitter: Jenkins
Branch: stable/pike

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)