Bug 1611696 - [WebUi] An exclamation mark before number of resources is missing in the cluster list in the case of failed actions
Summary: [WebUi] An exclamation mark before number of resources is missing in the clus...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pcs
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ivan Devat
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-02 16:14 UTC by Pat Harrison
Modified: 2023-08-10 15:40 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
pcs web ui screenshots showing failed actions displayed (145.71 KB, application/zip)
2022-12-07 13:02 UTC, Tomas Jelinek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3906421 0 None None None 2019-02-12 18:15:57 UTC

Description Pat Harrison 2018-08-02 16:14:49 UTC
Description of problem: Failed action information is not shown in the pcs UI. pcs status shows failed actions. Can these be added to the UI? 

e.g. 

Failed Actions:
* www_vip2_start_0 on web1.example.com 'unknown error' (1): call=12, status=complete, exitreason='Unable to find nic or netmask.',
    last-rc-change='Thu Aug  2 12:40:49 2018', queued=0ms, exec=21ms


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

7.5


Steps to Reproduce:
1. Generate a failed action and observe this through pcs status
2. Log into UI. No failed actions are displayed.

Actual results:

UI does not display failed actions.

Expected results:

It would be nice if the UI displayed failed actions as well.

Additional info:

Some of our customers have operations teams with less technical skills who would looks to manage the cluster from the UI. Having this type of information available in the UI is useful for these customers.

Comment 10 Tomas Jelinek 2022-12-07 13:02:01 UTC
Created attachment 1930796 [details]
pcs web ui screenshots showing failed actions displayed

Failed resource actions are being displayed in pcs Web UI both in RHEL 8 and RHEL 9 already. The feature was added during the RHEL 7 life cycle.

RHEL 8:
After you log in to the web UI, you can see an overview of managed clusters. For each cluster, a number of resources defined in the cluster is displayed. There is a red number next to it displaying a number of resources with an issue, if there are failed actions in the cluster. Clicking on the number displays details on the right with affected resources listed. Clicking on the affected resource name gets you to the resource detail view, displaying failed actions. See attached screenshot rhel8-overview.

Another way to get to the same view:
Display a detail of a cluster and open the "Resources" tab in the web UI. Resources with failed actions are displayed in orange color in the list on the left. Upon clicking on the resource in the list, detailed information about the resource are displayed on the right. There you can see information about failed resource actions. See attached screenshot rhel8-detail.


RHEL 9 is similar to RHEL8:
After you log in to the web UI, you can see an overview of managed clusters. For each cluster, a number of resources defined in the cluster is displayed. There is supposed to be an exclamation mark icon displayed next to the number, if there are failed actions in the cluster. The exclamation mark is currently missing due to a bug, which we plan to fix in this BZ. Clicking on the number of resources displays a list of affected resources. Clicking on the affected resource name gets you to the resource detail view, displaying failed actions. See attached screenshot rhel9-overview.

Another way to get to the same view:
Display a detail of a cluster and open the "Resources" tab in the web UI. Resources with failed actions are displayed with an exclamation mark icon. Upon clicking on the resource in the list, detailed information about the resource are displayed on the right. There you can see information about failed resource actions. See attached screenshot rhel9-detail.

Comment 11 Ivan Devat 2023-04-18 08:03:55 UTC
The only issue is that the exclamation mark before number of resources is missing in cluster list in the overview of managed clusters when there are failed actions (see RHEL 9 in the comment 10).


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