Bug 2022589
| Summary: | libvirtd log got some internal error about node device VPD parse error | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | yalzhang <yalzhang> |
| Component: | libvirt | Assignee: | Daniel Berrangé <berrange> |
| libvirt sub component: | General | QA Contact: | yalzhang <yalzhang> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | jdenemar, jtomko, lcheng, virt-maint |
| Version: | 9.0 | Flags: | pm-rhel:
mirror+
|
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-7.10.0-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 12:45:49 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: | 7.10.0 |
| Embargoed: | |||
|
Description
yalzhang@redhat.com
2021-11-12 05:27:46 UTC
Fixed upstream by:
commit 600f580d623ae4077ddeb6c7cb24f8a315a7c73b
Author: Dmitrii Shcherbakov <dmitrii.shcherbakov>
CommitDate: 2021-11-02 13:43:23 +0000
PCI VPD: Skip fields with invalid values
git describe: v7.9.0-30-g600f580d62
Test with libvirt-7.10.0-1.el9.x86_64 on the system and no error message in the log. Test on libvirt-7.10.0-1.module+el8.6.0+13502+4f24a11d.x86_64, the bug is fixed, no error info in libvirtd.log, only debug log for reference.
# ll /sys/devices/pci0000:00/0000:00:02.2/0000:06:00.0/vpd
-rw-------. 1 root root 0 Dec 14 05:07 /sys/devices/pci0000:00/0000:00:02.2/0000:06:00.0/vpd
# virsh nodedev-dumpxml pci_0000_06_00_0
<device>
<name>pci_0000_06_00_0</name>
<path>/sys/devices/pci0000:00/0000:00:02.2/0000:06:00.0</path>
<parent>pci_0000_00_02_2</parent>
<driver>
<name>mlx4_core</name>
</driver>
<capability type='pci'>
<class>0x020000</class>
<domain>0</domain>
<bus>6</bus>
<slot>0</slot>
<function>0</function>
<product id='0x1007'>MT27520 Family [ConnectX-3 Pro]</product>
<vendor id='0x15b3'>Mellanox Technologies</vendor>
<capability type='virt_functions' maxCount='4'/>
<numa node='0'/>
<pci-express>
<link validity='cap' port='8' speed='8' width='8'/>
<link validity='sta' speed='8' width='8'/>
</pci-express>
</capability>
</device>
# ll /sys/devices/pci0000:00/0000:00:01.0/0000:03:00.0/vpd
-rw-------. 1 root root 0 Dec 14 05:07 /sys/devices/pci0000:00/0000:00:01.0/0000:03:00.0/vpd
# virsh nodedev-dumpxml pci_0000_03_00_0
<device>
<name>pci_0000_03_00_0</name>
<path>/sys/devices/pci0000:00/0000:00:01.0/0000:03:00.0</path>
<parent>pci_0000_00_01_0</parent>
<driver>
<name>megaraid_sas</name>
</driver>
<capability type='pci'>
<class>0x010400</class>
<domain>0</domain>
<bus>3</bus>
<slot>0</slot>
<function>0</function>
<product id='0x005d'>MegaRAID SAS-3 3108 [Invader]</product>
<vendor id='0x1000'>Broadcom / LSI</vendor>
<numa node='0'/>
<pci-express>
<link validity='cap' port='0' speed='8' width='8'/>
<link validity='sta' speed='8' width='8'/>
</pci-express>
</capability>
</device>
# grep -i virPCIVPD* /var/log/libvirt/libvirtd.log
2021-12-14 11:05:50.053+0000: 39063: debug : virPCIVPDReadVPDBytes:427 : Unable to read 1 bytes at offset 0 from fd: 25
2021-12-14 11:05:50.053+0000: 39063: debug : virPCIVPDParse:748 : Encountered an invalid VPD: does not have a VPD-R record
2021-12-14 11:06:01.636+0000: 39062: debug : virPCIVPDParseVPDLargeResourceFields:600 : VPD-W section parsing ended prematurely (RW is not the last field).
2021-12-14 11:06:01.636+0000: 39062: debug : virPCIVPDParse:740 : Encountered an invalid VPD
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 (new packages: libvirt), 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:2390 |