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 1711205 - subscription-manager-cockpit: No message display when register server with Activation Key and wrong username or password
Summary: subscription-manager-cockpit: No message display when register server with Ac...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On: 1662108
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-17 08:17 UTC by qianzhan
Modified: 2019-09-19 15:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1662108
Environment:
Last Closed: 2019-09-19 15:53:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description qianzhan 2019-05-17 08:17:31 UTC
+++ This bug was initially created as a clone of Bug #1662108 +++

Description of problem:
subscription-manager-cockpit: No message display when register server with Activation Key and wrong username or password.

Version-Release number of selected component (if applicable):
subscription-manager-1.23.8-11.el8
subscription-manager-rhsm-certificates-1.23.8-11.el8
subscription-manager-cockpit-1.23.8-11.el8
python3-subscription-manager-rhsm-1.23.8-11.el8
dnf-plugin-subscription-manager-1.23.8-11.el8
katello-3.7.0-8.el7sat.noarch
tfm-rubygem-katello-3.7.0.42-2.el7sat.noarch
candlepin-2.4.8-1.el7.noarch

How reproducible:


Steps to Reproduce:

1.Register RHEL-8.0-20181218.0-BaseOS-aarch64 against satellite6.4 by cockpit
Use wrong username and password
valid Activation Key and Organization, and then click "register"
Please reference pic register_with_correctactivationKey_wrongusername_password.png

host has registered the server successfully without any alert message.
register_success.png

Error message should display for "Error: Activation keys do not require user credentials."

2. unregister server
# subscription-manager  unregister
This system is currently not registered.


3.Register RHEL-8.0-20181218.0-BaseOS-aarch64 against satellite6.4 using command:
# subscription-manager register --username=admin --password=admin --activationkey=rhsm --org=Default_Organization
Error: Activation keys do not require user credentials.

# subscription-manager register  --activationkey=rhsm --org=Default_Organization
The system has been registered with ID: 02473022-1547-44c8-939c-c70a409dd7a7
The registered system name is: qualcomm-amberwing-rep-09.khw3.lab.eng.bos.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for ARM 64 High Touch Beta
Status:       Subscribed



Actual results:
step1: No message display when register server with Activation Key and wrong username or password

Expected results:
Step1: Error message should display when register server with Activation Key and wrong username or password, such as "Error: Activation keys do not require user credentials."

Additional info:

==================================
Bug 1662108 can be reproduced on RHEL-7.7-20190514.2 against Satellite6.6-snapshot2.0. So clone Bug 1662108:

subscription-manager-1.24.6-1.el7.x86_64
subscription-manager-cockpit-1.24.6-1.el7.noarch
tfm-rubygem-katello-3.12.0.rc1-13.master.el7sat.noarch
katello-3.12.0-0.5.master.el7sat.noarch
candlepin-2.6.5-1.el7sat.noarch

Comment 2 Chris Snyder 2019-09-19 15:53:51 UTC
Due to the current lifecycle phase of RHEL 7 (Maintenance Support Phase 1), we will only be fixing this issue on RHEL 8.x


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