HomeClusterLabs Projects

Refactor: libcrmservice: use PCMK_EXEC_PENDING for multi-stage actions

Description

Refactor: libcrmservice: use PCMK_EXEC_PENDING for multi-stage actions

Certain systemd and nagios actions require a separate monitor action to be
performed as part of them. Previously, we used the custom exit status
PCMK_OCF_PENDING for this purpose. However, this is more properly an execution
status, so replace it with PCMK_EXEC_PENDING instead.

This was never visible to callers, since the exit status would be changed to a
final result before returning it.

Details

Provenance
kgaillotAuthored on Sep 8 2021, 4:20 PM
Parents
rP46bd41abdf6d: API: libcrmcommon,libcrmservice: deprecate PCMK_OCF_SIGNAL
Branches
Unknown
Tags
Unknown

Event Timeline