HomeClusterLabs Projects

Fix: crmd: properly detect CIB update failures for remote nodes

Description

Fix: crmd: properly detect CIB update failures for remote nodes

Prevously, "!= pcmk_ok" was used as the failure condition, but asynchronous CIB
calls return a positive call id on success, so use "< 0" instead. Also, use
crm_perror() so we log the underlying reason for the failure, and log it at
warning level rather than debug, because it can potentially cause problems
later.

Details

Provenance
kgaillotAuthored on Sep 25 2015, 1:01 PM
Parents
rPd0d6118cbee3: Log: cibadmin: Default once again to LOG_CRIT
Branches
Unknown
Tags
Unknown

Event Timeline