Bug 1822242

Summary: subscription-manager-cockpit: An error message 'Couldn't get system subscription status. Please ensure subscription-manager is installed.' scares me
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: low Docs Contact:
Priority: medium    
Version: 8.2CC: csnyder, danielmarta12345, jsefler, redakkan
Target Milestone: rcKeywords: Reopened, Triaged
Target Release: 8.7   
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:

Description Jan Stavel 2020-04-08 14:46:05 UTC
Hello,
this error message appears sometimes during loading of a subscriptions page.

It must be due to some timeouts in network communications.

Since this message appears just for a while and everything works well it seems to me that this message is rather confusing for a user. It just tells that network is slow. But the message 'Please ensure that subscription-manager is installed' is not relevant in this case (subcription-manager was installed everytime I've met this message).

Scenario:
- open cockpit
- login to cockpit
- click on 'Subscriptions'
- see a message at the whole page with:

<div id="app"><div data-reactroot="" class="curtains-ct blank-slate-pf"><div class="blank-slate-pf-icon"><div class="fa fa-exclamation-circle"></div></div><h1>Couldn't get system subscription status. Please ensure subscription-manager is installed.</h1><p>Unable to connect</p></div></div>

Comment 3 RHEL Program Management 2021-10-08 07:27:11 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 10 Pino Toscano 2022-05-17 12:00:09 UTC
*** Bug 1744196 has been marked as a duplicate of this bug. ***

Comment 12 Jan Stavel 2022-06-24 13:56:50 UTC
verified - no error message appear after subscription plugin is run.

    server type: This system is currently not registered.
    subscription management server: 3.2.22-1
    subscription management rules: 5.41
    subscription-manager: 1.28.30+22.g6b7192ef5-1.git.0.c1d69c7

I have open firefox with cockpit plugin.
I have click on 'Subscriptions' plugin
I see a message 'Loading status'

I see a status of entitlement after a while. No error message appears even for a short time.

Comment 16 Jan Stavel 2022-07-01 12:18:23 UTC
I have not met any kind of empty messages during initialization of the application.

I have tried register a system a few times with various conditions.
No empty message appears.

Comment 18 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