]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes Windows Volume Driver upload volume fails
authorAdelina Tuvenie <atuvenie@cloudbasesolutions.com>
Fri, 5 Sep 2014 15:16:55 +0000 (18:16 +0300)
committerAdelina Tuvenie <atuvenie@cloudbasesolutions.com>
Thu, 11 Sep 2014 07:03:53 +0000 (10:03 +0300)
commitd790e899447f6871ca69a2def0f723ba404be1d9
tree3580057c34deaf572b6d462e437909a517f3d921
parent69b4cfd09c61da1ccd9c9587dcd043240bc3e9d0
Fixes Windows Volume Driver upload volume fails

The copy_volume_to_image requires in some cases an intermediary
conversion, which takes place in the configured image conversion
dir. If this folder is not created, the operation will fail.

This patch ensures that method will create the folder if it does
not exist.

Change-Id: I82b5e76c6d6f3114666f184672667dc3b95bab8b
Closes-Bug: #1356415
cinder/tests/windows/test_windows.py [changed mode: 0644->0755]
cinder/volume/drivers/windows/windows.py [changed mode: 0644->0755]