Bug 2004812
Summary: | [WRB][QEMU-6.1.50]Hit error "Driver 'copy-before-write' is not whitelisted" when execute "blockdev-backup" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Yanan Fu <yfu> |
Component: | qemu-kvm | Assignee: | Kevin Wolf <kwolf> |
qemu-kvm sub component: | Block Jobs | QA Contact: | aihua liang <aliang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | coli, jinzhao, jmaloy, juzhang, kkiwi, mrezanin, ngu, virt-maint, xfu, yfu, zhencliu |
Version: | 8.6 | Keywords: | Regression, Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-6.2.0-1.module+el8.6.0+13725+61ae1949 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-10 13:21:40 UTC | Type: | --- |
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: | 2027716 | ||
Bug Blocks: |
Description
Yanan Fu
2021-09-16 05:55:34 UTC
Automation case name: Automation case name: blockdev_inc_backup_pull_mode, blockdev_inc_backup and differential_backup all can reproduce this issue. Checked with qemu source code, several related commits was introduced in this weeklyrebase version: 783b2825f6 qapi: publish copy-before-write filter 751cec7a26 block/copy-before-write: make public block driver 06e0a9c164 block/copy-before-write: initialize block-copy bitmap f44fd7399c block/copy-before-write: cbw_init(): use options 4c1e992bf2 block/copy-before-write: bdrv_cbw_append(): drop unused compress arg 5a50742674 block/copy-before-write: cbw_init(): use file child after attaching fe7ea40c0e block/copy-before-write: cbw_init(): rename variables 1f0cacb967 block/copy-before-write: introduce cbw_init() 7ddbce2dec block/copy-before-write: bdrv_cbw_append(): replace child at last 3c1e63277e block/copy-before-write: use file child instead of backing 451532311a block/copy-before-write: drop extra bdrv_unref on failure path 3860c02019 block/copy-before-write: relax permission requirements when no parents This is a new change for QEMU 6.2: https://gitlab.com/qemu-project/qemu/-/blob/master/qapi/block-core.json#L2828 qemu-kvm-6.1.50-1.scrmod+el8.5.0+12527+ae7adb1b.wrb210908 is the first version that can reproduce this issue, thanks! Kevin, care to take a look? Perhaps a symptom of the recent driver whitelist changes to tools? (In reply to Klaus Heinrich Kiwi from comment #4) > Kevin, care to take a look? Perhaps a symptom of the recent driver whitelist > changes to tools? Ops, missed actually assigning kwolf.. (In reply to Klaus Heinrich Kiwi from comment #4) > Kevin, care to take a look? Perhaps a symptom of the recent driver whitelist > changes to tools? No, it seems to be an accidental change in behaviour in the upstream code, I think from commit 751cec7a261. The code path didn't check the whitelist before for inserting the job filter driver and now it does. I've replied to the upstream patch series to check if we can just revert to the old behaviour. If not, we need to extend our whitelist downstream. This should be fixed with upstream commit b11c8739, which we will get by rebase. Mirek, as far as I can see, 8.6.0 has already rebased to QEMU 6.2, so can this move to MODIFIED? Mass update of DTM/ITM to +3 values since the rebase of qemu-6.2 into RHEL 8.6 has been delayed or slowed due to process roadblocks (authentication changes, gating issues). This avoids the DevMissed bot and worse the bot that could come along and strip release+. The +3 was chosen mainly to give a cushion. Also added the qemu-6.2 rebase bug 2027716 as a dependent. QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass. Test on qemu-kvm-6.2.0-1.module+el8.6.0+13725+61ae1949, don't hit this issue any more. (1/1) Host_RHEL.m8.u6.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.6.0.x86_64.io-github-autotest-qemu.blockdev_inc_backup_pull_mode_diff.q35: PASS (88.59 s) So set bug's status to "VERIFIED". 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 |