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 1838690

Summary: -%{RELEASE}" as well as the ".el8 is missing from the subscription-manager version report
Product: Red Hat Enterprise Linux 8 Reporter: Rehana <redakkan>
Component: subscription-managerAssignee: Jiri Hnidek <jhnidek>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: arpandey, jhnidek
Target Milestone: rcKeywords: Triaged
Target Release: 8.3Flags: pm-rhel: mirror+
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: 2020-11-04 01:39:09 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:

Description Rehana 2020-05-21 15:17:49 UTC
This bug was initially created as a copy of Bug #1837244

I am copying this bug because: 



Description of problem:
-%{RELEASE}" as well as the ".el7 is missing from the subscription-manager version report

Version-Release number of selected component (if applicable):
[root@ibm-x3650m4-01-vm-02 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.27-1
subscription management rules: 5.37
subscription-manager: 1.24.37

How reproducible:

[root@ibm-x3650m4-01-vm-02 ~]# rpm -qa | grep subscription-manager
subscription-manager-1.24.37-1.el7.x86_64


Steps to Reproduce:
[root@ibm-x3650m4-01-vm-02 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.27-1
subscription management rules: 5.37
subscription-manager: 1.24.37
                          ^^ note that -1.el7 is missing

Actual results:
subscription-manager: 1.24.37

Expected results:

subscription-manager: 1.24.37-1.el7

Additional info:

Comment 3 Archana Pandey 2020-06-25 10:39:03 UTC
Issue reproduced on RHE-8.3, subscription-manager-1.27.4-1.el8.x86_64

Beaker Test information:
                         HOSTNAME=kvm-03-guest11.hv2.lab.eng.bos.redhat.com
                            JOBID=4380853
                         RECIPEID=8481724
                    RESULT_SERVER=
                           DISTRO=RHEL-8.3.0-20200608.0
                     ARCHITECTURE=x86_64

Version-Release number of selected component (if applicable):
[root@kvm-03-guest11 ~]# rpm -qa subscription-manager
subscription-manager-1.27.4-1.el8.x86_64
[root@kvm-03-guest11 ~]# 


Issue:
[root@kvm-03-guest11 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.27-1
subscription management rules: 5.39
subscription-manager: 1.27.4   <<<<<<<<<<<<<<<<  -1.el8 is missing

[root@kvm-03-guest11 ~]# vim /var/log/rhsm/rhsm.log

2020-06-25 06:15:32,823 [DEBUG] subscription-manager:16515:MainThread @files.py:365 - Successfully read cached syspurpose contents.
2020-06-25 06:15:32,823 [DEBUG] subscription-manager:16515:MainThread @managercli.py:501 - X-Correlation-ID: d05eca2855bf4a669615d36baf586e70
2020-06-25 06:15:32,824 [DEBUG] subscription-manager:16515:MainThread @managercli.py:390 - Client Versions: {'subscription-manager': '1.27.4'}  <<<<<<<<<<<<<< -%{RELEASE}" and .el8 is missing
2020-06-25 06:15:32,824 [DEBUG] subscription-manager:16515:MainThread @connection.py:169 - Environment variable NO_PROXY= will be used


Actual results:
subscription-manager: 1.27.4

Expected results:

subscription-manager: 1.27.4-1.el8

===========================================================================================================================================

Issue Verification on RHEL 8.3 subscription-manager-1.27.8-1.el8.x86_64

      Beaker Test information:
                         HOSTNAME=kvm-01-guest09.rhts.eng.tlv.redhat.com
                            JOBID=4380519
                         RECIPEID=8481145
                    RESULT_SERVER=
                           DISTRO=RHEL-8.3.0-20200625.n.0
                     ARCHITECTURE=x86_64

verification steps:

[root@kvm-01-guest09 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.27-1
subscription management rules: 5.39
subscription-manager: 1.27.8-1.el8           <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -%{RELEASE}" and .el8 is present
[root@kvm-01-guest09 ~]# 

[root@kvm-01-guest09 ~]# vim /var/log/rhsm/rhsm.log
2020-06-25 13:26:53,901 [DEBUG] subscription-manager:22451:MainThread @files.py:363 - Successfully read cached syspurpose contents.
2020-06-25 13:26:53,901 [DEBUG] subscription-manager:22451:MainThread @managercli.py:501 - X-Correlation-ID: bcee265a64df48c294550b65f04ac655
2020-06-25 13:26:53,901 [DEBUG] subscription-manager:22451:MainThread @managercli.py:390 - Client Versions: {'subscription-manager': '1.27.8-1.el8'}   <<<<<<<< -%{RELEASE}" and .el8 is present
2020-06-25 13:26:53,901 [DEBUG] subscription-manager:22451:MainThread @connection.py:169 - Environment variable NO_PROXY= will be used


Actual results:
subscription-manager: 1.27.8-1.el8 

Expected results:

subscription-manager: 1.27.8-1.el8

Comment 6 errata-xmlrpc 2020-11-04 01:39:09 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-2020:4460