Bug 1812531
Summary: | [incremental_backup] when vm is shutoff, deleting checkpoint will produce inaccurate error message | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | yisun |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED ERRATA | QA Contact: | yisun |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8.2 | CC: | jdenemar, lcheng, pkrempa, virt-maint, yisun |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-6.2.0-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-17 17:47:36 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1799015 |
Description
yisun
2020-03-11 14:11:59 UTC
just a remind that checkpoint-create[-as] will have same issue. Fixed upstream: commit e05dd1abdc3b3eeac6e12ab105e56138d783af2a Author: Peter Krempa <pkrempa> Date: Thu Mar 26 15:20:44 2020 +0100 qemuCheckpointDelete: Check VM liveness first Move the liveness check prior to the capability check. If the VM is offline the capabilities are not initialized and thus we'd report the wrong error. commit 4257c203737e5ef616588e80794cc705a5fb475a Author: Peter Krempa <pkrempa> Date: Thu Mar 26 15:20:44 2020 +0100 qemuCheckpointCreateXML: Check VM liveness first Move the liveness check prior to the capability check. If the VM is offline the capabilities are not initialized and thus we'd report the wrong error. Test with: libvirt-6.5.0-1.module+el8.3.0+7323+d54bb644.x86_64 Result is: PASS Steps: [root@libvirt-rhel-8 ~]# virsh start vm1 Domain vm1 started [root@libvirt-rhel-8 ~]# virsh checkpoint-create-as vm1 ck1 Domain checkpoint ck1 created [root@libvirt-rhel-8 ~]# virsh destroy vm1 Domain vm1 destroyed [root@libvirt-rhel-8 ~]# virsh checkpoint-delete vm1 ck1 error: Failed to delete checkpoint ck1 error: Operation not supported: cannot delete checkpoint for inactive domain [root@libvirt-rhel-8 ~]# virsh checkpoint-create-as vm1 ck2 error: Operation not supported: cannot create checkpoint for inactive domain 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:8.3 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-2020:5137 |