At the moment, when live migration is requested, we attempt to
copy the instance dvd disks and log files to the remote location,
other instance files being transparently copied by Hyper-V.
The issue is that we don't check whether shared storage is being
used, in which case this will fail.
This change adds this check.
Closes-Bug: #1565895
Change-Id: Ib646c90c830a1cd0e5401d14c6d400226b034f73
(cherry picked from commit ba2b0bbda58228e81c163c0b7cfef29cfaf13314)
Reviewed: https:/ /review. openstack. org/323741 /git.openstack. org/cgit/ openstack/ compute- hyperv/ commit/ ?id=7dcfd8c6a25 7ec54b97148ab87 f0d7b966323761
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 7dcfd8c6a257ec5 4b97148ab87f0d7 b966323761
Author: Lucian Petrut <email address hidden>
Date: Fri May 27 13:37:22 2016 +0300
Fix live migration with shared storage
At the moment, when live migration is requested, we attempt to
copy the instance dvd disks and log files to the remote location,
other instance files being transparently copied by Hyper-V.
The issue is that we don't check whether shared storage is being
used, in which case this will fail.
This change adds this check.
Closes-Bug: #1565895
Change-Id: Ib646c90c830a1c d0e5401d14c6d40 0226b034f73 81c163c0b7cfef2 9cfaf13314)
(cherry picked from commit ba2b0bbda58228e