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 2109365 - 'Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not' when register RHEL-8.7.0-20220718.0 against Satellite6.11
Summary: 'Error reading system DMI information: # SMBIOS implementations newer than ve...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: 8.9
Assignee: Pino Toscano
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-21 04:50 UTC by qianzhan
Modified: 2023-11-14 17:58 UTC (History)
4 users (show)

Fixed In Version: subscription-manager-1.28.37-1.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-14 15:47:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 3216 0 None Merged [1.28] New dmidecode-based DMI facts collector; use it on aarch64 2023-03-02 08:13:15 UTC
Red Hat Issue Tracker RHELPLAN-128559 0 None None None 2022-07-21 04:53:00 UTC
Red Hat Product Errata RHBA-2023:7092 0 None None None 2023-11-14 15:48:15 UTC

Description qianzhan 2022-07-21 04:50:04 UTC
Description of problem:
'Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not' when register RHEL-8.7.0-20220718.0 against Satellite6.11

Version-Release number of selected component (if applicable):

subscription-manager-1.28.31-1.el8.x86_64
tfm-rubygem-katello-4.3.0.42-1.el7sat.noarch
katello-4.3.0-3.el7sat.noarch
candlepin-4.1.13-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Register RHEL-8.7.0-20220718.0 against Satellite6.11:

[root@koza-7 ~]# subscription-manager register --username=admin --password=admin --org=Default_Organization --environment=Library
Registering to: ent-01-vm-02.lab.eng.nay.redhat.com:443/rhsm
The system has been registered with ID: fa52fcec-e23e-422b-82c9-a5f84e164b45
The registered system name is: koza-7.4a2m.lab.eng.bos.redhat.com
[root@koza-7 ~]#

2. Check the rhsm.log

2022-07-21 05:18:18,907 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:20,035 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:21,481 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:21,519 [WARNING] subscription-manager:433483:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.

NoneType: None
2022-07-21 05:18:22,764 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:27,836 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:27,840 [INFO] subscription-manager:433483:MainThread @managerlib.py:72 - Consumer created: koza-7.4a2m.lab.eng.bos.redhat.com (fa52fcec-e23e-422b-82c9-a5f84e164b45)
2022-07-21 05:18:29,074 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:30,193 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:31,364 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:31,375 [WARNING] subscription-manager:433483:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.

NoneType: None
2022-07-21 05:18:32,637 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:33,872 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:33,872 [INFO] subscription-manager:433483:MainThread @entcertlib.py:132 - certs updated:
Total updates: 0
Found (local) serial# []
Expected (UEP) serial# []
Added (new)
  <NONE>
Deleted (rogue):
  <NONE>
2022-07-21 05:18:34,110 [WARNING] subscription-manager:433483:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.

NoneType: None
2022-07-21 05:18:40,366 [WARNING] rhsmcertd-worker:433656:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:40,838 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:41,587 [WARNING] rhsmcertd-worker:433656:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:41,588 [INFO] rhsmcertd-worker:433656:MainThread @entcertlib.py:132 - certs updated:
Total updates: 0
Found (local) serial# []
Expected (UEP) serial# []
Added (new)
  <NONE>
Deleted (rogue):
  <NONE>
2022-07-21 05:18:42,132 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:42,762 [WARNING] rhsmcertd-worker:433656:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:43,347 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:44,281 [WARNING] rhsmcertd-worker:433656:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:44,558 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:45,467 [WARNING] rhsmcertd-worker:433656:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:45,497 [WARNING] rhsmcertd-worker:433656:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.

NoneType: None
2022-07-21 05:18:45,771 [WARNING] subscription-manager:433483:MainThread @connection.py:814 - Clock skew detected, please check your system time
2022-07-21 05:18:45,796 [WARNING] rhsmcertd-worker:433656:MainThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.

NoneType: None
2022-07-21 05:18:48,439 [WARNING] rhsmcertd-worker:433656:MainThread @connection.py:814 - Clock skew detected, please check your system time
^C
[root@koza-7 ~]# 



Actual results:
As step 2, ''Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not' is printed in rhsm.log

Expected results:

No such error log in rhsm.log with registration.
Additional info:

Comment 1 Pino Toscano 2022-07-21 08:57:12 UTC
(In reply to qianzhan from comment #0)
> Description of problem:
> 'Error reading system DMI information: # SMBIOS implementations newer than
> version 2.7 are not' when register RHEL-8.7.0-20220718.0 against
> Satellite6.11

This is not really an error -- see bug 2035662 for its RHEL 9 equivalent.

All we can do in RHEL 8 without backporting the dmidecode rework (bug 2094099), which is not really needed in RHEL 8.

Comment 2 qianzhan 2022-09-06 06:47:00 UTC
This bug also exists on RHEL-8.7.0-20220830.0 against Satellite6.11/Satellite6.12

Comment 3 qianzhan 2022-11-23 03:03:55 UTC
This issue happens on RHEL-8.8.0-20221120.2 against Satellite6.12.

Comment 4 Pino Toscano 2023-02-28 15:31:53 UTC
(In reply to Pino Toscano from comment #1)
> All we can do in RHEL 8 without backporting the dmidecode rework (bug
> 2094099), which is not really needed in RHEL 8.

Well, it is actually happening, see bug 2173583, so this will be fixed as by-product of fixing that bug.

Also, please note that it has nothing to do with RHEL or Satellite: this comes from the SMBIOS info of the consumer.

Comment 5 qianzhan 2023-03-01 01:42:30 UTC
(In reply to Pino Toscano from comment #4)
> (In reply to Pino Toscano from comment #1)
> > All we can do in RHEL 8 without backporting the dmidecode rework (bug
> > 2094099), which is not really needed in RHEL 8.
> 
> Well, it is actually happening, see bug 2173583, so this will be fixed as
> by-product of fixing that bug.
> 
> Also, please note that it has nothing to do with RHEL or Satellite: this
> comes from the SMBIOS info of the consumer.

Thanks for your update, Pino.

Comment 6 Pino Toscano 2023-03-17 12:51:03 UTC
(In reply to Pino Toscano from comment #4)
> Well, it is actually happening, see bug 2173583, so this will be fixed as
> by-product of fixing that bug.

To be a bit more specific: the result of the aforementioned bug is that the mentioned warnings are gone.

Comment 7 qianzhan 2023-03-20 04:12:04 UTC
The target release of this bug is 8.9.0, so I will verify it when RHEL8.9-CTC1 comes out.
By the way, this bug does not show up when I test RHEL-8.8.0-Beta-1.0 against Satellite6.11/6.12/6.13.

Comment 8 Pino Toscano 2023-03-20 07:33:40 UTC
(In reply to qianzhan from comment #7)
> By the way, this bug does not show up when I test RHEL-8.8.0-Beta-1.0
> against Satellite6.11/6.12/6.13.

What matters here is the *system* that is registered: is it a real baremetal system, or a VM? What's the hardware (real or virtual) of that system?

Comment 9 qianzhan 2023-03-20 09:25:45 UTC
(In reply to Pino Toscano from comment #8)
> (In reply to qianzhan from comment #7)
> > By the way, this bug does not show up when I test RHEL-8.8.0-Beta-1.0
> > against Satellite6.11/6.12/6.13.
> 
> What matters here is the *system* that is registered: is it a real baremetal
> system, or a VM? What's the hardware (real or virtual) of that system?

Hi, Pino

I do not care about the systems provisioned in beaker by CI when I do testing. So I checked the machines that I used to test RHEL-8.8.0-Beta-1.0:
kvm-01-guest07.lab.eng.rdu2.redhat.com
kvm-01-guest06.lab.eng.rdu2.redhat.com
kvm-06-guest07.hv2.lab.eng.bos.redhat.com

They are KVM virtual machines.

Comment 10 qianzhan 2023-03-20 09:38:55 UTC
What kind of hardware is needed to verify this bug?

Comment 11 Pino Toscano 2023-03-20 10:14:12 UTC
The point of this bug is that it entirely depends on the system itself -- it does not even need to be registered, and thus Hosted/Sat/etc does not matter in any way.

The quickest way to check for this problem is:
- install/provision a RHEL 8 system, without even registering it to Hosted/Stage/Sat
- run `subscription-manager facts` to trigger a fact collection
- inspect /var/log/rhsm/rhsm.log for the aforementioned "Error reading system DMI information" warning

(In reply to qianzhan from comment #10)
> What kind of hardware is needed to verify this bug?

Unfortunately I don't know whether there is a way to determine the SMBIOS version of a system without accessing to the system itself; on a system, you can easily check the SMBIOS version using the `dmidecode` command (check at the very top of its output) -- for example:

  # dmidecode | head -n3
  # dmidecode 3.4
  Getting SMBIOS data from sysfs.
  SMBIOS 3.2.0 present.

To reproduce this bug, the "SMBIOS present" line must have a version greater than 2.7.

Comment 12 qianzhan 2023-03-20 12:50:09 UTC
(In reply to Pino Toscano from comment #11)
> The point of this bug is that it entirely depends on the system itself -- it
> does not even need to be registered, and thus Hosted/Sat/etc does not matter
> in any way.
> 
> The quickest way to check for this problem is:
> - install/provision a RHEL 8 system, without even registering it to
> Hosted/Stage/Sat
> - run `subscription-manager facts` to trigger a fact collection
> - inspect /var/log/rhsm/rhsm.log for the aforementioned "Error reading
> system DMI information" warning
> 
> (In reply to qianzhan from comment #10)
> > What kind of hardware is needed to verify this bug?
> 
> Unfortunately I don't know whether there is a way to determine the SMBIOS
> version of a system without accessing to the system itself; on a system, you
> can easily check the SMBIOS version using the `dmidecode` command (check at
> the very top of its output) -- for example:
> 
>   # dmidecode | head -n3
>   # dmidecode 3.4
>   Getting SMBIOS data from sysfs.
>   SMBIOS 3.2.0 present.
> 
> To reproduce this bug, the "SMBIOS present" line must have a version greater
> than 2.7.

Thanks for the details, Pino. It's really helpful to verify this bug.

Comment 23 errata-xmlrpc 2023-11-14 15:47:57 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 (subscription-manager 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:7092


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