Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2044629

Summary: Simple Content Access to Portal, EUS not working without manually attaching sub
Product: Red Hat Enterprise Linux 7 Reporter: Craig Donnelly <cdonnell>
Component: subscription-managerAssignee: Pino Toscano <ptoscano>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact:
Priority: urgent    
Version: 7.7CC: csnyder, jhnidek, jreznik, jsefler, lmiksik, redakkan, rhsm-qe, rjerrido, skallesh, tquinlan
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: subscription-manager-1.24.13-5.el7_7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1924921 Environment:
Last Closed: 2022-03-01 12:45:46 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: 1924921    
Bug Blocks: 2025564    

Comment 11 Craig Donnelly 2022-02-03 19:04:11 UTC
>> Pre-verification against scratch build on 7.7 EUS
>> Reproducing issue:

[root@dhcp-8-29-183 1.24.13-4]# rpm -q subscription-manager
subscription-manager-1.24.13-4.el7_7.x86_64
[root@dhcp-8-29-183 1.24.13-4]# subscription-manager release
Release not set
[root@dhcp-8-29-183 1.24.13-4]# subscription-manager release --list
No release versions available, please check subscriptions.
[root@dhcp-8-29-183 1.24.13-4]# subscription-manager release --set 7.7
No releases match '7.7'.  Consult 'release --list' for a full listing.
[root@dhcp-8-29-183 1.24.13-4]# yum repolist -v | grep baseurl
Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/os ------->> $releasver statically remaining as 7Server.
Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os

>> Updating and testing scratch:

[root@dhcp-8-29-183 1.24.13-4]# yum localinstall ./python-syspurpose-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm ./subscription-manager-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm ./subscription-manager-rhsm-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm ./subscription-manager-rhsm-certificates-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm 
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Examining ./python-syspurpose-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm: python-syspurpose-1.24.13-4.git.8997.8de791a.el7_7.x86_64
Marking ./python-syspurpose-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm as an update to python-syspurpose-1.24.13-4.el7_7.x86_64
Examining ./subscription-manager-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm: subscription-manager-1.24.13-4.git.8997.8de791a.el7_7.x86_64
Marking ./subscription-manager-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm as an update to subscription-manager-1.24.13-4.el7_7.x86_64
Examining ./subscription-manager-rhsm-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm: subscription-manager-rhsm-1.24.13-4.git.8997.8de791a.el7_7.x86_64
Marking ./subscription-manager-rhsm-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm as an update to subscription-manager-rhsm-1.24.13-4.el7_7.x86_64
Examining ./subscription-manager-rhsm-certificates-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm: subscription-manager-rhsm-certificates-1.24.13-4.git.8997.8de791a.el7_7.x86_64
Marking ./subscription-manager-rhsm-certificates-1.24.13-4.git.8997.8de791a.el7_7.x86_64.rpm as an update to subscription-manager-rhsm-certificates-1.24.13-4.el7_7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package python-syspurpose.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package python-syspurpose.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7 will be an update
---> Package subscription-manager.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package subscription-manager.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7 will be an update
---> Package subscription-manager-rhsm.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package subscription-manager-rhsm.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7 will be an update
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                 Arch                    Version                                              Repository                                                                                        Size
=============================================================================================================================================================================================================================================
Updating:
 python-syspurpose                                       x86_64                  1.24.13-4.git.8997.8de791a.el7_7                     /python-syspurpose-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                       126 k
 subscription-manager                                    x86_64                  1.24.13-4.git.8997.8de791a.el7_7                     /subscription-manager-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                    4.4 M
 subscription-manager-rhsm                               x86_64                  1.24.13-4.git.8997.8de791a.el7_7                     /subscription-manager-rhsm-1.24.13-4.git.8997.8de791a.el7_7.x86_64                               407 k
 subscription-manager-rhsm-certificates                  x86_64                  1.24.13-4.git.8997.8de791a.el7_7                     /subscription-manager-rhsm-certificates-1.24.13-4.git.8997.8de791a.el7_7.x86_64                  7.2 k

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

Total size: 4.9 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.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                            1/8 
  Updating   : subscription-manager-rhsm-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                                         2/8 
  Updating   : python-syspurpose-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                                                 3/8 
  Updating   : subscription-manager-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                                              4/8 
  Cleanup    : subscription-manager-1.24.13-4.el7_7.x86_64                                                                                                                                                                               5/8 
  Cleanup    : subscription-manager-rhsm-1.24.13-4.el7_7.x86_64                                                                                                                                                                          6/8 
  Cleanup    : subscription-manager-rhsm-certificates-1.24.13-4.el7_7.x86_64                                                                                                                                                             7/8 
  Cleanup    : python-syspurpose-1.24.13-4.el7_7.x86_64                                                                                                                                                                                  8/8 
  Verifying  : subscription-manager-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                                              1/8 
  Verifying  : subscription-manager-rhsm-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                                         2/8 
  Verifying  : python-syspurpose-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                                                 3/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.13-4.git.8997.8de791a.el7_7.x86_64                                                                                                                                            4/8 
  Verifying  : python-syspurpose-1.24.13-4.el7_7.x86_64                                                                                                                                                                                  5/8 
  Verifying  : subscription-manager-rhsm-1.24.13-4.el7_7.x86_64                                                                                                                                                                          6/8 
  Verifying  : subscription-manager-1.24.13-4.el7_7.x86_64                                                                                                                                                                               7/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.13-4.el7_7.x86_64                                                                                                                                                             8/8 
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article 

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.


Updated:
  python-syspurpose.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7                              subscription-manager.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7         subscription-manager-rhsm.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7        
  subscription-manager-rhsm-certificates.x86_64 0:1.24.13-4.git.8997.8de791a.el7_7        

Complete!
[root@dhcp-8-29-183 1.24.13-4]# subscription-manager release --list
+-------------------------------------------+
          Available Releases
+-------------------------------------------+
7.0
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9
7Server
[root@dhcp-8-29-183 1.24.13-4]# subscription-manager release --set 7.7
Release set to: 7.7
[root@dhcp-8-29-183 1.24.13-4]# subscription-manager release
Release: 7.7
[root@dhcp-8-29-183 1.24.13-4]# yum repolist -v
Not loading "rhnplugin" plugin, as it is disabled
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Config time: 10.771
Yum version: 3.4.3
rhel-7-server-eus-rpms                                                                                                                                                                                                | 3.5 kB  00:00:00     
rhel-7-server-rpms                                                                                                                                                                                                    | 3.5 kB  00:00:00     
Setting up Package Sacks
pkgsack time: 0.026

Repo-id      : rhel-7-server-eus-rpms/x86_64
Repo-name    : Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs)
Repo-revision: 1631118883
Repo-updated : Wed Sep  8 12:34:40 2021
Repo-pkgs    : 28,120
Repo-size    : 46 G
Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/7/7.7/x86_64/os/
Repo-expire  : 86,400 second(s) (last: Thu Feb  3 13:45:26 2022)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo

Repo-id      : rhel-7-server-rpms/x86_64
Repo-name    : Red Hat Enterprise Linux 7 Server (RPMs)
Repo-revision: 1643647620
Repo-updated : Mon Jan 31 11:46:57 2022
Repo-pkgs    : 32,677
Repo-size    : 55 G
Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/7/7.7/x86_64/os/
Repo-expire  : 86,400 second(s) (last: Thu Feb  3 13:45:26 2022)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo

repolist: 60,810

>> LGTM, pre-verified.

Comment 14 Craig Donnelly 2022-02-08 15:56:47 UTC
>> Verifying subscription-manager-1.24.13-5 against RHEL 7.7 EUS

>> Reproducing issue:

[root@dhcp-8-29-183 1.24.13-5]# rpm -q subscription-manager
subscription-manager-1.24.13-4.el7_7.x86_64

[root@dhcp-8-29-183 1.24.13-5]# subscription-manager release
Release not set
[root@dhcp-8-29-183 1.24.13-5]# subscription-manager release --set 7.7
No releases match '7.7'.  Consult 'release --list' for a full listing.
[root@dhcp-8-29-183 1.24.13-5]# subscription-manager release --list
No release versions available, please check subscriptions.

[root@dhcp-8-29-183 1.24.13-5]# yum repolist -v | grep baseurl
Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os

>> Updating + testing new build:

[root@dhcp-8-29-183 1.24.13-5]# yum localinstall ./subscription-manager-1.24.13-5.el7_7.x86_64.rpm ./subscription-manager-rhsm-1.24.13-5.el7_7.x86_64.rpm ./subscription-manager-rhsm-certificates-1.24.13-5.el7_7.x86_64.rpm ./python-syspurpose-1.24.13-5.el7_7.x86_64.rpm 
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Examining ./subscription-manager-1.24.13-5.el7_7.x86_64.rpm: subscription-manager-1.24.13-5.el7_7.x86_64
Marking ./subscription-manager-1.24.13-5.el7_7.x86_64.rpm as an update to subscription-manager-1.24.13-4.el7_7.x86_64
Examining ./subscription-manager-rhsm-1.24.13-5.el7_7.x86_64.rpm: subscription-manager-rhsm-1.24.13-5.el7_7.x86_64
Marking ./subscription-manager-rhsm-1.24.13-5.el7_7.x86_64.rpm as an update to subscription-manager-rhsm-1.24.13-4.el7_7.x86_64
Examining ./subscription-manager-rhsm-certificates-1.24.13-5.el7_7.x86_64.rpm: subscription-manager-rhsm-certificates-1.24.13-5.el7_7.x86_64
Marking ./subscription-manager-rhsm-certificates-1.24.13-5.el7_7.x86_64.rpm as an update to subscription-manager-rhsm-certificates-1.24.13-4.el7_7.x86_64
Examining ./python-syspurpose-1.24.13-5.el7_7.x86_64.rpm: python-syspurpose-1.24.13-5.el7_7.x86_64
Marking ./python-syspurpose-1.24.13-5.el7_7.x86_64.rpm as an update to python-syspurpose-1.24.13-4.el7_7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package python-syspurpose.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package python-syspurpose.x86_64 0:1.24.13-5.el7_7 will be an update
---> Package subscription-manager.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package subscription-manager.x86_64 0:1.24.13-5.el7_7 will be an update
---> Package subscription-manager-rhsm.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package subscription-manager-rhsm.x86_64 0:1.24.13-5.el7_7 will be an update
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.13-4.el7_7 will be updated
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.13-5.el7_7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                          Arch                             Version                                    Repository                                                                                Size
=============================================================================================================================================================================================================================================
Updating:
 python-syspurpose                                                x86_64                           1.24.13-5.el7_7                            /python-syspurpose-1.24.13-5.el7_7.x86_64                                                126 k
 subscription-manager                                             x86_64                           1.24.13-5.el7_7                            /subscription-manager-1.24.13-5.el7_7.x86_64                                             4.4 M
 subscription-manager-rhsm                                        x86_64                           1.24.13-5.el7_7                            /subscription-manager-rhsm-1.24.13-5.el7_7.x86_64                                        407 k
 subscription-manager-rhsm-certificates                           x86_64                           1.24.13-5.el7_7                            /subscription-manager-rhsm-certificates-1.24.13-5.el7_7.x86_64                           7.2 k

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

Total size: 4.9 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : python-syspurpose-1.24.13-5.el7_7.x86_64                                                                                                                                                                                  1/8 
  Updating   : subscription-manager-rhsm-certificates-1.24.13-5.el7_7.x86_64                                                                                                                                                             2/8 
  Updating   : subscription-manager-rhsm-1.24.13-5.el7_7.x86_64                                                                                                                                                                          3/8 
  Updating   : subscription-manager-1.24.13-5.el7_7.x86_64                                                                                                                                                                               4/8 
  Cleanup    : subscription-manager-1.24.13-4.el7_7.x86_64                                                                                                                                                                               5/8 
  Cleanup    : subscription-manager-rhsm-1.24.13-4.el7_7.x86_64                                                                                                                                                                          6/8 
  Cleanup    : subscription-manager-rhsm-certificates-1.24.13-4.el7_7.x86_64                                                                                                                                                             7/8 
  Cleanup    : python-syspurpose-1.24.13-4.el7_7.x86_64                                                                                                                                                                                  8/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.13-5.el7_7.x86_64                                                                                                                                                             1/8 
  Verifying  : python-syspurpose-1.24.13-5.el7_7.x86_64                                                                                                                                                                                  2/8 
  Verifying  : subscription-manager-1.24.13-5.el7_7.x86_64                                                                                                                                                                               3/8 
  Verifying  : subscription-manager-rhsm-1.24.13-5.el7_7.x86_64                                                                                                                                                                          4/8 
  Verifying  : subscription-manager-rhsm-1.24.13-4.el7_7.x86_64                                                                                                                                                                          5/8 
  Verifying  : python-syspurpose-1.24.13-4.el7_7.x86_64                                                                                                                                                                                  6/8 
  Verifying  : subscription-manager-1.24.13-4.el7_7.x86_64                                                                                                                                                                               7/8 
  Verifying  : subscription-manager-rhsm-certificates-1.24.13-4.el7_7.x86_64                                                                                                                                                             8/8 
rhel-7-server-rpms/7Server/x86_64                                                                                                                                                                                     | 3.5 kB  00:00:00     
rhel-7-server-rpms/7Server/x86_64/updateinfo                                                                                                                                                                          | 4.1 MB  00:00:00     
rhel-7-server-rpms/7Server/x86_64/primary_db                                                                                                                                                                          |  86 MB  00:00:02     

Updated:
  python-syspurpose.x86_64 0:1.24.13-5.el7_7         subscription-manager.x86_64 0:1.24.13-5.el7_7         subscription-manager-rhsm.x86_64 0:1.24.13-5.el7_7         subscription-manager-rhsm-certificates.x86_64 0:1.24.13-5.el7_7        

Complete!

[root@dhcp-8-29-183 1.24.13-5]# subscription-manager release
Release not set

[root@dhcp-8-29-183 1.24.13-5]# subscription-manager release --set 7.7
Release set to: 7.7

[root@dhcp-8-29-183 1.24.13-5]# subscription-manager release --list
+-------------------------------------------+
          Available Releases
+-------------------------------------------+
7.0
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9
7Server

[root@dhcp-8-29-183 1.24.13-5]# yum repolist -v | grep baseurl
Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/7/7.7/x86_64/os

[root@dhcp-8-29-183 1.24.13-5]# subscription-manager release
Release: 7.7

>> Releases sets now and configures baseurl properly. LGTM. Verified.

Comment 18 errata-xmlrpc 2022-03-01 12:45:46 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-2022:0714