Bug 1979323
Summary: | subscription component shows red X when SCA is enabled, should show gray or green icon | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Chris Duryee <cduryee> | ||||
Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> | ||||
Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 8.4 | CC: | arpandey, jhnidek, jsefler, redakkan | ||||
Target Milestone: | beta | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
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: | |||||||
: | 2022791 (view as bug list) | Environment: | |||||
Last Closed: | 2022-05-10 15:22:56 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: | 2022791 | ||||||
Attachments: |
|
Description
Chris Duryee
2021-07-05 15:32:46 UTC
Related to Bug 1951830 Hi, The Cockpit UI has changed little bit since this bug report has been created. Currently when non-SCA mode is used, then green "Subscribed" and "Not Subscribed" text is printed in the header of each product. So the fix for this issue simple doesn't print "Subscribed" or "Not Subscribed" in the headers of installed product, when SCA mode is used. You can see more details on screenshots in this PR here: https://github.com/candlepin/subscription-manager/pull/2783 Jiri Reproducing the failure : PFA the screenshot (reproducer.png) Pre-verifying the fix on : # 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.22-1.git.62.085fd3a.el8 In SCA mode we no longer show installed product status in cockpit and CLI ; the Red icon in the cockpit UI is also removed. (PFA : Pre-verification) Based on the above observation, setting verified:tested Re-producing issue on subscription-manager-1.28.21-3.el8.x86_64 PFA : attachment 1845479 [details] Verifying fix on subscription-manager-1.28.24-1.el8.x86_64 Beaker Test information: HOSTNAME=kvm-07-guest02.hv2.lab.eng.bos.redhat.com JOBID=6079816 RECIPEID=11115710 RESULT_SERVER= DISTRO=RHEL-8.6.0-20211208.3 ARCHITECTURE=x86_64 root@kvm-07-guest02 ~]# 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-07-guest02 ~]# [root@kvm-07-guest02 ~]# rpm -qa --changelog subscription-manager| grep 1979323 - 1979323: Cockpit - do not show red red icon in SCA mode (jhnidek) [root@kvm-07-guest02 ~]# [root@kvm-07-guest02 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled [root@kvm-07-guest02 ~]# [root@kvm-07-guest02 ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux for x86_64 Beta Product ID: 486 Version: 8.6 Beta Arch: x86_64 [root@kvm-07-guest02 ~]# [root@kvm-07-guest02 ~] PFA for status of cockpit subscriptions page: attachment 1845480 [details] Actual Results: In SCA mode, installed product status is not being shown in cockpit and CLI, also the Red icon from the cockpit web page is also removed Verification : PASSED 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 |