Bug 1508591

Summary: subscription-manager version module should no longer report the installed version of python-rhsm
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Jiri Hnidek <jhnidek>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: medium    
Version: 7.5CC: jhnidek, khowell, qianzhan, rjerrido, skallesh, weiliu
Target Milestone: rcKeywords: EasyFix, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.20.6-1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 09:52:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description John Sefler 2017-11-01 18:12:38 UTC
Description of problem:
As a consequence of the "Move python-rhsm build into subscription-manager" commit f445b6486a962d12185a5afe69e768d0a605e175, the subscription-manager version module should either...
  1. no longer report the installed rpm version of python-rhsm, or
  2. be changed to report the installed version of subscription-manager-rhsm

I vote for 1.


Version-Release number of selected component (if applicable):
[root@jsefler-rhel7 ~]# rpm -q subscription-manager subscription-manager-rhsm
subscription-manager-1.20.4-1.el7.x86_64
subscription-manager-rhsm-1.20.4-1.el7.x86_64


How reproducible:


Steps to Reproduce:
[root@jsefler-rhel7 ~]# subscription-manager version 
server type: Red Hat Subscription Management
subscription management server: 2.2.0-1
subscription management rules: 5.26
subscription-manager: 1.20.4-1.el7
python-rhsm: 0.0.0-1   <=================== LOOK HERE



Actual results:
  above

Expected results:
  I suggest removing python-rhsm: 0.0.0-1

Additional info:

Comment 2 Chris Snyder 2017-11-16 15:27:41 UTC
*** Bug 1511742 has been marked as a duplicate of this bug. ***

Comment 4 Shwetha Kallesh 2017-11-29 10:01:34 UTC
Verification:

Doesnot display python-rhsm version anymore , so marking bug as verified

[root@dhcp35-10 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription management rules: Unknown
subscription-manager: 1.20.7-1.el7

Comment 7 errata-xmlrpc 2018-04-10 09:52:05 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-2018:0681