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 978226 - TUI: NIC model always display "unknown" in Network page on Dell smbios 2.6+ machine .
Summary: TUI: NIC model always display "unknown" in Network page on Dell smbios 2.6+ m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-26 06:49 UTC by haiyang,dong
Modified: 2014-01-21 19:42 UTC (History)
15 users (show)

Fixed In Version: ovirt-node-3.0.1-8.el6
Doc Type: Bug Fix
Doc Text:
Certain network cards would not display their vendor ids properly on the network page. A fallback mathod was created to make another attempt at determining the appropriate vendor for display purposes. The vendor name is now displayed correctly on the network page.
Clone Of: 872083
Environment:
Last Closed: 2014-01-21 19:42:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
attached Screenshots (59.99 KB, image/png)
2013-06-26 06:52 UTC, haiyang,dong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0033 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2014-01-22 00:14:30 UTC
oVirt gerrit 16222 0 None None None Never

Comment 1 haiyang,dong 2013-06-26 06:52:25 UTC
Created attachment 765420 [details]
attached Screenshots

Can reproduce this issue on version:
rhev-hypervisor6-6.5-20130222.0.auto1695.el6.iso
ovirt-node-3.0.0-0.999.20130619191528giteda9921.el6.noarch

Clean install rhev-h, enter network page, check that nic model display "unkown", after configure nic by
using "DHCP/static", it also display "unkown",reboot rhev-h , and check the nic model again, it still shown
"unkown", it only happens on the Dell smbios 2.6+ machine.
Also enter Nic Details Dialog, the item "Vendor" also shown "unkown".

Comment 4 Fabian Deutsch 2013-06-28 11:13:06 UTC
It seems that the caching mechanism was incorrect in the new UI, that could lead to missing informations.
This was at least the problem with the ovirt-node and 6.5 builds.

The referenced gerrit patch fixes the caching problem.

Tested as follows:
1. Use latest upstream master with patch
2. Enter network page. Model (Vendor) is displayed
3. Enter NIC details by selecting a NIC: Vendor is shown

Comment 7 haiyang,dong 2013-10-21 12:08:14 UTC
Test version:
rhev-hypervisor6-6.5-20131017.0.iso
ovirt-node-3.0.1-4.el6

Clean install rhev-h on the Dell smbios 2.6+ machine, enter network detail page, check that nic model missed model name, Enter NIC details by selecting a NIC: the itme of Vendor was also shown nothing.

so this bug wasn't fixed, need to re-assigned it again.

Comment 8 Fabian Deutsch 2013-10-29 19:16:56 UTC
Haiyang,

can you prepare a machine to test this?

Comment 10 Fabian Deutsch 2013-10-30 06:54:20 UTC
Harald,

could it be that not all properties are available for renamed nics or nisc on smbios machines?
Here we are using ID_VENDOR_FROM_DATABASE but this property doesn't seem to exist for this interface.
Have you got an idea why it can be missing or how to get it?


# dmesg | grep udev
udev: starting version 147
udev: renamed network interface eth0 to em1
udev: starting version 147

# udevadm info --path=/sys/class/net/em1 --query=all
P: /devices/pci0000:00/0000:00:19.0/net/em1
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:19.0/net/em1
E: INTERFACE=em1
E: IFINDEX=2
E: SUBSYSTEM=net

# udevadm trigger --action=add --subsystem-match=net

# udevadm info --path=/sys/class/net/em1 --query=all
P: /devices/pci0000:00/0000:00:19.0/net/em1
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:19.0/net/em1
E: INTERFACE=em1
E: IFINDEX=2
E: SUBSYSTEM=net

# cat /sys/class/net/em1/device/vendor 
0x8086

Comment 11 Harald Hoyer 2013-10-30 16:49:48 UTC
(In reply to Fabian Deutsch from comment #10)
> Harald,
> 
> could it be that not all properties are available for renamed nics or nisc
> on smbios machines?
> Here we are using ID_VENDOR_FROM_DATABASE but this property doesn't seem to
> exist for this interface.
> Have you got an idea why it can be missing or how to get it?
> 
> 
> # dmesg | grep udev
> udev: starting version 147
> udev: renamed network interface eth0 to em1
> udev: starting version 147
> 
> # udevadm info --path=/sys/class/net/em1 --query=all
> P: /devices/pci0000:00/0000:00:19.0/net/em1
> E: UDEV_LOG=3
> E: DEVPATH=/devices/pci0000:00/0000:00:19.0/net/em1
> E: INTERFACE=em1
> E: IFINDEX=2
> E: SUBSYSTEM=net
> 
> # udevadm trigger --action=add --subsystem-match=net
> 
> # udevadm info --path=/sys/class/net/em1 --query=all
> P: /devices/pci0000:00/0000:00:19.0/net/em1
> E: UDEV_LOG=3
> E: DEVPATH=/devices/pci0000:00/0000:00:19.0/net/em1
> E: INTERFACE=em1
> E: IFINDEX=2
> E: SUBSYSTEM=net
> 
> # cat /sys/class/net/em1/device/vendor 
> 0x8086

udev-147 in RHEL-6 does not store any properties in the udev DB for network interfaces.

sorry

Comment 12 Harald Hoyer 2013-10-30 16:51:24 UTC
> (In reply to Fabian Deutsch from comment #10)
> Have you got an idea why it can be missing or how to get it?

You can get it of course via sysfs:

> # cat /sys/class/net/em1/device/vendor 
> 0x8086

Comment 13 Harald Hoyer 2013-10-30 16:53:28 UTC
(In reply to Harald Hoyer from comment #12)
> > (In reply to Fabian Deutsch from comment #10)
> > Have you got an idea why it can be missing or how to get it?
> 
> You can get it of course via sysfs:
> 
> > # cat /sys/class/net/em1/device/vendor 
> > 0x8086

Oh and maybe with:

# udevadm info --path=$(readlink -f /sys/class/net/em1/device) --query=all

Comment 14 Fabian Deutsch 2013-10-30 19:37:35 UTC
Thanks for the reply.

We can probably do a fallback using lspci:

# lspci -mm -d 0x8086:0x1502

Comment 19 Cheryn Tan 2013-11-08 00:26:59 UTC
This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 20 haiyang,dong 2014-01-02 01:58:12 UTC
Test version:
rhevh-6.5-20131220.0
ovirt-node-3.0.1-13.el6_5.noarch

Clean install rhev-h on the Dell smbios 2.6+ machine, enter network detail page, check that nic model could display, after configure nic by
using "DHCP/static", it also could display,reboot rhev-h , and check the nic model again, it still was shown "Intel Corporation 82579".

So this bug has been fixed, after the status changed into "ON_QA", I will verify it.

Comment 21 haiyang,dong 2014-01-06 07:54:55 UTC
According to comment 20, change the status into "verified"

Comment 23 errata-xmlrpc 2014-01-21 19:42:28 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0033.html


Note You need to log in before you can comment on or make changes to this bug.