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.
Reviewed: https:/ /review. openstack. org/351072 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=76f1d60be87 f629d8981237564 80312055547bd0
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 76f1d60be87f629 d89812375648031 2055547bd0
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 on_remote_ host_with_ volumes remains a
I8d4d8a. As a result test_rebuild_
mox based test.
Conflicts: tests/unit/ compute/ test_compute. py
nova/
Closes-Bug: #1583284 24130f456a35acd 0be838b62d6 c5578c2e4dfbad7 8d832b01c6)
Change-Id: I36b8532554d75b
(cherry picked from commit fdf3328107e53f1