HomeClusterLabs Projects

Feature: tools: respect crm_mon --show-detail for fencing actions

Description

Feature: tools: respect crm_mon --show-detail for fencing actions

As of 2.1.0, unless --compat-2.0 was used to build, crm_mon without
--show-detail will show failed resource actions in a more human-friendly way
(with --show-detail, the more technical previous display is kept).

Now, do the same for fence history. For example, this entry with --show-detail:

Reboot of node1 failed: delegate=node2, client=pacemaker-controld.2315,
    origin=node3, completed='2022-02-24 16:53:49 -06:00'

without --show-detail becomes:

Reboot of node1 by node2 for pacemaker-controld.2315@node3 failed
    at 2022-02-24 16:53:49 -06:00

Details

Provenance
kgaillotAuthored on Feb 24 2022, 5:44 PM
Parents
rP118ebbd99de3: Refactor: fencing: pass show options to stonith__history_description()
Branches
Unknown
Tags
Unknown