Bug 1691100

Summary: Rebase subscription-manager component to the latest upstream branch for RHEL 8.1
Product: Red Hat Enterprise Linux 8 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.1CC: csnyder, redakkan
Target Milestone: rcKeywords: Rebase, Triaged
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:15:36 UTC Type: Bug
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:    
Bug Blocks: 1701002    

Description John Sefler 2019-03-20 20:57:22 UTC
Rebase rhel component 'subscription-manager' to the latest upstream version for the benefit of RHEL-8.1.

This bug will be used by the sst_subscription_manager subsystem team as the default (first) Bugzilla for the subscription-manager advisory that will be filed in the Errata Tool for RHEL-8.1.0.

Comment 2 Rehana 2019-05-22 10:43:47 UTC
Verifying upgrade from a RHEL8.0 system to RHEL-8.1.0-InternalSnapshot-2.0 ( RHEL-8.1.0-20190521.3)

RHEL8.0 subscription manager version :
=====================================
# rpm -qa | grep subscription-manager
subscription-manager-1.23.8-35.el8.x86_64
python3-subscription-manager-rhsm-1.23.8-35.el8.x86_64
subscription-manager-rhsm-certificates-1.23.8-35.el8.x86_64
dnf-plugin-subscription-manager-1.23.8-35.el8.x86_64

Repo pointing to internal snapshot compose : 
===========================================
[root@dell-r730-001-guest23 ~]# cat /etc/yum.repos.d/beaker-BaseOS.repo 
[beaker-BaseOS]
name=beaker-BaseOS
baseurl=http://download.eng.pek2.redhat.com/rel-eng/rhel-8/RHEL-8/RHEL-8.1.0-InternalSnapshot-2.0/compose/BaseOS/x86_64/os/
enabled=1
gpgcheck=0
skip_if_unavailable=1


update subscription-manager 
=============================
[root@dell-r730-001-guest23 ~]# yum update subscription-manager
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
beaker-BaseOS                                                                                                                                                                      352 kB/s | 2.2 MB     00:06    
Last metadata expiration check: 0:00:01 ago on Wednesday 22 May 2019 06:40:31 AM EDT.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                                Arch                                   Version                                         Repository                                     Size
===================================================================================================================================================================================================================
Upgrading:
 dnf-plugin-subscription-manager                                        x86_64                                 1.25.6-1.el8                                    beaker-BaseOS                                 268 k
 python3-subscription-manager-rhsm                                      x86_64                                 1.25.6-1.el8                                    beaker-BaseOS                                 333 k
 subscription-manager                                                   x86_64                                 1.25.6-1.el8                                    beaker-BaseOS                                 1.1 M
 subscription-manager-rhsm-certificates                                 x86_64                                 1.25.6-1.el8                                    beaker-BaseOS                                 241 k

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

Total download size: 1.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): dnf-plugin-subscription-manager-1.25.6-1.el8.x86_64.rpm                                                                                                                      83 kB/s | 268 kB     00:03    
(2/4): python3-subscription-manager-rhsm-1.25.6-1.el8.x86_64.rpm                                                                                                                    93 kB/s | 333 kB     00:03    
(3/4): subscription-manager-1.25.6-1.el8.x86_64.rpm                                                                                                                                226 kB/s | 1.1 MB     00:04    
(4/4): subscription-manager-rhsm-certificates-1.25.6-1.el8.x86_64.rpm                                                                                                               97 kB/s | 241 kB     00:02    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              337 kB/s | 1.9 MB     00:05     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Running scriptlet: subscription-manager-rhsm-certificates-1.25.6-1.el8.x86_64                                                                                                                                1/1 
  Upgrading        : subscription-manager-rhsm-certificates-1.25.6-1.el8.x86_64                                                                                                                                1/8 
  Upgrading        : python3-subscription-manager-rhsm-1.25.6-1.el8.x86_64                                                                                                                                     2/8 
  Upgrading        : dnf-plugin-subscription-manager-1.25.6-1.el8.x86_64                                                                                                                                       3/8 
  Upgrading        : subscription-manager-1.25.6-1.el8.x86_64                                                                                                                                                  4/8 
  Running scriptlet: subscription-manager-1.25.6-1.el8.x86_64                                                                                                                                                  4/8 
  Running scriptlet: subscription-manager-1.23.8-35.el8.x86_64                                                                                                                                                 5/8 
  Cleanup          : subscription-manager-1.23.8-35.el8.x86_64                                                                                                                                                 5/8 
  Running scriptlet: subscription-manager-1.23.8-35.el8.x86_64                                                                                                                                                 5/8 
  Cleanup          : python3-subscription-manager-rhsm-1.23.8-35.el8.x86_64                                                                                                                                    6/8 
  Cleanup          : subscription-manager-rhsm-certificates-1.23.8-35.el8.x86_64                                                                                                                               7/8 
  Cleanup          : dnf-plugin-subscription-manager-1.23.8-35.el8.x86_64                                                                                                                                      8/8 
  Running scriptlet: dnf-plugin-subscription-manager-1.23.8-35.el8.x86_64                                                                                                                                      8/8 
  Verifying        : dnf-plugin-subscription-manager-1.25.6-1.el8.x86_64                                                                                                                                       1/8 
  Verifying        : dnf-plugin-subscription-manager-1.23.8-35.el8.x86_64                                                                                                                                      2/8 
  Verifying        : python3-subscription-manager-rhsm-1.25.6-1.el8.x86_64                                                                                                                                     3/8 
  Verifying        : python3-subscription-manager-rhsm-1.23.8-35.el8.x86_64                                                                                                                                    4/8 
  Verifying        : subscription-manager-1.25.6-1.el8.x86_64                                                                                                                                                  5/8 
  Verifying        : subscription-manager-1.23.8-35.el8.x86_64                                                                                                                                                 6/8 
  Verifying        : subscription-manager-rhsm-certificates-1.25.6-1.el8.x86_64                                                                                                                                7/8 
  Verifying        : subscription-manager-rhsm-certificates-1.23.8-35.el8.x86_64                                                                                                                               8/8 
Installed products updated.

Upgraded:
  dnf-plugin-subscription-manager-1.25.6-1.el8.x86_64  python3-subscription-manager-rhsm-1.25.6-1.el8.x86_64  subscription-manager-1.25.6-1.el8.x86_64  subscription-manager-rhsm-certificates-1.25.6-1.el8.x86_64 

Complete!

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.3.17-1
subscription management rules: 5.35
subscription-manager: 1.25.6-1.el8

The above steps , demonstrates that the subscription-manager packages has been rebased from version 1.23 to 1.25 for rhel8.1.

Based on the above observations , marking this bug to verified.

Comment 4 errata-xmlrpc 2019-11-05 22:15:36 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, 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-2019:3561