Bug 1611696

Summary: [WebUi] An exclamation mark before number of resources is missing in the cluster list in the case of failed actions
Product: Red Hat Enterprise Linux 9 Reporter: Pat Harrison <pharriso>
Component: pcsAssignee: Ivan Devat <idevat>
Status: NEW --- QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: cluster-maint, idevat, knickel, mlisik, mpospisi, omular, sanyadav, sbradley, tojeline
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
pcs web ui screenshots showing failed actions displayed none

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).