Unable to Create Image from a Cinder Volume or a Volume Snapshot

Problem

Image creation using a Cinder volume or a snapshot fails with the following error observed in the Cinder log located at /var/log/pf9/cindervolumebase.log on the Cinder host where the original volume or snapshot resides.

ERROR cinder.volume.manager [...] Upload volume to image encountered an error (image-id: 844d5563-13e2-4092-a1e6-287ef6b37db4).: HTTPOverLimit: HTTP 413 Request Entity Too Large: Image storage media is full: There is not enough disk space on the image storage media.

Environment

  • Platform9 Managed OpenStack - All versions

Cause

The creation of the image fails because the image storage mount does not have enough space.

Resolution

  1. Login to the Glance host.

  2. Check the image storage mount on the host.

[pf9@test-host1 ~]$ df -hFilesystem Size Used Avail Use% Mounted ondevtmpfs 126G 0 126G 0% /devtmpfs 126G 516K 126G 1% /dev/shmtmpfs 126G 4.1G 122G 4% /runtmpfs 126G 0 126G 0% /sys/fs/cgroup/dev/mapper/vghroot-lvroot 8.0G 2.5G 5.6G 31% //dev/mapper/vghroot-lvusr 8.0G 1.8G 6.3G 22% /usr/dev/mapper/vghroot-lvopt 50G 2.8G 48G 6% /opt/dev/mapper/vghroot-lvtmp 4.0G 33M 4.0G 1% /tmp/dev/mapper/vghroot-lvvmdat 2.0T 33M 2.0T 1% /opt/vmdata/dev/mapper/vghroot-lvvar 64G 19G 46G 29% /var/dev/mapper/vghroot-lvhome 4.0G 34M 4.0G 1% /hometest-host1-vlan120-3:/OpenStack_Img 5.0T 5.0T 36G 100% /opt/images
  1. Provision additional storage to the Glance host.