pacemaker: fix the outdate return value of updating cib
PATCH 1/1 pacemaker: fix the outdate return value of updating cib
pcmk_err_old_data(205) is internal return value for error "Update was older than existing configuration" of cibadmin. CRM will return CRM_EX_OLD(103) to fence-peer instead.
Refer to "lib/common/results.c" of pacemaker for the value.
Signed-off-by Nick Wang <[email protected]>
--- scripts/crm-fence-peer.9.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/crm-fence-peer.9.sh +1 -1
@@ -146,7 +146,7 @@ create_or_modify_constraint() break ;; - 205) : "205 aka pcmk_err_old_data ==> going to retry in a bit" + 103) : "103 CRM_EX_OLD, aka 205 pcmk_err_old_data ==> going to retry in a bit" (( $SECONDS >= $timeout )) && break sleep 1 continue
Signature · 1 line
2.16.4