Hi,
I encountered an issue in removing a snapshot. Trying to remove a
snapshot of a VM with two disks I got an error in engine.log (and
removal fails):
2024-03-05 15:23:10,568+01 ERROR
[org.ovirt.engine.core.bll.MergeStatusCommand]
(EE-ManagedExecutorService-commandCoordinator-Thread-1)
[a597e182-955b-40ce-8e16-7d9fc7e62b21] Failed to live merge. Top volume
aa09f887-a739-4962-a682-b68a24a1c137 is still in qemu chain
[21d35f2a-0776-4d4e-bb68-a09929564086,
ad4b21d6-1cf9-445c-80a7-3bc3c4abcfa0,
fd17e47d-215e-422e-8c3d-4094da891d52, aa09f887-a739-4962-a682-b68a24a1c137]
As I said VM has two disks, one of them is behaving correctly, the other
one has some issue.
If I try (on the hypervisor):
vdsm-tool dump-volume-chains <SD-UUID>
I get:
image: 26ce6c05-9da2-48f7-80be-ece76f6f028f
- ad4b21d6-1cf9-445c-80a7-3bc3c4abcfa0
status: OK, voltype: INTERNAL, format: COW, legality:
LEGAL, type: SPARSE, capacity: 53687091200, truesize: 43486543872
- 21d35f2a-0776-4d4e-bb68-a09929564086
status: OK, voltype: INTERNAL, format: COW, legality:
LEGAL, type: SPARSE, capacity: 53687091200, truesize: 35030827008
- aa09f887-a739-4962-a682-b68a24a1c137
status: OK, voltype: INTERNAL, format: COW, legality:
LEGAL, type: SPARSE, capacity: 53687091200, truesize: 8455716864
- fd17e47d-215e-422e-8c3d-4094da891d52
status: OK, voltype: LEAF, format: COW, legality: LEGAL,
type: SPARSE, capacity: 53687091200, truesize: 9932111872
image: 42acd796-4297-4a91-b119-e7c5e91e3c2c
- 370cc02d-3585-4fea-bd57-a4c88174fc71
status: OK, voltype: INTERNAL, format: COW, legality:
LEGAL, type: SPARSE, capacity: 214748364800, truesize: 17716740096
- cf6315b9-4e96-4323-95b4-d50abd0443bd
status: OK, voltype: LEAF, format: COW, legality: LEGAL,
type: SPARSE, capacity: 214748364800, truesize: 2818572288
first listed image is the disk failing snapshot removal, the other one
is the image with no problem.
Virtual machine is (luckily) up and running.
Any hint to fix? Engine DB tweak?
TIA,
gc
--
Giulio Casella giulio at di.unimi.it
System and network architect
Computer Science Dept. - University of Milano