Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 978226 - TUI: NIC model always display "unknown" in Network page on Dell smbios 2.6+ machine .
TUI: NIC model always display "unknown" in Network page on Dell smbios 2.6+ m...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node (Show other bugs)
6.5
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Joey Boggs
Virtualization Bugs
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-26 02:49 EDT by haiyang,dong
Modified: 2014-01-21 14:42 EST (History)
15 users (show)

See Also:
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.
Story Points: ---
Clone Of: 872083
Environment:
Last Closed: 2014-01-21 14:42:28 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 16222 None None None Never
Red Hat Product Errata RHBA-2014:0033 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2014-01-21 19:14:30 EST

  None (edit)
Comment 1 haiyang,dong 2013-06-26 02:52:25 EDT
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 07:13:06 EDT
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 08:08:14 EDT
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 15:16:56 EDT
Haiyang,

can you prepare a machine to test this?
Comment 10 Fabian Deutsch 2013-10-30 02:54:20 EDT
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 12:49:48 EDT
(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 12:51:24 EDT
> (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 12:53:28 EDT
(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 15:37:35 EDT
Thanks for the reply.

We can probably do a fallback using lspci:

# lspci -mm -d 0x8086:0x1502
Comment 19 Cheryn Tan 2013-11-07 19:26:59 EST
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-01 20:58:12 EST
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 02:54:55 EST
According to comment 20, change the status into "verified"
Comment 23 errata-xmlrpc 2014-01-21 14:42:28 EST
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.