HomeClusterLabs Projects

Low: fencer: report correct code for CIB secret failure

Description

Low: fencer: report correct code for CIB secret failure

If CIB secrets could not be substituted, stonith_device_execute() would
previously report PCMK_OCF_NOT_CONFIGURED (6) as the result. However, the
callbacks interpret that argument as a legacy return code, not as an OCF exit
status, so it would be interpreted as ENXIO (6).

Details

Provenance
kgaillotAuthored on Oct 6 2021, 6:51 PM
Parents
rPb82da00aaff5: Refactor: fencer: use bool instead of bitmask for reply options
Branches
Unknown
Tags
Unknown

Event Timeline