Bug 1691760
| Summary: | [SR-IOV] cannot enable VF on broadcom network card | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Marian Jankular <mjankula> | ||||
| Component: | vdsm | Assignee: | Ales Musil <amusil> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Ales Musil <amusil> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.2.8 | CC: | amusil, dholler, lsurette, mburman, mkalinin, pelauter, rdlugyhe, srevivo, ycui | ||||
| Target Milestone: | ovirt-4.3.6 | Keywords: | ZStream | ||||
| Target Release: | 4.3.6 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | vdsm-4.30.25 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Previously, trying to enable virtual functions (VFs) on a Broadcom network card generated a "Failed to change the number of virtual functions" error. The current release fixes this issue.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-10-10 15:36:50 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Marian Jankular
2019-03-22 12:53:16 UTC
Created attachment 1546837 [details]
vdsm and supervdsm logs
SR-IOV card that has SCSI offloading feature might display net device and offload under the same PCI root. This leads to exception thrown by vdsm when we try to set number of VFs, because vdsm is not capable to decide which device should be used to find the interface name. This can be easily fixed with filter that will list only net devices under particular PCI root. [root@dell-m620-07 ~]# rpm -qe vdsm
vdsm-4.30.25-1.el7ev.x86_64
[root@dell-m620-07 ~]# cat /tmp/sriov_test
{
"deviceName": "pci_0000_01_00_0",
"numvfs": "1"
}
[root@dell-m620-07 ~]# vdsm-client -f /tmp/sriov_test Host hostdevChangeNumvfs
true
[root@dell-m620-07 ~]# cat /sys/bus/pci/devices/0000\:01\:00.0/sriov_numvfs
1
[root@dell-m620-07 ~]# cat /tmp/sriov_test0
{
"deviceName": "pci_0000_01_00_0",
"numvfs": "0"
}
[root@dell-m620-07 ~]# vdsm-client -f /tmp/sriov_test0 Host hostdevChangeNumvfs
true
[root@dell-m620-07 ~]# cat /sys/bus/pci/devices/0000\:01\:00.0/sriov_numvfs
0
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. https://access.redhat.com/errata/RHBA-2019:3009 |