Bug 719271 - Cli : Not able to register using --orgs or --owner options.
Cli : Not able to register using --orgs or --owner options.
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager (Show other bugs)
6.2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Bryan Kearney
John Sefler
:
Depends On:
Blocks: rhsm-rhel62
  Show dependency treegraph
 
Reported: 2011-07-06 06:09 EDT by spandey
Modified: 2015-04-23 19:57 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-07-06 09:02:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description spandey 2011-07-06 06:09:47 EDT
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
5/5

Prerequisites : 
candlepin : on-premises 
Client : i386 Rhel6.2 with following subscription manager 

subscription-manager-gnome-0.96.2-1.git.20.6f5b5f6.el6.i386

subscription-manager-firstboot-0.96.2-1.git.20.6f5b5f6.el6.i386

subscription-manager-0.96.2-1.git.20.6f5b5f6.el6.i386


Steps to verify : 
Register client to candlepin.

Expected Result : 
Client should register to candlepin .

Actual Result : 
[root@dhcp201-165 rhsm]# subscription-manager register --u admin --password admin --orgs admin

Usage: subscription-manager register [OPTIONS]



subscription-manager: error: no such option: --orgs

[root@dhcp201-165 rhsm]# subscription-manager register --u admin --password admin --owner admin

Usage: subscription-manager register [OPTIONS]



subscription-manager: error: no such option: --owner

[root@dhcp201-165 rhsm]# subscription-manager register --u testuser1 --password password --owner admin

Usage: subscription-manager register [OPTIONS]



subscription-manager: error: no such option: --owner

[root@dhcp201-165 rhsm]# subscription-manager register --u testuser1 --password password --orgs admin

Usage: subscription-manager register [OPTIONS]



subscription-manager: error: no such option: --orgs
Comment 2 John Sefler 2011-07-06 08:41:45 EDT
This is working as designed.  Syntax was changed...
In an effort to have more org and less owner, the --owner option was changed to --org.

[root@jsefler-onprem-62server ~]# subscription-manager register --u admin --password admin --org admin
The system has been registered with id: fc99e28d-f28a-42ca-b075-bedcdd8007b6 
[root@jsefler-onprem-62server ~]# 


[root@jsefler-onprem-62server ~]# subscription-manager register --help | grep org
  --org=ORG             register to one of multiple organizations for the user


[root@jsefler-onprem-62server ~]# rpm -q subscription-manager
subscription-manager-0.96.2-1.git.20.6f5b5f6.el6.x86_64
Comment 3 spandey 2011-07-06 09:02:11 EDT
yes John you was right 
after your step i am able to register .
So closing defect as "not a defect "

Note You need to log in before you can comment on or make changes to this bug.