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 2221711 - Entitlement certificate related errors logged in /var/log/rhsm/rhsm.log when simple content access enabled. [rhel-9.2.0.z]
Summary: Entitlement certificate related errors logged in /var/log/rhsm/rhsm.log when ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: subscription-manager
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 9.2
Assignee: Pino Toscano
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On: 2178610
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-10 15:49 UTC by RHEL Program Management Team
Modified: 2023-11-21 10:00 UTC (History)
13 users (show)

Fixed In Version: subscription-manager-1.29.33.2-1.el9_2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2178610
Environment:
Last Closed: 2023-11-21 10:00:22 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 3336 0 None Merged [1.29.33] 2221711: do not collect unentitled products in SCA mode 2023-09-11 13:37:32 UTC
Red Hat Issue Tracker RHELPLAN-162264 0 None None None 2023-07-13 10:45:54 UTC
Red Hat Product Errata RHBA-2023:7362 0 None None None 2023-11-21 10:00:25 UTC

Comment 1 Zdenek Petracek 2023-09-11 09:41:39 UTC
[root@kvm-01-guest16 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 9.2 (Plow)

[root@kvm-01-guest16 ~]# rpm -qa | grep subscription-manager
subscription-manager-rhsm-certificates-20220623-1.git.0.1ccb22c.el9.noarch
python3-subscription-manager-rhsm-1.29.33.1+10.g2191cc134-1.git.0.698adc1.x86_64
libdnf-plugin-subscription-manager-1.29.33.1+10.g2191cc134-1.git.0.698adc1.x86_64
subscription-manager-1.29.33.1+10.g2191cc134-1.git.0.698adc1.x86_64

[root@kvm-01-guest16 ~]# subscription-manager syspurpose --show
{
  "addons": [],
  "role": "",
  "service_level_agreement": "",
  "usage": ""
}


[root@kvm-01-guest16 ~]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: sca_test
Password: 
The system has been registered with ID: 7e4ffe4c-2fb8-480d-823f-a4ad80484870
The registered system name is: kvm-01-guest16.lab.eng.brq2.redhat.com

[root@kvm-01-guest16 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

[root@kvm-01-guest16 ~]# ls /etc/pki/product-default/
479.pem

[root@kvm-01-guest16 ~]# yum update -y
...
Installed:
  grub2-tools-efi-1:2.06-61.el9_2.1.x86_64               grub2-tools-extra-1:2.06-61.el9_2.1.x86_64       
  kbd-legacy-2.4.0-9.el9.noarch                          kernel-5.14.0-284.30.1.el9_2.x86_64              
  kernel-core-5.14.0-284.30.1.el9_2.x86_64               kernel-modules-5.14.0-284.30.1.el9_2.x86_64      
  kernel-modules-core-5.14.0-284.30.1.el9_2.x86_64      

Complete!

[root@kvm-01-guest16 ~]# ls /etc/pki/product-default/
479.pem

/var/log/rhsm/rhsm.log
...
2023-09-11 11:37:07,862 [WARNING] yum:21754:MainThread @logutil.py:175 - logging already initialized
2023-09-11 11:37:08,231 [INFO] yum:21754:MainThread @productid.py:550 - Updating product db with 479 -> rhel-9-for-x86_64-appstream-rpms
2023-09-11 11:37:08,231 [INFO] yum:21754:MainThread @productid.py:550 - Updating product db with 479 -> rhel-9-for-x86_64-baseos-rpms
2023-09-11 11:37:08,232 [INFO] yum:21754:MainThread @productid.py:601 - Installed product cert 479: Red Hat Enterprise Linux for x86_64 /etc/pki/product/479.pem
2023-09-11 11:37:08,232 [INFO] yum:21754:MainThread @productid.py:601 - Installed product cert 479: Red Hat Enterprise Linux for x86_64 /etc/pki/product/479.pem
^^ No error shown, certificates successfully updated --> pre-verification PASSED

Comment 9 Zdenek Petracek 2023-09-15 09:36:22 UTC
Pre-verification done on SUBMAN version:
[root@kvm-02-guest07 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.3.7-2
subscription management rules: 5.44
subscription-manager: 1.29.33.2-1.el9_2

[root@kvm-02-guest07 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 9.2 (Plow)

[root@kvm-02-guest07 ~]# subscription-manager syspurpose --show
{}

[root@kvm-02-guest07 ~]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: sca_test
Password: 
The system has been registered with ID: 1a69fa91-1a46-4bee-aa2d-57ddb7c6eec9
The registered system name is: kvm-02-guest07.rhts.eng.brq.redhat.com
[root@kvm-02-guest07 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

[root@kvm-02-guest07 ~]# ls /etc/pki/product-default/
479.pem

[root@kvm-02-guest07 ~]# yum update -y
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)                                                                               9.8 MB/s |  14 MB     00:01    
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)                                                                             18 MB/s |  24 MB     00:01    
Dependencies resolved.
...
Installed:
  grub2-tools-efi-1:2.06-61.el9_2.1.x86_64          grub2-tools-extra-1:2.06-61.el9_2.1.x86_64           kernel-5.14.0-284.30.1.el9_2.x86_64                      
  kernel-core-5.14.0-284.30.1.el9_2.x86_64          kernel-modules-5.14.0-284.30.1.el9_2.x86_64          kernel-modules-core-5.14.0-284.30.1.el9_2.x86_64         

Complete!

[root@kvm-02-guest07 ~]# cat /var/log/rhsm/rhsm.log
...
2023-09-15 11:34:15,127 [WARNING] yum:17410:MainThread @logutil.py:175 - logging already initialized
2023-09-15 11:34:15,354 [INFO] yum:17410:MainThread @productid.py:550 - Updating product db with 479 -> rhel-9-for-x86_64-baseos-rpms
2023-09-15 11:34:15,354 [INFO] yum:17410:MainThread @productid.py:550 - Updating product db with 479 -> rhel-9-for-x86_64-appstream-rpms
^^ Noo error-message shown here and content was successfully reached

Comment 13 errata-xmlrpc 2023-11-21 10:00:22 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 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:7362


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