Bug 2031824

Summary: [RFE] Automatic Registration for Cloud Virtual Systems [rhel-7.9.z]
Product: Red Hat Enterprise Linux 7 Reporter: Rehana <redakkan>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.9CC: anbond, bcourt, candlepin-bugs, cdonnell, csnyder, huzhao, jherrman, jhnidek, jsefler, jwboyer, kpfleming, mawerner, rhsm-qe, rjerrido, tpfromme, wpoteat, xiachen, xiliang, yacao
Target Milestone: rcKeywords: FutureFeature, Triaged, ZStream
Target Release: 7.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.24.51-1.el7_9 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1905398 Environment:
Last Closed: 2022-05-18 16:16:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1905398    
Bug Blocks: 1918775    

Comment 12 Kevin P. Fleming 2022-03-31 12:11:19 UTC
This was approved to proceed in today's Blocker & Exception meeting. Once it has qa_ack+ it will be able to proceed towards release.

Comment 21 Craig Donnelly 2022-04-20 17:43:53 UTC
>> Verifying against subscription-manager-1.24.42-1.el7.x86_64
>> Verifying on Azure with RHEL 7.9 VM:

[root@rhsm-autoreg7-2 ~]# yum localinstall /home/azureuser/*.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Examining /home/azureuser/python-syspurpose-1.24.51-1.el7_9.x86_64.rpm: python-syspurpose-1.24.51-1.el7_9.x86_64
Marking /home/azureuser/python-syspurpose-1.24.51-1.el7_9.x86_64.rpm as an update to python-syspurpose-1.24.42-1.el7.x86_64
Examining /home/azureuser/subscription-manager-1.24.51-1.el7_9.x86_64.rpm: subscription-manager-1.24.51-1.el7_9.x86_64
Marking /home/azureuser/subscription-manager-1.24.51-1.el7_9.x86_64.rpm as an update to subscription-manager-1.24.42-1.el7.x86_64
Examining /home/azureuser/subscription-manager-rhsm-1.24.51-1.el7_9.x86_64.rpm: subscription-manager-rhsm-1.24.51-1.el7_9.x86_64
Marking /home/azureuser/subscription-manager-rhsm-1.24.51-1.el7_9.x86_64.rpm as an update to subscription-manager-rhsm-1.24.42-1.el7.x86_64
Examining /home/azureuser/subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64.rpm: subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64
Marking /home/azureuser/subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64.rpm as an update to subscription-manager-rhsm-certificates-1.24.42-1.el7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package python-syspurpose.x86_64 0:1.24.42-1.el7 will be updated
---> Package python-syspurpose.x86_64 0:1.24.51-1.el7_9 will be an update
---> Package subscription-manager.x86_64 0:1.24.42-1.el7 will be updated
---> Package subscription-manager.x86_64 0:1.24.51-1.el7_9 will be an update
---> Package subscription-manager-rhsm.x86_64 0:1.24.42-1.el7 will be updated
---> Package subscription-manager-rhsm.x86_64 0:1.24.51-1.el7_9 will be an update
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.42-1.el7 will be updated
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.51-1.el7_9 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================
 Package                Arch   Version         Repository                                                      Size
====================================================================================================================
Updating:
 python-syspurpose      x86_64 1.24.51-1.el7_9 /python-syspurpose-1.24.51-1.el7_9.x86_64                      125 k
 subscription-manager   x86_64 1.24.51-1.el7_9 /subscription-manager-1.24.51-1.el7_9.x86_64                   4.6 M
 subscription-manager-rhsm
                        x86_64 1.24.51-1.el7_9 /subscription-manager-rhsm-1.24.51-1.el7_9.x86_64              412 k
 subscription-manager-rhsm-certificates
                        x86_64 1.24.51-1.el7_9 /subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64 7.2 k

Transaction Summary
====================================================================================================================
Upgrade  4 Packages

Total size: 5.1 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64                                    1/8 
  Updating   : subscription-manager-rhsm-1.24.51-1.el7_9.x86_64                                                 2/8 
  Updating   : python-syspurpose-1.24.51-1.el7_9.x86_64                                                         3/8 
  Updating   : subscription-manager-1.24.51-1.el7_9.x86_64                                                      4/8 
  Cleanup    : subscription-manager-1.24.42-1.el7.x86_64                                                        5/8 
  Cleanup    : subscription-manager-rhsm-1.24.42-1.el7.x86_64                                                   6/8 
  Cleanup    : subscription-manager-rhsm-certificates-1.24.42-1.el7.x86_64                                      7/8 
  Cleanup    : python-syspurpose-1.24.42-1.el7.x86_64                                                           8/8 
  Verifying  : subscription-manager-rhsm-1.24.51-1.el7_9.x86_64                                                 1/8 
  Verifying  : subscription-manager-1.24.51-1.el7_9.x86_64                                                      2/8 
  Verifying  : python-syspurpose-1.24.51-1.el7_9.x86_64                                                         3/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64                                    4/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.42-1.el7.x86_64                                      5/8 
  Verifying  : python-syspurpose-1.24.42-1.el7.x86_64                                                           6/8 
  Verifying  : subscription-manager-rhsm-1.24.42-1.el7.x86_64                                                   7/8 
  Verifying  : subscription-manager-1.24.42-1.el7.x86_64                                                        8/8 

Updated:
  python-syspurpose.x86_64 0:1.24.51-1.el7_9                                                                        
  subscription-manager.x86_64 0:1.24.51-1.el7_9                                                                     
  subscription-manager-rhsm.x86_64 0:1.24.51-1.el7_9                                                                
  subscription-manager-rhsm-certificates.x86_64 0:1.24.51-1.el7_9                                                   

Complete!

>> Azure facts:

[root@rhsm-autoreg7-2 ~]# subscription-manager facts | grep -ie azure -e microsoft -e msft
azure_instance_id: 0c2eacbd-d201-4bee-b9c0-b4aefde82e59
azure_offer: rhel-byos
azure_sku: rhel-lvm79-gen2
dmi.baseboard.manufacturer: Microsoft Corporation
dmi.bios.vendor: Microsoft Corporation
dmi.chassis.manufacturer: Microsoft Corporation
dmi.memory.manufacturer: Microsoft Corporation
dmi.system.manufacturer: Microsoft Corporation
lscpu.hypervisor_vendor: Microsoft

>> Configs

[root@rhsm-autoreg7-2 rhsm]# subscription-manager config
<SNIP>
[rhsmcertd]
   auto_registration = 1
   auto_registration_interval = [60]
   autoattachinterval = [1440]
   certcheckinterval = [240]
   disable = [0]
   splay = 0

>> Auto-register via rhsmcertd:

[root@rhsm-autoreg7-2 rhsm]# systemctl restart rhsmcertd;tail -f rhsm*
==> rhsmcertd.log <==
Wed Apr 20 17:36:30 2022 [INFO] Starting rhsmcertd...
Wed Apr 20 17:36:30 2022 [INFO] Auto-registration interval: 60.0 minutes [3600 seconds]
Wed Apr 20 17:36:30 2022 [INFO] Auto-attach interval: 1440.0 minutes [86400 seconds]
Wed Apr 20 17:36:30 2022 [INFO] Cert check interval: 240.0 minutes [14400 seconds]
Wed Apr 20 17:36:30 2022 [INFO] Waiting 2.0 minutes plus 0 splay seconds [120 seconds total] before performing first auto-register
Wed Apr 20 17:36:30 2022 [INFO] Waiting 2.0 minutes plus 0 splay seconds [120 seconds total] before performing first auto-attach.
Wed Apr 20 17:36:30 2022 [INFO] Waiting 2.0 minutes plus 0 splay seconds [120 seconds total] before performing first cert check.

==> rhsm.log <==
2022-04-20 17:38:30,507 [INFO] rhsmcertd-worker:4756:MainThread @rhsmcertd_worker.py:107 - Metadata and signature gathered for cloud provider: azure
2022-04-20 17:38:30,508 [INFO] rhsmcertd-worker:4756:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=none
2022-04-20 17:38:32,305 [INFO] rhsmcertd-worker:4756:MainThread @managerlib.py:72 - Consumer created: rhsm-autoreg7-2 (71787f3a-0a4b-43f3-843f-fc53d8f2def1)
2022-04-20 17:38:32,307 [INFO] rhsmcertd-worker:4756:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False

==> rhsmcertd.log <==
Wed Apr 20 17:38:32 2022 [INFO] (Auto-registration) performed successfully.

==> rhsm.log <==
2022-04-20 17:38:32,813 [INFO] rhsmcertd-worker:4846:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2022-04-20 17:38:33,212 [INFO] rhsmcertd-worker:4846:MainThread @entcertlib.py:132 - certs updated:
Total updates: 0
Found (local) serial# []
Expected (UEP) serial# []
Added (new)
  <NONE>
Deleted (rogue):
  <NONE>
2022-04-20 17:38:34,155 [INFO] rhsmcertd-worker:4846:MainThread @factlib.py:100 - Facts have been updated.

==> rhsmcertd.log <==
Wed Apr 20 17:38:34 2022 [INFO] (Cert Check) Certificates updated.

==> rhsm.log <==
2022-04-20 17:38:34,883 [INFO] rhsmcertd-worker:4940:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2022-04-20 17:38:35,500 [WARNING] rhsmcertd-worker:4940:MainThread @healinglib.py:99 - Found invalid entitlements for today: 2022-04-20 17:38:35.392010+00:00
2022-04-20 17:38:36,465 [INFO] rhsmcertd-worker:4940:MainThread @entcertlib.py:132 - certs updated:
Total updates: 1
Found (local) serial# []
Expected (UEP) serial# [2925417924465384015]
Added (new)
  [sn:2925417924465384015 (Red Hat Beta,) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat CodeReady Linux Builder for x86_64,) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Enterprise Linux Atomic Host,) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Enterprise Linux Atomic Host Beta,) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Oracle Java (for RHEL Server),) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Developer Tools (for RHEL Server),) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Developer Tools Beta (for RHEL Server),) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Developer Toolset (for RHEL Server),) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Software Collections (for RHEL Server),) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Enterprise Linux for x86_64,) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Software Collections Beta (for RHEL Server),) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (dotNET on RHEL (for RHEL Server),) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Ansible Engine,) @ /etc/pki/entitlement/2925417924465384015.pem]
  [sn:2925417924465384015 (Red Hat Enterprise Linux Server,) @ /etc/pki/entitlement/2925417924465384015.pem]
Deleted (rogue):
  <NONE>
2022-04-20 17:38:36,973 [INFO] rhsmcertd-worker:4940:MainThread @entcertlib.py:132 - certs updated:
Total updates: 0
Found (local) serial# [2925417924465384015L]
Expected (UEP) serial# [2925417924465384015]
Added (new)
  <NONE>
Deleted (rogue):
  <NONE>

==> rhsmcertd.log <==
Wed Apr 20 17:38:37 2022 [INFO] (Auto-attach) Certificates updated.

>> LGTM for Azure

Comment 22 Craig Donnelly 2022-04-20 17:53:43 UTC
>> Correction to the above: Azure test was verified against subscription-manager-1.24.51-1.el7_9.x86_64.rpm

>> Verifying against subscription-manager-1.24.51-1.el7_9.x86_64.rpm
>> Verifying on AWS with RHEL 7.9 VM:

[root@ip-10-0-0-154 ec2-user]# yum localinstall *.rpm
Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Examining python-syspurpose-1.24.51-1.el7_9.x86_64.rpm: python-syspurpose-1.24.51-1.el7_9.x86_64
Marking python-syspurpose-1.24.51-1.el7_9.x86_64.rpm as an update to python-syspurpose-1.24.50-1.git.7.3cec1a9.el7.x86_64
Examining subscription-manager-1.24.51-1.el7_9.x86_64.rpm: subscription-manager-1.24.51-1.el7_9.x86_64
Marking subscription-manager-1.24.51-1.el7_9.x86_64.rpm as an update to subscription-manager-1.24.50-1.git.7.3cec1a9.el7.x86_64
Examining subscription-manager-rhsm-1.24.51-1.el7_9.x86_64.rpm: subscription-manager-rhsm-1.24.51-1.el7_9.x86_64
Marking subscription-manager-rhsm-1.24.51-1.el7_9.x86_64.rpm as an update to subscription-manager-rhsm-1.24.50-1.git.7.3cec1a9.el7.x86_64
Examining subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64.rpm: subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64
Marking subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64.rpm as an update to subscription-manager-rhsm-certificates-1.24.50-1.git.7.3cec1a9.el7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package python-syspurpose.x86_64 0:1.24.50-1.git.7.3cec1a9.el7 will be updated
---> Package python-syspurpose.x86_64 0:1.24.51-1.el7_9 will be an update
---> Package subscription-manager.x86_64 0:1.24.50-1.git.7.3cec1a9.el7 will be updated
---> Package subscription-manager.x86_64 0:1.24.51-1.el7_9 will be an update
---> Package subscription-manager-rhsm.x86_64 0:1.24.50-1.git.7.3cec1a9.el7 will be updated
---> Package subscription-manager-rhsm.x86_64 0:1.24.51-1.el7_9 will be an update
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.50-1.git.7.3cec1a9.el7 will be updated
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.51-1.el7_9 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================
 Package                Arch   Version         Repository                                                      Size
====================================================================================================================
Updating:
 python-syspurpose      x86_64 1.24.51-1.el7_9 /python-syspurpose-1.24.51-1.el7_9.x86_64                      125 k
 subscription-manager   x86_64 1.24.51-1.el7_9 /subscription-manager-1.24.51-1.el7_9.x86_64                   4.6 M
 subscription-manager-rhsm
                        x86_64 1.24.51-1.el7_9 /subscription-manager-rhsm-1.24.51-1.el7_9.x86_64              412 k
 subscription-manager-rhsm-certificates
                        x86_64 1.24.51-1.el7_9 /subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64 7.2 k

Transaction Summary
====================================================================================================================
Upgrade  4 Packages

Total size: 5.1 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64                                    1/8 
  Updating   : subscription-manager-rhsm-1.24.51-1.el7_9.x86_64                                                 2/8 
  Updating   : python-syspurpose-1.24.51-1.el7_9.x86_64                                                         3/8 
  Updating   : subscription-manager-1.24.51-1.el7_9.x86_64                                                      4/8 
  Cleanup    : subscription-manager-1.24.50-1.git.7.3cec1a9.el7.x86_64                                          5/8 
  Cleanup    : subscription-manager-rhsm-1.24.50-1.git.7.3cec1a9.el7.x86_64                                     6/8 
  Cleanup    : subscription-manager-rhsm-certificates-1.24.50-1.git.7.3cec1a9.el7.x86_64                        7/8 
  Cleanup    : python-syspurpose-1.24.50-1.git.7.3cec1a9.el7.x86_64                                             8/8 
  Verifying  : subscription-manager-rhsm-1.24.51-1.el7_9.x86_64                                                 1/8 
  Verifying  : subscription-manager-1.24.51-1.el7_9.x86_64                                                      2/8 
  Verifying  : python-syspurpose-1.24.51-1.el7_9.x86_64                                                         3/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.51-1.el7_9.x86_64                                    4/8 
  Verifying  : subscription-manager-rhsm-1.24.50-1.git.7.3cec1a9.el7.x86_64                                     5/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.50-1.git.7.3cec1a9.el7.x86_64                        6/8 
  Verifying  : subscription-manager-1.24.50-1.git.7.3cec1a9.el7.x86_64                                          7/8 
  Verifying  : python-syspurpose-1.24.50-1.git.7.3cec1a9.el7.x86_64                                             8/8 

Updated:
  python-syspurpose.x86_64 0:1.24.51-1.el7_9                                                                        
  subscription-manager.x86_64 0:1.24.51-1.el7_9                                                                     
  subscription-manager-rhsm.x86_64 0:1.24.51-1.el7_9                                                                
  subscription-manager-rhsm-certificates.x86_64 0:1.24.51-1.el7_9                                                   

Complete!

>> AWS facts:

[root@ip-10-0-0-154 ec2-user]# subscription-manager facts | grep -ie aws -e amazon -e ec2
aws_account_id: 810338073674
aws_billing_products: bp-6fa54006
aws_instance_id: i-000aaee123a58dbda
aws_marketplace_product_codes: None
dmi.bios.version: 4.2.amazon
dmi.system.serial_number: ec2c550f-0fcb-2f81-76c4-c456d791b036
dmi.system.uuid: EC2C550F-0FCB-2F81-76C4-C456D791B036
dmi.system.version: 4.2.amazon
network.fqdn: ip-10-0-0-154.ec2.internal
network.hostname: ip-10-0-0-154.ec2.internal
uname.nodename: ip-10-0-0-154.ec2.internal
virt.host_type: xen, xen-hvm, aws
virt.uuid: ec2c550f-0fcb-2f81-76c4-c456d791b036

>> Configs

[root@ip-10-0-0-154 ec2-user]# subscription-manager config
<SNIP>
[rhsmcertd]
   auto_registration = 1
   auto_registration_interval = [60]
   autoattachinterval = [1440]
   certcheckinterval = [240]
   disable = [0]
   splay = 0

>> Auto-register via rhsmcertd:

[root@ip-10-0-0-154 rhsm]# systemctl restart rhsmcertd;tail -f rhsm.log rhsmcertd.log
==> rhsm.log <==

==> rhsmcertd.log <==
Wed Apr 20 17:48:32 2022 [INFO] Starting rhsmcertd...
Wed Apr 20 17:48:32 2022 [INFO] Auto-registration interval: 60.0 minutes [3600 seconds]
Wed Apr 20 17:48:32 2022 [INFO] Auto-attach interval: 1440.0 minutes [86400 seconds]
Wed Apr 20 17:48:32 2022 [INFO] Cert check interval: 240.0 minutes [14400 seconds]
Wed Apr 20 17:48:32 2022 [INFO] Waiting 2.0 minutes plus 0 splay seconds [120 seconds total] before performing first auto-register
Wed Apr 20 17:48:32 2022 [INFO] Waiting 2.0 minutes plus 0 splay seconds [120 seconds total] before performing first auto-attach.
Wed Apr 20 17:48:32 2022 [INFO] Waiting 2.0 minutes plus 0 splay seconds [120 seconds total] before performing first cert check.

==> rhsm.log <==
2022-04-20 17:50:33,223 [INFO] rhsmcertd-worker:1883:MainThread @rhsmcertd_worker.py:107 - Metadata and signature gathered for cloud provider: aws
2022-04-20 17:50:33,224 [INFO] rhsmcertd-worker:1883:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=none
2022-04-20 17:50:34,399 [INFO] rhsmcertd-worker:1883:MainThread @managerlib.py:72 - Consumer created: ip-10-0-0-154.ec2.internal (fc665bcb-576a-45c8-be8b-b591b66e1c4f)
2022-04-20 17:50:34,401 [INFO] rhsmcertd-worker:1883:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False

==> rhsmcertd.log <==
Wed Apr 20 17:50:34 2022 [INFO] (Auto-registration) performed successfully.

==> rhsm.log <==
2022-04-20 17:50:34,881 [INFO] rhsmcertd-worker:1979:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2022-04-20 17:50:35,064 [INFO] rhsmcertd-worker:1979:MainThread @entcertlib.py:132 - certs updated:
Total updates: 0
Found (local) serial# []
Expected (UEP) serial# []
Added (new)
  <NONE>
Deleted (rogue):
  <NONE>
2022-04-20 17:50:35,816 [INFO] rhsmcertd-worker:1979:MainThread @factlib.py:100 - Facts have been updated.

==> rhsmcertd.log <==
Wed Apr 20 17:50:36 2022 [INFO] (Cert Check) Certificates updated.

==> rhsm.log <==
2022-04-20 17:50:36,844 [INFO] rhsmcertd-worker:2077:MainThread @connection.py:915 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2022-04-20 17:50:37,345 [WARNING] rhsmcertd-worker:2077:MainThread @healinglib.py:99 - Found invalid entitlements for today: 2022-04-20 17:50:37.248034+00:00
2022-04-20 17:50:38,238 [INFO] rhsmcertd-worker:2077:MainThread @entcertlib.py:132 - certs updated:
Total updates: 1
Found (local) serial# []
Expected (UEP) serial# [4561077529736927638]
Added (new)
  [sn:4561077529736927638 (Red Hat Beta,) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat CodeReady Linux Builder for x86_64,) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Enterprise Linux Atomic Host,) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Enterprise Linux Atomic Host Beta,) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Oracle Java (for RHEL Server),) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Developer Tools (for RHEL Server),) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Developer Tools Beta (for RHEL Server),) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Developer Toolset (for RHEL Server),) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Software Collections (for RHEL Server),) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Enterprise Linux for x86_64,) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Software Collections Beta (for RHEL Server),) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (dotNET on RHEL (for RHEL Server),) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Ansible Engine,) @ /etc/pki/entitlement/4561077529736927638.pem]
  [sn:4561077529736927638 (Red Hat Enterprise Linux Server,) @ /etc/pki/entitlement/4561077529736927638.pem]
Deleted (rogue):
  <NONE>
2022-04-20 17:50:38,737 [INFO] rhsmcertd-worker:2077:MainThread @entcertlib.py:132 - certs updated:
Total updates: 0
Found (local) serial# [4561077529736927638L]
Expected (UEP) serial# [4561077529736927638]
Added (new)
  <NONE>
Deleted (rogue):
  <NONE>

==> rhsmcertd.log <==
Wed Apr 20 17:50:38 2022 [INFO] (Auto-attach) Certificates updated.

>> LGTM to AWS.
>> Verified against both Azure in Comment #21 and AWS in Comment #22.

Comment 27 errata-xmlrpc 2022-05-18 16:16:20 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-2022:4645