Ask Your Question

ckonstanski's profile - activity

2018-06-08 16:57:43 -0500 received badge  Editor (source)
2018-06-08 16:14:06 -0500 answered a question Can't convert image to volume

Also seeing this issue in queens.

The image has a 2.2 GB partition table size:

ckonstanski@sphinkpad:~/media/iso $ sudo fdisk -l /dev/nbd0
Festplatte /dev/nbd0: 2,2 GiB, 2361393152 Bytes, 4612096 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 5F593404-0505-4FDA-8A39-CC2B7C79C90D

Gerät        Anfang    Ende Sektoren Größe Typ
/dev/nbd0p1  227328 4612062  4384735  2,1G Linux-Dateisystem
/dev/nbd0p14   2048   10239     8192    4M BIOS boot
/dev/nbd0p15  10240  227327   217088  106M EFI-System

The volume I'm trying to load with this image is 20 GB. There is 235 GB free on the storage host.

There is this openstack bug, but it does not address queens. The ceph bit is just the reporter's personal situation. My image is QCOW2 and it needs to be converted. But there is plenty of free space to perform the conversion. (

I converted the image to raw and tried again. Same problem. So I added some more debugging output to Here is the error with the image conversion destination directory added:

msg = ('There is no space to convert image. '
        'Destination: %(dest)s, Requested: %(image_size)s, available: %(free_space)s'
        ) % {'dest': dest, 'image_size': image_size, 'free_space': free_space}

The output:

ERROR cinder.volume.flows.manager.create_volume ImageTooBig: Image 715a1396-582d-4567-8907-e6a48cb1a885 size exceeded available disk space: There is no space to convert image. Destination: /dev/mapper, Requested: 2361393152, available: 1015443456

It seems very strange that we're using /dev/mapper (or any other pseudofilesystem) as our location to convert a qemu image.

>>> import psutil
>>> print psutil.disk_usage("/dev/mapper").free
>>> print psutil.disk_usage("/tmp").free
2017-02-11 14:54:38 -0500 answered a question Instance shows active but not booting

Also having this problem (newton). I did notice that the libvirt instance name in virsh and ps does not match the name in nova show.