Why offline VM snapshot deletion(cold merge) is failing during "qemu-img check"
Issue
- Deleting a snapshot offline (cold merge) is failing with below error in the event log.
VDSM 10.74.x.x command HSMGetAllTasksStatusesVDS failed: cmd=['/usr/bin/qemu-img', 'check', '--output', 'json', '-f', 'qcow2', '/rhev/data-center/mnt/blockSD/8257cf14-d88d-4e4e-998c-9f8976dac2a2/images/7455de38-1df1-4acd-b07c-9dc2138aafb3/be4a4d85-d7e6-4725-b7f5-90c9d935c336'], ecode=3, stdout={
------
, stderr=Leaked cluster 109202 refcount=1 reference=0
Leaked cluster 109203 refcount=1 reference=0
Leaked cluster 109204 refcount=1 reference=0
- Unable to start the VM after the merge and it's failing with
Bad volume specificationerror.
Environment
- Red Hat Virtualization 4.1.
- Block storage domain.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
