Bug 1527396
| Summary: | subscription-manager-cockpit : Throws Error: Missing username or password error even when you try to register with invalid activation key | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Shwetha Kallesh <skallesh> |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.5 | CC: | cdonnell, jhnidek, khowell, wpoteat |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-09-29 19:22:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
Created attachment 1369894 [details]
Missing username or password error when registering with invalid organisation and valid activationkey
*** Bug 1540152 has been marked as a duplicate of this bug. *** Created attachment 1679036 [details]
Error message for the case "enter a valid org and invalid activation key"
Verification:
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.21-1
subscription management rules: 5.37
subscription-manager: 1.24.32
Case 1:
enter a valid org and invalid activation key
Created attachment 1679037 [details]
Error message for the case "Enter a valid activation Key and leave the org field blank"
Case 2:
Enter a valid activation Key and leave the org field blank
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.21-1
subscription management rules: 5.37
subscription-manager: 1.24.32
Created attachment 1679038 [details]
Error message for the case "Enter a invalid organisation and click on register button"
Case 3:
Enter a invalid organisation and click on register button
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.21-1
subscription management rules: 5.37
subscription-manager: 1.24.32
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 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:3866 |
Created attachment 1369891 [details] Missing username or password error when registering with invalid activationkey Description of problem: subscription-manager-cockpit : Throws Error: Missing username or password error even when you try to register with invalid activation key Version-Release number of selected component (if applicable): [root@dhcp182-10 ~]# rpm -qa | grep cockpit cockpit-dashboard-158-1.el7.x86_64 cockpit-system-158-1.el7.noarch cockpit-ws-158-1.el7.x86_64 subscription-manager-cockpit-1.20.8-1.el7.noarch cockpit-tests-158-1.el7.x86_64 cockpit-bridge-158-1.el7.x86_64 cockpit-158-1.el7.x86_64 How reproducible: Steps to Reproduce: 1.launch cockpit ----> navigate to Subscriptions tab 2. click on register button Case 1: 3. enter a valid org and invalid activation key Case 2: 4. Enter a valid activation Key and leave the org field blank Case 3: 5.Enter a invalid organisation and click on register button Actual results: Case 1: Missing username or password Case 2: Missing username or password Case 3: Missing username or password Expected results: Case 1: Error: None of the activation keys specified exist for this org Case 2: Error: 'Organization' required when using activation keys Case 3: Error: Organization foo does not exist Additional info: