Properly handle shared storage in case of cold migrations
At the moment, if the destination host is other than the source
host, we attempt to move the instance files without checking if
shared storage is being used.
This change fixes this issue. In case of shared storage, we'll have
the same workflow as when the migration source is the migration
destination as well.
Closes-Bug: #1565895
Change-Id: I711976b42a5de5a28de22e010b48c10d96b68ba5
(cherry picked from commit 60c06bdd6fc006d6bff6840efdc8438de37f983d)
Reviewed: https:/ /review. openstack. org/305744 /git.openstack. org/cgit/ openstack/ compute- hyperv/ commit/ ?id=3d909a68f02 6fd1aa928010bdd e6355f6434d068
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 3d909a68f026fd1 aa928010bdde635 5f6434d068
Author: Lucian Petrut <email address hidden>
Date: Mon Apr 4 17:22:29 2016 +0300
Properly handle shared storage in case of cold migrations
At the moment, if the destination host is other than the source
host, we attempt to move the instance files without checking if
shared storage is being used.
This change fixes this issue. In case of shared storage, we'll have
the same workflow as when the migration source is the migration
destination as well.
Closes-Bug: #1565895
Change-Id: I711976b42a5de5 a28de22e010b48c 10d96b68ba5 6bff6840efdc843 8de37f983d)
(cherry picked from commit 60c06bdd6fc006d