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 1241184 - subscription-manager version reports "RPM_VERSION" instead of actual version
Summary: subscription-manager version reports "RPM_VERSION" instead of actual version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Chris "Ceiu" Rog
QA Contact: John Sefler
URL:
Whiteboard:
: 1240225 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-08 16:34 UTC by John Sefler
Modified: 2015-11-19 11:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:49:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
subscription-manager-gui version (309.87 KB, image/png)
2015-07-10 07:13 UTC, Shwetha Kallesh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2122 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-11-19 10:31:14 UTC

Description John Sefler 2015-07-08 16:34:01 UTC
Description of problem:


Version-Release number of selected component (if applicable):
subscription-manager-1.15.3-1

How reproducible:
always


Steps to Reproduce:
[root@jsefler-7workstation ~]# rpm -q subscription-manager python-rhsm
subscription-manager-1.15.2-1.el7.x86_64
python-rhsm-1.15.2-1.el7.x86_64
[root@jsefler-7workstation ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.0.3-1
subscription management rules: 5.16
subscription-manager: 1.15.2-1.el7
python-rhsm: 1.15.2-1.el7

That^ version of subscription-manager reported above is correct and expected.
However after upgrading to a newer nvr....

[root@jsefler-7workstation ~]# rpm -q subscription-manager python-rhsm
subscription-manager-1.15.3-1.el7.x86_64
python-rhsm-1.15.3-1.el7.x86_64
[root@jsefler-7workstation ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.0.3-1
subscription management rules: 5.16
subscription-manager: RPM_VERSION
python-rhsm: 1.15.3-1.el7

That ^ version of subscription-manager package is incomplete

Actual results:
RPM_VERSION

Expected results:
subscription-manager-1.15.3-1.el7

Additional info:

Comment 2 Chris "Ceiu" Rog 2015-07-08 17:12:43 UTC
commit 7469467bc9e0b178b624e33ba179327b0179e12d
Author: Chris Rog <crog>
Date:   Wed Jul 8 12:55:09 2015 -0400

    1241184: Updated Makefile to prevent version string clobbering

Comment 3 Adrian Likins 2015-07-08 20:50:16 UTC
*** Bug 1240225 has been marked as a duplicate of this bug. ***

Comment 5 Shwetha Kallesh 2015-07-10 07:13:06 UTC
Created attachment 1050530 [details]
subscription-manager-gui version

Marking verified!


[root@dhcp35-236 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.0.3-1
subscription management rules: 5.16
subscription-manager: 1.15.6-1.el7
python-rhsm: 1.15.3-1.el7

Comment 6 errata-xmlrpc 2015-11-19 11:49:07 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://rhn.redhat.com/errata/RHBA-2015-2122.html


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