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 1751200 - subscription-manager-cockpit: UI make it look like you need both username+password and activation key
Summary: subscription-manager-cockpit: UI make it look like you need both username+pas...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.2
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: rc
: 8.0
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-11 11:55 UTC by Andreas Nilsson
Modified: 2020-11-04 01:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:38:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Register System dialog - 01 (291.90 KB, image/png)
2020-07-15 08:57 UTC, Jan Stavel
no flags Details
Register System dialog - 02 (293.16 KB, image/png)
2020-07-15 08:57 UTC, Jan Stavel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2180 0 'None' closed 1751200: Cockpit plugin: select registration method; ENT-1651 2020-07-15 08:04:42 UTC
Red Hat Product Errata RHBA-2020:4460 0 None None None 2020-11-04 01:38:57 UTC

Description Andreas Nilsson 2019-09-11 11:55:06 UTC
I was looking at the new subscription UI in the GNOME control center that Kalev Lember and Allan Day has been working on for RHEL Workstation in https://bugzilla.redhat.com/show_bug.cgi?id=1720251

One part of the design I though was nice and clear is how it's breaking up the inputs into user+pass authentication and activation keys. If I'm reading the docs right, if you use the activation key registration method, you only need the key and organization fields set, but not the username+password.
https://access.redhat.com/solutions/3341191

In the current cockpit web console UI it makes it look like you always have to fill all four fields, when the activation key and username+password is mutually exclusive.

Comment 1 Andreas Nilsson 2019-10-11 12:29:34 UTC
Also from the man page.

When the --activationkey option is used, it is not necessary  to
use the --username and --password options, because the authenti‐
cation information is implicit in the activation key.

Comment 5 Jan Stavel 2020-07-15 08:56:22 UTC
It works. 
It looks really nice and it is pretty great improvement comparing previous form template.

BTW: I have tried that user can use activation key to register system too.

screenshots attached.

Thanks.

Comment 6 Jan Stavel 2020-07-15 08:57:02 UTC
Created attachment 1701175 [details]
Register System dialog - 01

Comment 7 Jan Stavel 2020-07-15 08:57:28 UTC
Created attachment 1701176 [details]
Register System dialog - 02

Comment 8 Andreas Nilsson 2020-07-15 16:09:16 UTC
Looks awesome, thanks!

Comment 11 errata-xmlrpc 2020-11-04 01:38:42 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 (subscription-manager bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2020:4460


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