Hide Forgot
Description of problem: ------------------------ * The RHSM is full with Warnings on DMI decode on Azure VMs. ~~~ - root@test:~# grep 'WARN.*DMI' /var/log/rhsm/rhsm.log -c 166 - root@test:~# grep 'WARN.*DMI' /var/log/rhsm/rhsm.log | tail -n10 2022-06-28 14:20:54,922 [WARNING] rhsmcertd-worker:337740:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 14:20:55,455 [WARNING] rhsmcertd-worker:337740:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 14:20:56,539 [WARNING] rhsmcertd-worker:337740:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 15:06:32,360 [WARNING] subscription-manager:352957:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 15:06:39,955 [WARNING] subscription-manager:352957:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 15:06:51,749 [WARNING] subscription-manager:353160:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 15:06:52,760 [WARNING] subscription-manager:353160:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 15:10:50,229 [WARNING] subscription-manager:354529:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 15:10:50,794 [WARNING] subscription-manager:354529:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not 2022-06-28 15:10:53,943 [WARNING] subscription-manager:354529:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not ~~~ The dmidecode tool itself works and shows version 3.3: ~~~ - root@test:~# sudo dmidecode | head # dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 3.1.0 present. Table at 0x3FFD5000. Handle 0x0000, DMI type 0, 26 bytes BIOS Information Vendor: Microsoft Corporation Version: Hyper-V UEFI Release v4.1 Release Date: 10/27/2020 ~~~ The warning mentions that DMI version 3.3 is too high. With Azure being a prominent player in the Cloud the customer expects that it is handled gracefully without Warnings. The issue occurs on all Azure VMs running RHEL 8.x. On Azure VMs with RHEL7.9 the warning is not visible. The WARNING and location in the source dmiinfo.py:130 the same on RHEL8.4 and RHEL8.6. ~~~ 2022-06-29 14:02:28,534 [WARNING] subscription-manager:17652:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not ~~~ The vMWare or AWS VMs are not having this issue. The problem is visible at Azure that is using a SMBIOS 3.1.0. The problem is that python3-dmidecode ships its own dmidecode shared libary /usr/lib64/python3.6/site-packages/dmidecodemod.cpython-36m-x86_64-linux-gnu.so that is not up-to-date with the latest dmidecode source code shipped also in dmidecode-3.3-4.el8.x86_64 Version-Release number of selected component (if applicable): ----------------------------------------------- * dmidecode-3.3-4.el8.x86_64 How reproducible: ----------------- * Always reproducible Actual results: ---------------- * The RHSM logs are full with the warnings on DMI decode on Azure VMs running RHEL 8.x Expected results: ---------------- * No such logs should be logged. Additional info:
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 (python-dmidecode 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-2023:3064