Comment 5 for bug 1483359

Revision history for this message
Xing Yang (xing-yang) wrote :

The error says "Device is too small".

Returning exception Failed to copy image to volume: qemu-img: /dev/disk/by-path/ip-172.16.2.22:3260-iscsi-iqn.2008-05.com.xtremio:001e679efa9b-lun-5: error while converting raw: Device is too small

Creating a boot volume takes a lot of space because it needs to download image to a temp file and then convert it to raw using emu-img. You need to make sure the volume size is sufficient and also you have enough space on your cinder volume node.

Check the virtual size of the image using the following command:
qemu-img info <image file>

You need to create a volume of size at least as big as the virtual size.

Also make sure you have enough space on your cinder volume node to hold the virtual size of all the boot volumes if you are creating them simultaneously.