Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1169474 - Activation Key example based on Organization Name and not Label
Summary: Activation Key example based on Organization Name and not Label
Keywords:
Status: CLOSED DUPLICATE of bug 1128245
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.5
Hardware: aarch64
OS: Linux
unspecified
low
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-01 18:29 UTC by Chris Roberts
Modified: 2019-09-12 08:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-04 19:59:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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