]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix unnecessary snap of glance image, with non-raw images
authorNilesh Bhosale <nilesh.bhosale@in.ibm.com>
Sat, 30 Aug 2014 00:06:33 +0000 (05:36 +0530)
committerNilesh Bhosale <nilesh.bhosale@in.ibm.com>
Sun, 31 Aug 2014 03:18:37 +0000 (08:48 +0530)
commit9710357f246e670bd3cacb153cae245941362c54
treeae45b1daa9e645251583f1f44a8596b8f892fcdf
parent9ba3603d8f2cf33b33265012b2cb2480eba7b35a
Fix unnecessary snap of glance image, with non-raw images

When the glance image format is not raw, the glance image stored on
GPFS should not be snapped. Because, we copy the image to cinder volume
repository converting the image format to 'raw'. So, no copy_on_write
is supported.

Change-Id: I9cc3ffb2f36b65876b05ecb9f4654461be4516b7
Closes-Bug: #1378964
cinder/tests/test_gpfs.py
cinder/volume/drivers/ibm/gpfs.py