Bug 1246146

Summary: The subscription-manager-initial-setup-addon should depend on subscription-manager-gui
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kolman <mkolman>
Component: subscription-managerAssignee: Chris "Ceiu" Rog <crog>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: crog, mkolman, skallesh
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:49:34 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 Martin Kolman 2015-07-23 14:28:33 UTC
Description of problem:
The subscription-manager-initial-setup-addon uses Python modules from the subscription-manager-gui but does not declare a dependency on it.

Version-Release number of selected component (if applicable):
subscription-manager-initial-setup-addon-1.15.6-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. make sure no subscription-manager-* packages are installed
2. install subscription-manager-initial-setup-addon
3. try to use it

Actual results:
Addon does not show up in Initial Setup and checking Journal shows an exception due to missing Python modules contained in the subscription-manager-gui module.

Expected results:
Installing the subscription-manager-initial-setup-addon package also installs subscription-manager-gui and the Subscription Manager addon correctly shows up in Initial Setup.

Comment 2 John Sefler 2015-07-23 15:52:37 UTC
Agreed...

[root@jsefler-7 ~]# rpm -q subscription-manager-initial-setup-addon
subscription-manager-initial-setup-addon-1.15.6-1.el7.x86_64

[root@jsefler-7 ~]# rpm -qvR subscription-manager-initial-setup-addon
manual: initial-setup
rpmlib: rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib: rpmlib(FileDigests) <= 4.6.0-1
rpmlib: rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
manual: subscription-manager = 1.15.6-1.el7      <============ 
rpmlib: rpmlib(PayloadIsXz) <= 5.2-1


Expected the requires list above to include subscription-manager-gui instead of subscription-manager.

Comment 3 Chris "Ceiu" Rog 2015-07-23 19:44:26 UTC
commit badc9c482668e85ab1472e50a6dda09813839f8d
Author: Chris Rog <crog>
Date:   Thu Jul 23 15:35:00 2015 -0400

    1246146: Changed initial-setup-addon package requirement from subman to subman-gui

Comment 5 Shwetha Kallesh 2015-07-28 09:28:55 UTC
Verified!!


Version:
subscription-manager-initial-setup-addon-1.15.9-2.el7.x86_64


[root@dhcp35-236 ~]# rpm -qvR subscription-manager-initial-setup-addon
manual: initial-setup-gui
rpmlib: rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib: rpmlib(FileDigests) <= 4.6.0-1
rpmlib: rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
manual: subscription-manager-gui = 1.15.9-2.el7
rpmlib: rpmlib(PayloadIsXz) <= 5.2-1


[root@dhcp35-236 ~]# rpm -e subscription-manager-gui-1.15.9-2.el7.x86_64
error: Failed dependencies:
	subscription-manager-gui = 1.15.9-2.el7 is needed by (installed) subscription-manager-initial-setup-addon-1.15.9-2.el7.x86_64

Comment 6 errata-xmlrpc 2015-11-19 11:49:34 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