Bug 1845353
| Summary: | volume creation leaving uncleaned stuff behind on error | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Xueqiang Wei <xuwei> | |
| Component: | qemu-kvm | Assignee: | Maxim Levitsky <mlevitsk> | |
| qemu-kvm sub component: | Storage | QA Contact: | Xueqiang Wei <xuwei> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | medium | CC: | bugproxy, chayang, coli, ddepaula, jferlan, jinzhao, juzhang, mlevitsk, qzhang, virt-maint | |
| Version: | 8.3 | Keywords: | Patch, Triaged | |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
|
| Target Release: | 8.5 | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | qemu-kvm-6.0.0-16.module+el8.5.0+10848+2dccc46d | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1856882 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-16 07:49:57 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: | 1827630 | |||
| Bug Blocks: | 1856882, 1916117 | |||
|
Description
Xueqiang Wei
2020-06-09 01:42:57 UTC
NB: Removing IBM tracker bug 1776265 from blocks... If using qcow2 is a blocker for IBM, then we can clone this to a RHEL bug and add that to the tracker Patch (which is mostly copy&pasta of the luks fix) send upstream: https://lists.nongnu.org/archive/html/qemu-devel/2020-07/msg05214.html *sent The patches to resolve this issue were merged upstream in qemu.git commit id 6094cbeb72117204f3302a4581415ee1dc33a879 Setting bz to POST w/ ITR=8.5.0 to indicate RHEL-AV will include this in the next qemu rebase rather than backporting the changes to 8.4.0 With the new ITM process included it's doubtful everything that needs to be done could be done by bug freeze and this is only a medium so it can wait Tested with qemu-kvm-6.0.0-16.module+el8.5.0+10848+2dccc46d, not hit this issue. So set status to VERIFIED. Versions: kernel-4.18.0-305.1.el8.x86_64 qemu-kvm-6.0.0-16.module+el8.5.0+10848+2dccc46d 1. tested with luks format, it works well. # echo -n -e '\x3a\x3c\x3b\xff' > non_utf8_secret # qemu-img create -f luks --object secret,id=sec0,file=non_utf8_secret -o key-secret=sec0 test.raw 4M Formatting 'test.raw', fmt=luks size=4194304 key-secret=sec0 qemu-img: test.raw: Data from secret sec0 is not valid UTF-8 # ls test.raw ls: cannot access 'test.raw': No such file or directory 2. tested with luks-inside-qcow2, it works well. # qemu-img create --object secret,id=sec0,file=non_utf8_secret -f qcow2 -o encrypt.format=luks,encrypt.key-secret=sec0 test.qcow2 1G Formatting 'test.qcow2', fmt=qcow2 encrypt.format=luks encrypt.key-secret=sec0 cluster_size=65536 extended_l2=off compression_type=zlib size=1073741824 lazy_refcounts=off refcount_bits=16 qemu-img: test.qcow2: Data from secret sec0 is not valid UTF-8 # ls test.qcow2 ls: cannot access 'test.qcow2': No such file or directory 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:4684 |