Bug 749332
Summary: | subscription-manager returns different error messages for same issue | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Eric Sammons <esammons> | ||||
Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> | ||||
Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.8 | CC: | bkearney, cduryee, jmolet, jsefler, skallesh, wpoteat | ||||
Target Milestone: | rc | ||||||
Target Release: | 5.8 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.98.5-1.el5 | Doc Type: | Bug Fix | ||||
Doc Text: |
No description necessary
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-02-21 06:42:25 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 715031, 769266 | ||||||
Attachments: |
|
Description
Eric Sammons
2011-10-26 18:13:59 UTC
Moreover these error messages should be consistently written to stderr with exitCode 255 Created attachment 530354 [details]
Very simple patch, minimal testing conducted. Could still use a new line for neatness.
patch could easily be modified to change sys.exit(-1) to sys.exit(255). Moving the bug to verified.. RPM used: [root@tiger ~]# rpm -qa | grep subscription-manager subscription-manager-gnome-0.98.3-1.git.16.14460bc.el5_7 subscription-manager-firstboot-0.98.3-1.git.16.14460bc.el5_7 subscription-manager-migration-0.98.3-1.git.16.14460bc.el5_7 subscription-manager-0.98.3-1.git.16.14460bc.el5_7 Steps to reproduce: [root@tiger ~]# subscription-manager identity Error: You need to register this system by running `register` command. Try register --help. [root@tiger ~]# subscription-manager refresh Error: You need to register this system by running `register` command. Try register --help. [root@tiger ~]# subscription-manager redeem Error: You need to register this system by running `register` command. Try register --help. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description necessary 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. http://rhn.redhat.com/errata/RHBA-2012-0154.html |