In order to support live migrating instances placed on Cluster
Shared Volumes, we must explicitly tell os-win whether disks will
be migrated or not, ensuring that the right live migration type
will be requested.
Otherwise, the live migration will fail, Hyper-V complaining that
it could not move the instance disks (although this operation would
not be necessary).
Note that this was not a problem with other forms of shared storage
(for example having instance files on a SMB share), in which case
Hyper-V automatically detects that shared storage is being used.
Reviewed: https:/ /review. openstack. org/380448 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=df7d68e9ac2 e5504db992f50b5 7ea450ae4741cb
Committed: https:/
Submitter: Zuul
Branch: master
commit df7d68e9ac2e550 4db992f50b57ea4 50ae4741cb
Author: Lucian Petrut <email address hidden>
Date: Fri Sep 30 19:52:08 2016 +0300
Hyper-V: fix live migration with CSVs
In order to support live migrating instances placed on Cluster
Shared Volumes, we must explicitly tell os-win whether disks will
be migrated or not, ensuring that the right live migration type
will be requested.
Otherwise, the live migration will fail, Hyper-V complaining that
it could not move the instance disks (although this operation would
not be necessary).
Note that this was not a problem with other forms of shared storage
(for example having instance files on a SMB share), in which case
Hyper-V automatically detects that shared storage is being used.
Change-Id: Ic1949d48fe0de7 3a3de9417bc8462 051e702a298
Partial-Bug: #1565895