If the configured instances dir is an UNC path such as
\\ip\share\instances_dir, the HyperV driver fails to query the available
disk size, as it expects a path containing a drive letter.
Also, when attempting to move instance files during live migrations, it
will incorrectly try to build the remote path.
This change addresses those issues and is part of a bigger series,
attempting to fix HyperV shared storage related issues.
Reviewed: https:/ /review. openstack. org/347436 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b48ed5217ae baa1f0dd8bc7b3d d0257920e17d22
Committed: https:/
Submitter: Jenkins
Branch: master
commit b48ed5217aebaa1 f0dd8bc7b3dd025 7920e17d22
Author: Lucian Petrut <email address hidden>
Date: Thu Jun 16 11:41:20 2016 +0300
Hyper-V: properly handle UNC instance paths
If the configured instances dir is an UNC path such as share\instances _dir, the HyperV driver fails to query the available
\\ip\
disk size, as it expects a path containing a drive letter.
Also, when attempting to move instance files during live migrations, it
will incorrectly try to build the remote path.
This change addresses those issues and is part of a bigger series,
attempting to fix HyperV shared storage related issues.
Change-Id: Ibdb9f7038bf507 8867d64aef7fc63 974ed8482af
Partial-Bug: #1565895