Comment 7 for bug 1583284

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

Reviewed: https://review.openstack.org/351072
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=76f1d60be87f629d898123756480312055547bd0
Submitter: Jenkins
Branch: stable/mitaka

commit 76f1d60be87f629d898123756480312055547bd0
Author: Lee Yarwood <email address hidden>
Date: Wed May 18 17:11:16 2016 +0100

    compute: Skip driver detach calls for non local instances

    Only call for a driver detach from a volume if the instance is currently
    associated with the local compute host. This avoids potential virt
    driver and volume backend issues when attempting to disconnect from
    volumes that have never been connected to from the current host.

    NOTE(lyarwood): Test conflict caused by the mox to mock migration in
    I8d4d8a. As a result test_rebuild_on_remote_host_with_volumes remains a
    mox based test.

    Conflicts:
     nova/tests/unit/compute/test_compute.py

    Closes-Bug: #1583284
    Change-Id: I36b8532554d75b24130f456a35acd0be838b62d6
    (cherry picked from commit fdf3328107e53f1c5578c2e4dfbad78d832b01c6)