Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1845459

Summary: RHEL-8 Backport nodedev race condition fix
Product: Red Hat Enterprise Linux 8 Reporter: smitterl
Component: libvirtAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: yalzhang <yalzhang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: jdenemar, jsuchane, virt-maint, yalzhang
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-6.0.0-24.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1846237 (view as bug list) Environment:
Last Closed: 2020-11-04 02:54:04 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: 1846237    

Description smitterl 2020-06-09 09:52:11 UTC
Description of problem:
List of nodedev is not populated correctly.

Version-Release number of selected component (if applicable):
libvirt-daemon-6.0.0-17.module+el8.3.0+6423+e4cb6418.s390x

How reproducible:
99%


Steps to Reproduce:
1. systemctl stop libvirtd
2. virsh nodedev-list --cap net

Actual results:
empty


Expected results:
List of net devices, that is, whatever is displayed if 2. is repeated, e.g.
net_enc600_1a_79_fe_a2_82_fd
net_lo_00_00_00_00_00_00
net_virbr0_nic_52_54_00_4d_4f_f4

Additional info:
a.) Fix is available upstream https://gitlab.com/libvirt/libvirt/-/commit/008abeb03c262149b756ad5a226ff6cbc5e37e2c
b.) s390x doesn't have AV
c.) This causes false negatives for tp-libvirt virsh.nodedev_dumpxml.positve_test.acl_test.device_type_net

Comment 1 yalzhang@redhat.com 2020-06-10 23:40:31 UTC
Refer to Bug 1813282, the patch included in libvirt-6.2.0-1.el8 on rhel-av 8.3.0

Comment 5 yalzhang@redhat.com 2020-07-09 05:56:57 UTC
Test on libvirt-libs-6.0.0-25.module+el8.3.0+7176+57f10f42.x86_64 with the steps in bug 1846237#c4, the issue is fixed. Set the bug to be verified.

Comment 8 errata-xmlrpc 2020-11-04 02:54:04 UTC
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-2020:4676