Skip to content
Discussion options

You must be logged in to vote

There is a bug in CloudStack where the disk format isn’t correctly set in the volumes table. As a result, the domain XML generated by CloudStack specifies raw, which causes virsh qemu-monitor-command to report the format as raw, even though the actual image is qcow2 (as confirmed by you and qemu-img info below).

I’ve been able to reproduce this and will raise a PR to fix the incorrect DB entry. Just to confirm—do you see any other issues related to this?

[root@dev1-b-kvm-host1 ~]# virsh qemu-monitor-command i-2-6-VM --hmp 'info block'
libvirt-3-format: /mnt/67bf274c-346c-35ac-badb-afb6857dcb9e/287ede4b-1308-4fde-984b-9b5c3f4f532e (qcow2)
    Attached to:      ide0-0-0
    Cache mode:     …

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@yyzkevin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@yyzkevin
Comment options

@abh1sar
Comment options

abh1sar May 8, 2025
Collaborator

Answer selected by abh1sar
@yyzkevin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants