Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Volume Creation Failure Due to Image Format Mismatch
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
The volume creation from an image fails with the following error:
Volume creation error
cinder.exception.ImageUnacceptable:Image <ID> is unacceptable: The image format was claimed to be 'raw' but the image data appears to be in a different format.This leads to:
- Volume stuck in
errorordownloadingstate. - Orphaned files on Tintri/NFS backends.
- VM boot attempts failing with libvirt format errors.
Environment
- Private Cloud Director Virtualization - v2025.6 and Higher
- Self-Hosted Private Cloud Director Virtualization - v2025.6 and Higher
- Block Storage using Tintri VMstore (NFS backend)
- Image stored in local
filestore - Example versions:
cinder.volume.drivers.vmstore.nfs- Image Service metadata (disk_format=raw, container_format=bare)
Cause
A image was incorrectly labeled as raw, but its actual data content was qcow2 (or another format).
Block Storage’s image_utils.check_image_format() layer detected:
- Metadata says raw
- Data is actually non-raw
As a result:
- Image conversion was aborted
- Volume remained partially created
- Back-end cleanup was incomplete
Diagnostics
- Check image metadata
Command
openstack image show <image-id>- Verify actual image format - Must run on Image Service host
Command
qemu-img info /var/lib/glance/images/glance/<IMAGE_ID>Example Output
file format: qcow2- Check Tintri logs for refresh failure
Cinder-volume-base logs
ERR-API-8001: Failed to find requested resource- Check orphaned files on the block storage backend
Block Storage Host
ls -lh /tintri/<TENANT>/cinder/volume-<VOLUME_UUID>Resolution
- If the desired format of the image is actually qcow2, update Image service metadata:
Command
openstack image set --disk-format qcow2 <IMAGE_ID>- Clean up stale backend file - Only if the volume was stuck/errored when checking the openstack command, and the
openstack volume delete <VOLUME_UUID>does not remove the volume
Block Storage Host
ssh <TINTRI_MOUNT_HOST>rm /tintri/<TENANT>/cinder/volume-<VOLUME_UUID>Ensure to delete only the stale volume which is in stuck/errored state due to disk_format mismatch, else if a valid volume is deleted it will result on data loss.
Validation
- Re-upload or fix image metadata, the
disk_formatshould now reflect actual format.
Command
openstack image show <IMAGE_ID> | grep disk_format- Create test bootable volume
Command
openstack volume create --image <IMAGE_ID> --size 10 test-vol- Check volume status
Command
openstack volume show test-vol | grep statusExpected status:
Command Output
status: available- Confirm no orphaned data: Cleanup confirmed on Tintri backend.
Additional Information
To prevent this issue in the future, you can adopt any of the following options:
Option A
Enforce qcow2 labelling by always uploading with:
Command Option
--disk-format qcow2Option B
Validate before import on image upload:
Command
qemu-img info <FILE>Option C
Enable image conversion - Use Image Service import workflow with:
Command
glance-directweb-downloadcopy-imageType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Image Upload Fails due to Missing EndpointDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message