Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
+++ This bug was initially created as a clone of Bug #1753236 +++
Description of problem:
When you try to register system using subscription-manager cockpit plugin, then it is not enough to type username and password, when you register against default candlepin server (subscription.rhsm.redhat.com). You have to also type organization despite subscription-manager CLI doesn't require to type organization.
Version-Release number of selected component (if applicable):
[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.7.5-1
subscription management rules: 5.37
subscription-manager: RPM_VERSION
How reproducible:
100%
Steps to Reproduce:
1. Open cockpit page: https://<ip_of_your_rhel8_system>:9090
2. Click on Subscriptions
3. Click on Register button
4. Type correct username and password in registration dialog
5. Click on register button in registration dialog
Actual results:
- Following error is displayed in registration dialog: "You must specify an organization for new units." (look at attachment).
- System is registered (but not auto-attached) at this point and it is possible to close registration dialog using Cancel button, but it is very confusing!
Expected results:
- No error is printed, when user is member of one organization (similar behavior in subscription-manager CLI or GUI)
- user can select from available organizations (similar behavior in subscription-manager GUI)
Additional info:
When you get list of available organization using:
[root@localhost ~]# subscription-manager orgs --username jhnidek --password secret
+-------------------------------------------+
jhnidek Organizations
+-------------------------------------------+
Name: 1234567
Key: 1234567
And you use the name of organization (1234567) in registration dialog, then no error is displayed too.
--- Additional comment from Kevin Howell on 2019-11-14 16:46:38 UTC ---
Let's use this BZ to handle when the user has only a single org.
Comment 3RHEL Program Management
2021-05-14 07:32:13 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.