Bug 1999866
| Summary: | Update subscription-manager-cockpit to match the current cockpit style | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Chris Snyder <csnyder> | ||||
| 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.6 | CC: | arpandey, candlepin-bugs, jhnidek, jstavel, pvlasin, redakkan | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | 8.6 | Flags: | pm-rhel:
mirror+
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | subscription-manager-1.28.24-1.el8 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-05-10 15:22:57 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: |
|
||||||
|
Description
Chris Snyder
2021-08-31 20:21:54 UTC
Created attachment 1845032 [details]
cockpit page style when syspuprpose values not set, system unregistered
Created attachment 1845033 [details]
Cockpit subscriptions page when system is Registered and Syspurpose values are set
Pre-Verification: I will be verifying the updated page style changes against https://user-images.githubusercontent.com/12330670/117949933-f0764c80-b312-11eb-9091-ba7d2b6afaeb.png from the PR mentioned in bug description https://github.com/candlepin/subscription-manager/pull/2629 Beaker Test information: HOSTNAME=kvm-01-guest12.lab.eng.brq.redhat.com JOBID=6048426 RECIPEID=11065657 RESULT_SERVER= DISTRO=RHEL-8.6.0-20211124.0 ARCHITECTURE=x86_64 [root@kvm-01-guest12 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.21-1 subscription management rules: 5.41 subscription-manager: 1.28.24-1.el8 On a unregistered system without system purpose values set, cockpit page looks like: Attachment #1845032 [details] system purpose component not being displayed as expected. Lets register the system and set syspurpose values- [root@kvm-01-guest12 ~]# [root@kvm-01-guest12 ~]# subscription-manager register --username testAccount --password ******* --serverurl subscription.rhsm.stage.redhat.com --auto-attach Registering to: subscription.rhsm.stage.redhat.com:443/subscription The system has been registered with ID: 13c9e8c3-774a-447a-bc79-6061e056054e The registered system name is: kvm-01-guest12.lab.eng.brq.redhat.com Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Beta Status: Subscribed [root@kvm-01-guest12 ~]# subscription-manager syspurpose role --set "Red Hat Enterprise Linux Server" role set to "Red Hat Enterprise Linux Server". [root@kvm-01-guest12 ~]# [root@kvm-01-guest12 ~]# subscription-manager syspurpose usage --set "Production" usage set to "Production". [root@kvm-01-guest12 ~]# subscription-manager syspurpose service-level --set "Self-Support" service_level_agreement set to "Self-Support". [root@kvm-01-guest12 ~]# [root@kvm-01-guest12 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current System Purpose Status: Mismatched - The requested role "Red Hat Enterprise Linux Server" is not provided by a currently consumed subscription. - The requested usage preference "Production" is not provided by a currently consumed subscription. Current Cockpit subscription page : Attachment #1845033 [details] Marking it as verified tested based on the current layout matching the expected layout. additional info: Bug opened for system purpose status not being displayed- Bug 2028565 verifiction has already been done on a nightly build with latest sub-man build subscription-manager: 1.28.24-1.el8 Please refer to comment 6 Moving bug to verified state. 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-2022:2047 |