]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes cinder volume from snapshot on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 10 Apr 2014 01:16:07 +0000 (04:16 +0300)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Sat, 21 Jun 2014 18:17:01 +0000 (21:17 +0300)
commit9026db874634a78b8cdd3abb45a75a37f6ededfe
tree21dc93a5cfd64ea6730bb1a464c690116c4ab664
parent1f6972f3fdfb87b09c03f3c2c7ab1870d90e0dc2
Fixes cinder volume from snapshot on Windows

When creating a volume from a snapshot on Windows, a shadow copy
volume is exported as an iSCSI disk. The issue is that this export
is readonly and cannot be mounted to instances.

As this export cannot be modified, to make the new volume usable,
the according image must be moved to a new path and imported .

Closes-Bug: #1306032

Change-Id: I3a936d30fdd7875059dc56c2681f453757c2605f
cinder/tests/windows/test_windows.py
cinder/volume/drivers/windows/windows.py
cinder/volume/drivers/windows/windows_utils.py