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 2033599

Summary: [machines] SLOT in PCI list of "Add host device" dialog should be hexadecimal
Product: Red Hat Enterprise Linux 8 Reporter: YunmingYang <yunyang>
Component: cockpit-appstreamAssignee: Simon Kobyda <skobyda>
Status: CLOSED ERRATA QA Contact: YunmingYang <yunyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: mmarusak, mpitt, skobyda, wshi, xchen, ymao
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-appstream-275-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 09:38:48 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:

Description YunmingYang 2021-12-17 11:39:17 UTC
Description of problem:
After clicking "Add host device" and switching type to "PCI", there will be a list of PCI devices, but SLOT in the PCI list shown as decimal.It is shown as hexadecimal in "lspci -D" or "virsh dumpxml ${vmname}"


Version-Release number of selected components (if applicable):
cockpit-258-1.el8.x86_64
cockpit-machines-255-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.6.0+12861+13975d62.x86_64

How reproducible:
100%


Steps to Reproduce:
1 Create a VM
2 Enter the VM detail page, and click "Add host device" to the dialog
3 Switch type to PCI
4 Record Product, Vendor and Location of one PCI devices in the devices list, like"Product Sky Lake-E IOxAPIC Configuration Registers Vendor Intel Corporation Slot 0000:100:05.4"
5 Get the slot from ' lspci -D | grep "Sky Lake-E IOxAPIC Configuration Registers" '


Actual results:
1 After step 5, there is no "0000:100:05.4" in command results. only "0000:64:05.4"

Expected results:
1 After step 5, the Slot value in PCI list of "Add host device" dialog should be the same with it in command results

Additional info:

Comment 1 YunmingYang 2022-08-22 09:40:49 UTC
Hi, Matej, Simon,

Seem that there is already a fix and merged(https://github.com/cockpit-project/cockpit-machines/pull/472), should we change the BZ status so that we could verify it?

Comment 5 YunmingYang 2022-08-28 23:38:36 UTC
Test Versions:
cockpit-machines-275-1.el8.noarch
cockpit-275-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.6.0+12861+13975d62.x86_64

Test Steps:
1 Create a VM
2 Enter the VM detail page, then click "Add host device"
3 Switch "Type" to "PCI"
4 Select one device(At this time, select PCI device "C620 Series Chipset Family SATA Controller [AHCI mode]", and its Slot is 0000:00:17.0), then click "Add"
5 Get the slot from ' lspci -D | grep "C620 Series Chipset Family SATA Controller" '

Test Results:
1 After step 5, the slot getting from command is the same with the Slot in step 4, which is "0000:00:17.0"

According to the results, move status to VERIFIED.

Comment 7 errata-xmlrpc 2022-11-08 09:38:48 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 (cockpit-appstream 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-2022:7554

Comment 8 Red Hat Bugzilla 2023-09-18 04:29:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days