Bug 1803602 - Domain checkpoint creation fails
Summary: Domain checkpoint creation fails
Keywords:
Status: CLOSED DUPLICATE of bug 1799015
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.2
Hardware: x86_64
OS: Linux
high
unspecified
Target Milestone: rc
: 8.0
Assignee: Peter Krempa
QA Contact: Lili Zhu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-17 01:58 UTC by Dan Zheng
Modified: 2020-02-17 15:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-17 15:07:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dan Zheng 2020-02-17 01:58:47 UTC
Description of problem:

The checkpoint-create-as, checkpoint-create and backup-begin all failed. but checkpoint creation worked in 8.1.0. backup-begin worked in a hotfix build libvirt-5.10.0-150_inc_backup.scrmod+el8.2.0+5151+ef7ede69.x86_64.rpm


Version-Release number of selected component (if applicable):
libvirt-6.0.0-4.module+el8.2.0+5642+838f3513.x86_64
qemu-kvm-4.2.0-9.module+el8.2.0+5699+b5331ee5.x86_64
kernel-4.18.0-151.el8.x86_64

How reproducible:

100%

Steps to Reproduce:
1.
Guest xml snippet:
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/tmp/nfs/vm1.qcow2' index='1'/>
      <backingStore/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>

# virsh checkpoint-create-as vm1 cp1 --diskspec vda
error: Operation not supported: incremental backup is not supported yet

[root@dell-per730-66 ~]# cat cp.xml
<domaincheckpoint>
  <name>check_full</name>
</domaincheckpoint>

[root@dell-per730-66 ~]# cat bkup.xml
<domainbackup mode='push'>
  <disks>
    <disk name='vda' type='file'>
      <target file='/home/images/vda.full.backup'/>
      <driver type='qcow2'/>
    </disk>
  </disks>
</domainbackup>

[root@dell-per730-66 ~]# virsh checkpoint-create vm1 cp.xml
error: Operation not supported: incremental backup is not supported yet


[root@dell-per730-66 ~]# virsh backup-begin vm1 bkup.xml  cp.xml


error: Operation not supported: incremental backup is not supported yet


2.
3.

Actual results:
As above

Expected results:
Domain checkpoint creation should be supported.

Additional info:

Comment 2 Peter Krempa 2020-02-17 15:07:00 UTC
This will be enabled once we enable the incremental backup feature.

*** This bug has been marked as a duplicate of bug 1799015 ***


Note You need to log in before you can comment on or make changes to this bug.