Bug 1973731
| Summary: | unexpected error message due to an overzealous change from bug 1897767 | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | John Sefler <jsefler> | |
| Component: | subscription-manager | Assignee: | Pino Toscano <ptoscano> | |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.5 | CC: | cdonnell, redakkan | |
| Target Milestone: | beta | Keywords: | Triaged | |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | subscription-manager-1.28.19-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1973807 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-09 19:37:58 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1973807 | |||
|
Description
John Sefler
2021-06-18 15:12:25 UTC
Reproducing bug on: ================== # subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.18-1 subscription management rules: 5.41 subscription-manager: 1.28.17-1.el8 # subscription-manager role --list --username=bad-username --password=password This organization does not have any subscriptions that provide a system purpose "role Pre-verifying on : ================= # subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.18-1 subscription management rules: 5.41 subscription-manager: 1.28.17-1.git.41.5224c70.el8 # subscription-manager role --list --username=bad-username --password=password Unable to get the list of valid values for the system purpose "role". # subscription-manager usage --list --username=bad-username --password=password Unable to get the list of valid values for the system purpose "usage". # subscription-manager service-level --list --username=bad-username --password=password Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html ^^^^ Notice the messaging on "service-level" module is slightly different , opened a new Bug 1977720 to make service-level error message to be consistent with other system purpose modules. # subscription-manager addons --list --username=bad-username --password=password Unable to get the list of valid values for the system purpose "addons". Based on the above observations , moving the bug to Verified:tested Verifying on : ============= # subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.19-1 subscription management rules: 5.41 subscription-manager: 1.28.19-1.el8 # rpm -qa subscription-manager --changelog | grep 1973731 - 1973731: fix wording on error when listing syspurpose values # subscription-manager role --list --username=test --password=test Unable to get the list of valid values for the system purpose "role". # subscription-manager usage --list --username=test --password=test Unable to get the list of valid values for the system purpose "usage". # subscription-manager service-level --list --username=test --password=test Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html # subscription-manager addons --list --username=test --password=test Unable to get the list of valid values for the system purpose "addons". As mentioned earlier , a separate bug has been logged to address the service-level messaging Bug 1977720. Based on the observation, moving the bug to Verified. 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-2021:4390 |