Bug 1169474

Summary: Activation Key example based on Organization Name and not Label
Product: Red Hat Satellite Reporter: Chris Roberts <chrobert>
Component: WebUIAssignee: Katello Bug Bin <katello-bugs>
WebUI sub component: Katello QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact:
Severity: low    
Priority: unspecified CC: bkearney
Version: 6.0.5   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-04 19:59:44 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:

Description Chris Roberts 2014-12-01 18:29:23 UTC
Description of problem:

After creating an activation key and example is provided on how same can be used such as:

subscription-manager register --org="ORG" --activationkey="RHEL"

The option for the organization is based on the Organization name and not the label. What this means is that if the label differs from the Organization name then the activation key, when used will report "Invalid organization".

As a workarround we simply need to change the --org="ORG" to match the Label for the organization.

How reproducible:


Steps to Reproduce:

1. create org named test
2. change to that org and create activation key (named mine chris)
3. get the following ouput: subscription-manager register --org="test" --activationkey="chris"
4. change org name from test to tester
5. activation key gives the following now and will error out since its not using the label
subscription-manager register --org="tester" --activationkey="chris"

Actual results:
changes org to read from the org name and not the label

Expected results:
read from label instead

Comment 1 RHEL Program Management 2014-12-01 18:53:51 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Bryan Kearney 2014-12-04 19:59:44 UTC

*** This bug has been marked as a duplicate of bug 1128245 ***