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 2103911 - [RHEL8.6/RHSM/Bug] Warnings for DMIdecode on Azure
Summary: [RHEL8.6/RHSM/Bug] Warnings for DMIdecode on Azure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python-dmidecode
Version: 8.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Lichen Liu
QA Contact: Yuxin Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-05 09:17 UTC by Abhijeet Joshi
Modified: 2023-09-18 04:41 UTC (History)
12 users (show)

Fixed In Version: python-dmidecode-3.12.3-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 09:12:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2081648 0 unspecified CLOSED python-dmidecode module fails to decode DMI data 2023-05-24 07:17:36 UTC
Red Hat Issue Tracker RHELPLAN-126987 0 None None None 2022-07-05 09:30:20 UTC
Red Hat Product Errata RHBA-2023:3064 0 None None None 2023-05-16 09:12:59 UTC

Description Abhijeet Joshi 2022-07-05 09:17:58 UTC
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:

Comment 23 errata-xmlrpc 2023-05-16 09:12:56 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 (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

Comment 24 Red Hat Bugzilla 2023-09-18 04:41:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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