RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1235850 - subscription-manager GUI and FIRSTBOOT should allow hosted registration using an activation key
Summary: subscription-manager GUI and FIRSTBOOT should allow hosted registration using...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: Sean Toner
URL:
Whiteboard:
Depends On: 1235849
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-25 22:23 UTC by John Sefler
Modified: 2015-11-19 11:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1235849
Environment:
Last Closed: 2015-11-19 11:48:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
registering with activation key (210.66 KB, application/x-gzip)
2015-10-01 19:05 UTC, Sean Toner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2122 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-11-19 10:31:14 UTC

Description John Sefler 2015-06-25 22:23:29 UTC
+++ This bug was initially created as a clone of Bug #1235849 +++

Description of problem:
For awhile, the Red Hat Customer Portal did not support creation of activation keys.  Hence the subscription-manager-gui and subscription-manager-firstboot were programmed to keep the "I will use an Activation Key" checkbox disabled whenever the "I will register with:" field contained a hostname matching the default subscription.rhn.redhat.com (or some redhat.com variant of this).  This restriction should now be removed.

Version-Release number of selected component (if applicable):
This applies to both RHEL6 and RHEL7 versions of
 subscription-manager-gui
 subscription-manager-firstboot



How reproducible:


Steps to Reproduce:
1. launch subscription-manager-gui and click register
2. click the Default button which should set the hostname field to "subscription.rhn.redhat.com"
3. try to register with a valid activation key

Actual results:
"I will use an Activation Key" checkbox is disabled

Expected results:
enabled


Additional info:
The workaround for this bug is to use the CLI version of subscription-manager to register with an activation key.

Comment 3 Sean Toner 2015-10-01 19:05:57 UTC
Created attachment 1079240 [details]
registering with activation key

Created an activation key via the account manager and proceeded to register a system with it in both the initial-setup and subman-gui.  Both succeeded.

Screenshots show using activation key with initial-setup

Comment 4 errata-xmlrpc 2015-11-19 11:48:51 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.

https://rhn.redhat.com/errata/RHBA-2015-2122.html


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