-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
libvirt-10.0.0-3.el9
-
None
-
Moderate
-
sst_virtualization
-
ssg_virtualization
-
26
-
None
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
Automated
-
-
All
-
None
What were you trying to do that didn't work?
As subject
Please provide the package NVR for which bug is seen:
kernel-5.14.0-413.el9.x86_64
libvirt-10.0.0-2.el9.x86_64
qemu-kvm-8.2.0-3.el9.x86_64
How reproducible:
100%
Steps to reproduce
1. Prepare a running VM
- virsh domblklist rhel
Target Source
----------------------------------------------
vda /var/lib/libvirt/images/rhel.qcow2
- virsh list --all
Id Name State
--------------------------------
30 rhel running
2. Create snapshot with 2 branches:
- snap=s1;virsh snapshot-create-as rhel $snap --memspec /var/lib/libvirt/images/rhel_$snap
Domain snapshot s1 created
- snap=s2;virsh snapshot-create-as rhel $snap --memspec /var/lib/libvirt/images/rhel_$snap
Domain snapshot s2 created
- snap=s3;virsh snapshot-create-as rhel $snap --memspec /var/lib/libvirt/images/rhel_$snap
Domain snapshot s3 created
- virsh snapshot-revert rhel s1
Domain snapshot s1 reverted
- snap=s4;virsh snapshot-create-as rhel $snap --memspec /var/lib/libvirt/images/rhel_$snap
Domain snapshot s4 created
- snap=s5;virsh snapshot-create-as rhel $snap --memspec /var/lib/libvirt/images/rhel_$snap
Domain snapshot s5 created
- virsh snapshot-list rhel --tree
s1
+- s2+- s3
+- s4
+- s5
- virsh snapshot-current rhel --name
s5
3. Delete the parent snapshot s2
- virsh snapshot-delete rhel s2
error: Failed to delete snapshot s2
error: invalid argument: could not find base disk source in disk source chain
Expected results
Delete s2 without error
Actual results
as above
Logs and XML:
- links to
-
RHBA-2023:125049 libvirt bug fix and enhancement update
- mentioned on