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 1999866 - Update subscription-manager-cockpit to match the current cockpit style
Summary: Update subscription-manager-cockpit to match the current cockpit style
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.6
Assignee: Pino Toscano
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-31 20:21 UTC by Chris Snyder
Modified: 2022-05-10 16:39 UTC (History)
6 users (show)

Fixed In Version: subscription-manager-1.28.24-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 15:22:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
cockpit page style when syspuprpose values not set, system unregistered (76.31 KB, image/png)
2021-12-07 07:52 UTC, Archana Pandey
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2863 0 None Merged [1.28] cockpit: backport FP4, new style, and new SCA display 2021-11-09 17:23:31 UTC
Red Hat Issue Tracker ENT-4318 0 None None None 2021-09-22 09:43:02 UTC
Red Hat Issue Tracker RHELPLAN-95765 0 None None None 2021-08-31 20:23:55 UTC
Red Hat Product Errata RHBA-2022:2047 0 None None None 2022-05-10 15:23:14 UTC

Description Chris Snyder 2021-08-31 20:21:54 UTC
Description of problem:

As of this PR upstream the subscription-manager-cockpit plugin downstream is significantly behind in terms of style and usability.
(PR: https://github.com/candlepin/subscription-manager/pull/2629 )

This bug is a tracker for this upstream work's inclusion in downstream.

Comment 4 Archana Pandey 2021-12-07 07:52:11 UTC
Created attachment 1845032 [details]
cockpit page style when syspuprpose values not set, system unregistered

Comment 5 Archana Pandey 2021-12-07 08:00:39 UTC
Created attachment 1845033 [details]
Cockpit subscriptions page when system is Registered and Syspurpose values are set

Comment 6 Archana Pandey 2021-12-07 08:17:49 UTC
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

Comment 10 Archana Pandey 2021-12-13 09:21:16 UTC
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.

Comment 12 errata-xmlrpc 2022-05-10 15:22:57 UTC
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


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