Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1859232

Summary: subscription-manager-cockpit: an empty red message box appears after I register a system with insights service enabled
Product: Red Hat Enterprise Linux 8 Reporter: Jan Stavel <jstavel>
Component: subscription-managerAssignee: Pino Toscano <ptoscano>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: jsefler, redakkan
Target Milestone: rcKeywords: Triaged
Target Release: 8.7Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.28.31-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 10:48:04 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 Flags
screenshot with empty red message box
none
insights detail with warning message
none
a screenshot with empty yellow message box none

Description Jan Stavel 2020-07-21 14:01:39 UTC
Created attachment 1701894 [details]
screenshot with empty red message box

Description of problem:

When I register a system using subsriptions plugin in cockpit
and I enable insights service

then I see an empty red message box after the registration is completed.

The box is a place where messages appear. It seems to me that something wrong happened but no text appears in the box.

I will attach screenshot too.

cockpit-ws-223-1.el8.x86_64
cockpit-223-1.el8.x86_64
cockpit-system-223-1.el8.noarch
cockpit-packagekit-223-1.el8.noarch
cockpit-bridge-223-1.el8.x86_64
subscription-manager-cockpit-1.27.10-1.el8.noarch

Comment 1 Jan Stavel 2020-07-21 14:03:32 UTC
If I register the system without insight services enabled than no red message box appears.

Comment 2 Jan Stavel 2020-07-23 15:39:21 UTC
Created attachment 1702247 [details]
insights detail with warning message

The problem with empty red box may caused by a the fact that insight warns me in insights detail dialog. Ie. some problem happened during insight registration. But it is not 'error' just 'warning'.

Comment 3 Jan Stavel 2020-07-27 15:58:05 UTC
Hello,
I have tried to reproduce this bug.
The problem did not appeared in firefox either google-chrome.

Actually I cannot reproduce this bug. 
I will ask someone to explain the insight warning more. And I will try to simulate this problem.

Comment 5 Jan Stavel 2020-07-28 12:50:17 UTC
I cannot reproduce this issue.

Comment 7 Jan Stavel 2020-08-07 07:52:54 UTC
Created attachment 1710752 [details]
a screenshot with empty yellow message box

Comment 8 Jan Stavel 2020-08-07 07:53:58 UTC
I've catched a case when an empty warning message box appears. The color of the box is yellow.
Screenshot attached.

Comment 12 RHEL Program Management 2022-01-21 07:27:13 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 14 Jan Stavel 2022-06-07 11:44:11 UTC
It already works. a red box with some message appears.


root@kvm-07-guest15 ~]# rpm  -qa | grep subscription
dnf-plugin-subscription-manager-1.28.30+8.gb16a93272-1.git.0.8158ddb.x86_64
subscription-manager-1.28.30+8.gb16a93272-1.git.0.8158ddb.x86_64
subscription-manager-rhsm-certificates-1.28.30-1.el8.x86_64
python3-subscription-manager-rhsm-1.28.30+8.gb16a93272-1.git.0.8158ddb.x86_64
subscription-manager-cockpit-1.28.30+8.gb16a93272-1.git.0.8158ddb.noarch

Comment 18 Jan Stavel 2022-07-01 10:37:35 UTC
    PACKAGES TESTED:
    subscription-manager-1.28.31-1.el8.x86_64
    subscription-manager-cockpit-1.28.31-1.el8.noarch
    subscription-manager-rhsm-certificates-1.28.31-1.el8.x86_64

No error message appears after I register a system. Connection to insights service is enabled in this case.

Comment 22 errata-xmlrpc 2022-11-08 10:48:04 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/RHEA-2022:7719