Bug 826856

Summary: subscription-manager service-level --org=admin should say ""Error: --org is only applicable with --list"
Product: Red Hat Enterprise Linux 5 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: awood, bkearney, jmolet
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 03:53:23 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:
Bug Depends On:    
Bug Blocks: 771748    

Description Shwetha Kallesh 2012-05-31 07:02:18 UTC
Description of problem:

subscription-manager service-level --org=admin should say "Error: --org is only applicable with --list"

Version-Release number of selected component (if applicable):
[root@dhcp201-111 ~]# rpm -qa | grep subscription-manager
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gnome-1.0.2-1.git.2.2b23e6e.el5
subscription-manager-migration-1.0.2-1.git.2.2b23e6e.el5
subscription-manager-firstboot-1.0.2-1.git.2.2b23e6e.el5
subscription-manager-1.0.2-1.git.2.2b23e6e.el5


How reproducible:


Steps to Reproduce:
1.subscription-manager service-level --org=admin
2.
3.
  
Actual results:
Current service level: 

Expected results:
Error: --org is only applicable with --list

Additional info:

Comment 1 Bryan Kearney 2012-06-25 20:21:51 UTC
Adding the warning:

[root@bkearney yum.repos.d]# subscription-manager service-level --org admin
Error: --org is only supported with the --list command

Comment 2 Bryan Kearney 2012-06-27 00:25:59 UTC
fixed in master at 1e9f431513d1c49b1c400e67ebac40f1fb399bd7

Comment 3 RHEL Program Management 2012-06-28 15:19:05 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 4 Shwetha Kallesh 2012-07-02 09:10:57 UTC
Marking verified!

RPM version:
[root@dhcp201-196 ~]# rpm -qa | grep subscription-manager
subscription-manager-migration-1.0.5-1.git.31.a3d5de2.el5
subscription-manager-firstboot-1.0.5-1.git.31.a3d5de2.el5
subscription-manager-1.0.5-1.git.31.a3d5de2.el5
subscription-manager-migration-data-1.11.2.1-1.git.8.87961f3.el5
subscription-manager-gui-1.0.5-1.git.31.a3d5de2.el5

[root@dhcp201-196 ~]# subscription-manager service-level --org admin
Error: --org is only supported with the --list command

Comment 6 errata-xmlrpc 2013-01-08 03:53:23 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-2013-0033.html