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 2030320 - System Purpose status is not being displayed after subscription-manager-cockpit updated to match the current cockpit style
Summary: System Purpose status is not being displayed after subscription-manager-cockp...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: subscription-manager
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On: 2028565
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-08 13:22 UTC by Rehana
Modified: 2021-12-13 11:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2028565
Environment:
Last Closed: 2021-12-13 11:20:18 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-105149 0 None None None 2021-12-08 13:32:50 UTC

Description Rehana 2021-12-08 13:22:53 UTC
+++ This bug was initially created as a clone of Bug #2028565 +++

Description of problem:
After Updating subscription-manager-cockpit to match the current cockpit style https://bugzilla.redhat.com/show_bug.cgi?id=1999866 , System Purpose Status is not being displayed in the subscriptions cockpit page. 


Version-Release number of selected component (if applicable):

[root@kvm-01-guest12 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.2.21-1
subscription management rules: 5.41
subscription-manager: 1.28.24-1.el8
[root@kvm-01-guest12 ~]# 



How reproducible:


Steps to Reproduce:
set the value of syspurpose attibute through CLI and check the updated cockpit page in browser

[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 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Invalid

Red Hat Enterprise Linux for x86_64 Beta:
- Not supported by a valid subscription.

System Purpose Status: Mismatched          <<<<<<<<<<<<< status displayed on CLI
- 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.
- The service level preference "Self-Support" is not provided by a currently consumed subscription.

Open the cockpit browser https://hostname:9090, In the attached snap System Purpose Status field is empty

Actual results:
System Purpose Status field is empty in cockpit browser

Expected results:
System Purpose Status should be displayed

Additional info:

Comment 1 Jiri Hnidek 2021-12-13 11:20:18 UTC
Hi,
This bug is specific only for subscription-manager-1.28 branch. I'm closing this BZ bug report, because cockpit works as expected for main branch (rhel9).

Jiri


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