Go to file
Jay S. Bryant 870e984274 Add check for qemu-img to image_utils fetch_to_raw
Some platforms, particularly PowerPC systems running RHEL,
do not have qemu-img installed by default and do not
support image formats other than RAW.  For these systems,
functions/drivers that use fetch_to_raw() currently fail
because it is assumed that qemu-img will always be installed.

This change updates fetch_to_raw() to function more like the
upload_volume() function which checks the image format and skips
any conversion if the image is already in the RAW format. To
minimize the impact upon platforms that have qemu-img installed
this is being implemented by checking to see if qemu-img is
installed.  If it is installed, no changes are made to the flow
through fetch_to_raw.  If qemu-img is not available and the image
format is not already RAW, an exception is thrown.  Otherwise,
the image is downloaded and we do not progress to the portions of
fetch_to_raw that require qemu-img to be installed.

This commit also updates the test cases that touch this code.

Closes-bug: 1200800

Change-Id: I34540dfa238a8b8e61ff5c30c7e121130bad39b4
2013-09-10 14:04:46 -05:00
2012-05-03 10:48:26 -07:00
2013-06-14 14:02:17 +00:00
2012-05-03 10:48:26 -07:00
2012-11-22 12:47:49 -07:00
2013-07-13 09:16:23 -07:00
2012-05-03 10:48:26 -07:00
2012-08-10 11:56:00 -04:00
2012-05-03 10:48:26 -07:00
2013-07-22 11:26:34 +02:00
2013-06-14 14:02:17 +00:00
2013-08-21 16:59:22 -06:00
2013-09-02 18:08:02 +02:00

The Choose Your Own Adventure README for Cinder

You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.

To monitor it from a distance: follow @openstack on twitter.

To tame it for use in your own cloud: read http://docs.openstack.org

To study its anatomy: read http://cinder.openstack.org

To dissect it in detail: visit http://github.com/openstack/cinder

To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder

To watch it: http://jenkins.openstack.org

To hack at it: read HACKING.rst

Description
OpenStack Block Storage (Cinder)
Readme 947 MiB
Languages
Python 99.7%
Smarty 0.3%