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