Bug 767790

Summary: Error: You need to register this system by running `register` command. Try register --help.
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: bkearney, jmolet, skallesh, spandey
Target Milestone: beta   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:04:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 738066    

Description John Sefler 2011-12-14 21:33:12 UTC
Description of problem:

The following error message can be improved...
[root@rhel58-server ~]# subscription-manager refresh
Error: You need to register this system by running `register` command.  Try register --help.

... because it is going to be interpreted to mean do this:
[root@rhel58-server ~]# register
-bash: register: command not found

Here are some suggested message improvements:
Error: You are not yet registered. Try `subscription-manager register` --help.
Error: You are not yet registered. Try subscription-manager register --help.
Error: You are not yet registered. Run `subscription-manager register`.
Error: You need to run `subscription-manager register` before attempting this command.


Version-Release number of selected component (if applicable):
[root@rhel58-server ~]# rpm -q subscription-manager
subscription-manager-0.98.5-1.el5

Comment 4 Shwetha Kallesh 2012-02-29 06:35:25 UTC
Moving bug to verified..

RPM used:

[root@dhcp201-162 ~]# rpm -qa | grep subscription-manager
subscription-manager-migration-0.99.8-1.git.8.cc12bc5.el6.x86_64
subscription-manager-0.99.8-1.git.8.cc12bc5.el6.x86_64
subscription-manager-firstboot-0.99.8-1.git.8.cc12bc5.el6.x86_64
subscription-manager-migration-data-1.12.1-1.git.4.7b6cf92.el6.noarch
subscription-manager-debuginfo-0.99.8-1.el6.x86_64
subscription-manager-gnome-0.99.8-1.git.8.cc12bc5.el6.x86_64


[root@dhcp201-162 ~]# subscription-manager refresh
This system is not yet registered. Try 'subscription-manager register --help' for more information.

Comment 6 errata-xmlrpc 2012-06-20 13:04:49 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.

http://rhn.redhat.com/errata/RHBA-2012-0804.html