]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GPFS convert glance image to raw only when needed
authorBill Owen <billowen@us.ibm.com>
Mon, 22 Jul 2013 00:35:50 +0000 (17:35 -0700)
committerBill Owen <billowen@us.ibm.com>
Tue, 23 Jul 2013 19:26:05 +0000 (12:26 -0700)
commit84ca4b3698ae8512f6ba4cd72a57f662e35b59a0
treea46663f47d4c24f81f82d74f19147fe4a7f2a945
parent8d1156383ad544dd6e9cef4b3a49548538e7d420
GPFS convert glance image to raw only when needed

Modify _gpfs_fetch_to_raw to check image format.  If already in raw
format, no need to call convert_image.  In that case, simply rename
to destination name.

Change-Id: I197d99194f93c02ce3c501de25433d89b23e6a35
Fixes: bug #1201676
cinder/volume/drivers/gpfs.py