Bug 1904487
| Summary: | [incremental_backup] Provide more detailed errors for virDomainBackupBegin | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Peter Krempa <pkrempa> |
| Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
| Status: | CLOSED ERRATA | QA Contact: | yisun |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.2 | CC: | coli, dyuan, jdenemar, jsuchane, lmen, ngu, nsoffer, virt-maint, xuzhang, yisun |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.3 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-7.0.0-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1874846 | Environment: | |
| Last Closed: | 2021-05-25 06:45:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | 6.10.0 |
| Embargoed: | |||
|
Description
Peter Krempa
2020-12-04 15:40:09 UTC
PreVerified with libvirt-6.10.0-1.fc34.x86_64
Result: PASS
➜ fedora virsh start pc
Domain 'pc' started
➜ fedora virsh domblklist pc
Target Source
---------------------------------------------
vda /var/lib/libvirt/images/pc.qcow2
vdb /var/lib/libvirt/images/vdb.qcow2
➜ fedora virsh checkpoint-list pc
Name Creation Time
-----------------------
➜ fedora cat ck1.xml
<domaincheckpoint>
<name>ck1</name>
<disks>
<disk name='vda' checkpoint='no'/>
<disk name='vdb' checkpoint='bitmap'/>
</disks>
</domaincheckpoint>
➜ fedora virsh checkpoint-create pc ck1.xml
Domain checkpoint ck1 created from 'ck1.xml'
➜ fedora virsh checkpoint-dumpxml pc ck1 --no-domain > created_ck.xml
➜ fedora cat created_ck.xml
<domaincheckpoint>
<name>ck1</name>
<creationTime>1610078860</creationTime>
<disks>
<disk name='vda' checkpoint='no'/>
<disk name='vdb' checkpoint='bitmap' bitmap='ck1'/>
</disks>
</domaincheckpoint>
➜ fedora virsh checkpoint-list pc
Name Creation Time
-----------------------------------
ck1 2021-01-08 04:07:40 +0000
➜ fedora virsh destroy pc
Domain 'pc' destroyed
➜ fedora qemu-img create -f qcow2 /var/lib/libvirt/images/vdb.qcow2 100M
Formatting '/var/lib/libvirt/images/vdb.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=104857600 lazy_refcounts=off refcount_bits=16
➜ fedora virsh start pc
Domain 'pc' started
➜ fedora virsh checkpoint-delete pc ck1 --metadata
Domain checkpoint ck1 deleted
➜ fedora virsh checkpoint-create pc created_ck.xml --redefine --redefine-validate
error: checkpoint inconsistent: missing or broken bitmap 'ck1' for disk 'vdb'
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (virt:av bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:2098 |