Bug 1995865
Summary: | Wrong backing-fmt in QMP command when do push mode incremental backup for luks encrypted qcow2 disk | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Fangge Jin <fjin> | |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> | |
Status: | CLOSED ERRATA | QA Contact: | yisun | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 8.5 | CC: | jdenemar, lmen, pkrempa, virt-maint, xuzhang, yalzhang, yisun | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | 8.6 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-7.8.0-1.module+el8.6.0+12978+7d7a0321 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2001327 (view as bug list) | Environment: | ||
Last Closed: | 2022-05-10 13:20: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: | 7.7.0 | |
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2001327 |
Description
Fangge Jin
2021-08-20 01:08:36 UTC
Fixed upstream: commit ca444a2eb27996b8940217d045c31a98882092e1 Author: Peter Krempa <pkrempa> Date: Fri Aug 20 13:25:19 2021 +0200 qemublocktest: Add test for creating a qcow2 on top of an luks-encrypted qcow2 Signed-off-by: Peter Krempa <pkrempa> Reviewed-by: Ján Tomko <jtomko> commit 15ab65583588702eb15b9f323fa57b8b5441a8ea Author: Peter Krempa <pkrempa> Date: Fri Aug 20 13:26:13 2021 +0200 qemu: block: Use correct format name when formatting overlay of qcow2+luks A logic bug in the code creating overlays on existing images resulted into wrongly using "luks" instead of "qcow2" for the backing format if the backing image is an luks-encrypted qcow2. The special format munging is needed only for raw luks images. In practice the impact is not as critical as to use encrypted images in the backing chain the user must fully describe the backing chain including backing images to provide encryption keys, which overrides the metadata recorded in the qcow2 header. Signed-off-by: Peter Krempa <pkrempa> Reviewed-by: Ján Tomko <jtomko> Move to RHEL since RHEL-AV will only be a rebuild of RHEL starting w/ 8.6.0 Verified with: libvirt-7.8.0-1.module+el8.6.0+12978+7d7a0321.x86_64 Same steps as https://bugzilla.redhat.com/show_bug.cgi?id=2001327#c1 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 (Moderate: virt:rhel and virt-devel:rhel security, 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/RHSA-2022:1759 |