HomeClusterLabs Projects

fence_lpar: Fix list-status action

Description

fence_lpar: Fix list-status action

The list-status action prints "UNKNOWN" status for all LPARs when
--hmc-version is "4" or "IVM".

This commit fixes that by mapping the statuses returned by the HMC
(e.g., "Running") to the statuses that the fencing library expects
(e.g., "on").

Resolves: RHBZ#1861926

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jul 29 2020, 9:33 PM
Parents
rF0a6e554455c0: Merge pull request #351 from nrwahl2/nrwahl2-rhbz#1860544
Branches
Unknown
Tags
Unknown

Event Timeline