Bug 1844341
Summary: | The duplicate block device is listed when iface is set to 'virtio' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | YongkuiGuo <yoguo> | ||||
Component: | libguestfs | Assignee: | Laszlo Ersek <lersek> | ||||
Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | lersek, ptoscano, rjones, virt-maint | ||||
Target Milestone: | rc | Keywords: | Reopened, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | libguestfs-1.48.4-2.el9 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2022-11-15 09:52:35 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: | |||||||
Attachments: |
|
Description
YongkuiGuo
2020-06-05 07:00:50 UTC
One line reproducer is: $ LIBGUESTFS_BACKEND=direct guestfish add-drive /dev/null iface:virtio : run : list-devices /dev/sda /dev/sda The libvirt backend has never allowed the iface parameter. We should probably ignore it in the direct backend since it's never been possible to use this parameter correctly. (In reply to Richard W.M. Jones from comment #1) > One line reproducer is: > > $ LIBGUESTFS_BACKEND=direct guestfish add-drive /dev/null iface:virtio : run > : list-devices > /dev/sda > /dev/sda > > The libvirt backend has never allowed the iface parameter. We should > probably ignore it in the direct backend since it's never been possible > to use this parameter correctly. Ok, i see. Thanks you. Bulk update: Move RHEL-AV bugs to RHEL9. If necessary to resolve in RHEL8, then clone to the current RHEL8 release. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. This bug was closed in error by a process we do not control. [libguestfs PATCH 0/4] ignore "iface" in "add-drive" variants Message-Id: <20220504134155.11832-1-lersek> https://listman.redhat.com/archives/libguestfs/2022-May/028802.html (In reply to Laszlo Ersek from comment #8) > [libguestfs PATCH 0/4] ignore "iface" in "add-drive" variants > Message-Id: <20220504134155.11832-1-lersek> > https://listman.redhat.com/archives/libguestfs/2022-May/028802.html Upstream commit range 4864d21cb8eb..ddf276884c04. Test with libguestfs-1.48.2-2.el9.x86_64 on RHEL9.1 host: $ LIBGUESTFS_BACKEND=direct guestfish add-drive /dev/null iface:virtio : run : list-devices /dev/sda The result is expected. Verified this bug since the test case for this bug has been automated and passed in the latest nightly compose test. 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 (Low: libguestfs 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:7958 |