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 1551386

Summary: The subscription-manager gui could not be launched by command line
Product: Red Hat Enterprise Linux 6 Reporter: Wei Liu <weiliu>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.10CC: bkearney, csnyder, jsefler, mkolaja, qianzhan, rjerrido, salmy, skallesh, wpoteat
Target Milestone: rcKeywords: Regression, TestBlocker, Triaged
Target Release: ---   
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: 2018-06-19 05:21:43 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:
Attachments:
Description Flags
the rhsm log
none
GUI can now be launched BY CLI none

Description Wei Liu 2018-03-05 02:38:31 UTC
Created attachment 1404082 [details]
the rhsm log

Description of problem:
The subscription-manager gui could not be launched by command line

Version-Release number of selected component (if applicable):
[root@dhcp-129-198 ~]# rpm -qa | egrep "subscription|rhsm"
subscription-manager-rhsm-1.20.10-2.el6.x86_64
subscription-manager-1.20.10-2.el6.x86_64
subscription-manager-firstboot-1.20.10-2.el6.x86_64
subscription-manager-rhsm-certificates-1.20.10-2.el6.x86_64
subscription-manager-gui-1.20.10-2.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Install build RHEL-6.10-DevelPhaseExit-1.0(RHEL-6.10-20180301.2)
2.Try to open the subscription-manager gui by command line
#subscription-manager-gui
3.Failed to open the gui with output message in terminal as below:
first member of each text/response id pair must be a string
4 Check the rhsm.log
Traceback (most recent call last):
  File "/usr/sbin/subscription-manager-gui", line 216, in <module>
    main = managergui.MainWindow(auto_launch_registration=options.register)
  File "/usr/lib64/python2.6/site-packages/subscription_manager/gui/managergui.py", line 252, in __init__
    self.import_sub_dialog = ImportSubDialog()
  File "/usr/lib64/python2.6/site-packages/subscription_manager/gui/importsub.py", line 42, in __init__
    _("Import"), ga_Gtk.ResponseType.OK))

Actual results:
As Step 3&4.

Expected results:
The subscription-manager gui was launched successfully

Additional info:
By the way,I tried the other way to open subscription-manager-gui:
Applications->System tools->Red Hat Subscription Manager but also failed.

Comment 5 Wei Liu 2018-03-23 07:49:08 UTC
As this issue has been fixed on RHEL-6.10-20180321.1,so please set the status to ON_QA,so we can verify it on timely.Thank you~

Comment 6 Shwetha Kallesh 2018-03-26 08:48:26 UTC
Created attachment 1413015 [details]
GUI can now be launched BY CLI

Preliminary Verification:

GUI can be launched by Command line with following RHSM version:

[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.3.4-1
subscription management rules: 5.26
subscription-manager: 1.20.10-3.el6

Comment 8 Wei Liu 2018-03-27 01:41:43 UTC
Verifying version:
[root@dhcp-128-6 ~]# subscription-manager version
[root@cloud-qe-16-vm-01 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.2.2-1
subscription management rules: 5.26
subscription-manager: 1.20.10-3.el6


Verification:
1.Install build RHEL-6.10-20180321.1,and open the subscription-manager gui by command line.
2.The subscription-manager gui is launched successfully.

So this issue is verified and move the status to "verified".

Comment 10 Wei Liu 2018-04-20 01:50:41 UTC
This issue had been verified on RHEL-6.10-20180321.1 and the subscription-manager gui can be launched successfully on the latest build RHEL-6.10-20180418.0.So move the status to "verified".

Comment 13 errata-xmlrpc 2018-06-19 05:21:43 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:1916