From 0f3e7925b600a89d3c4c14228b129c1b779a117e Mon Sep 17 00:00:00 2001 From: Pranav Salunke Date: Wed, 3 Sep 2014 00:46:29 +0530 Subject: [PATCH] Updates cinder to support additional image types Only raw images can be converted to bootable volumes by cinder. For converting additional image types, cinder needs 'qemu-img' which is installed via 'qemu-utils' package. This patch adds the required package to the cinder controller node. Change-Id: I296649827165989381ac7ce623e7babd62f7063a --- labs/scripts/setup_cinder_controller.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/labs/scripts/setup_cinder_controller.sh b/labs/scripts/setup_cinder_controller.sh index a263ccc1..ab41d170 100755 --- a/labs/scripts/setup_cinder_controller.sh +++ b/labs/scripts/setup_cinder_controller.sh @@ -13,7 +13,10 @@ indicate_current_auto #------------------------------------------------------------------------------ echo "Installing cinder." -sudo apt-get install -y cinder-api cinder-scheduler +sudo apt-get install -y cinder-api cinder-scheduler qemu-utils +# Note: The package 'qemu-utils' is required for 'qemu-img' which allows cinder +# to convert additional image types to bootable volumes. By default only +# raw images can be converted. echo "Setting up database for cinder." setup_database cinder