-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
rhel-9.3.0
-
None
-
Low
-
rhel-virt-core-libvirt-1
-
ssg_virtualization
-
5
-
QE ack
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
Save guest when doing backup doest not report error directly, it reports error after time out
Version-Release number of selected component (if applicable):
libvirt-9.0.0-5.el9.x86_64
qemu-kvm-7.2.0-8.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1. prepare backup and checkpoint xml files
[root@dell-per740xd-11 inc_bkup]# cat backup_full_pull.xml checkpoint_full_pull.xml
<domainbackup mode='pull'>
<server name="localhost" port="10809"/>
<disks>
<disk name='vda' backup='yes' type='file'>
<scratch file='/mnt/sratch.vda'/>
</disk>
</disks>
</domainbackup>
<domaincheckpoint>
<name>check_full</name>
<disks>
<disk name='vda' checkpoint='bitmap'/>
</disks>
</domaincheckpoint>
2. Start full backup
[root@dell-per740xd-11 inc_bkup]# virsh backup-begin avocado-vt-vm1 backup_full_pull.xml checkpoint_full_pull.xml
Backup started
[root@dell-per740xd-11 inc_bkup]# qemu-img convert -f raw nbd://localhost:10809/vda -O qcow2 /var/lib/libvirt/images/vda.full.backup
4. Do save before abort the backup job
[root@dell-per740xd-11 inc_bkup]# virsh save avocado-vt-vm1 /tmp/vm1.save
error: Failed to save domain 'avocado-vt-vm1' to vm1.save
error: Timed out during operation: cannot acquire state change lock (held by monitor=remoteDispatchDomainBackupBegin)
Actual results:
Save guest when doing backup does not report error directly, it reports error after time out
Expected results:
libvirt should report the following error directly
error: "domain has active block job" or "another backup job is already running"
- external trackers