HomeClusterLabs Projects

Low: executor,libstonithd,libcrmservice: better error handling for generic…

Description

Low: executor,libstonithd,libcrmservice: better error handling for generic actions

Previously, services_action_create_generic() did not check for string memory
errors, and logged an error but otherwise ignored a request with too many
arguments, which would lead to executing an external command with partial
arguments.

Now, set the action result to error in such cases, and have the callers check
for it.

Details

Provenance
kgaillotAuthored on Sep 16 2021, 6:23 PM
Parents
rPd0a9e0f16b86: Low: libcrmservice: set exit reason for some memory errors when creating action
Branches
Unknown
Tags
Unknown

Event Timeline