HomeClusterLabs Projects

Fix: libpe_status: validate no-quorum-policy=suicide correctly

Description

Fix: libpe_status: validate no-quorum-policy=suicide correctly

The previous implementation had cases where a no-quorum-policy of suicide
would get ignored, leaving data_set->no_quorum_policy unset, which would be 0
(no_quorum_freeze). The main example is when stonith-enabled=false and the
cluster has, or has ever had, quorum.

The new implementation always uses no_quorum_stop if suicide needs to be
overridden.

Details

Provenance
kgaillotAuthored on Sep 27 2017, 4:45 PM
Parents
rP33a17b845fba: Fix: tools: use-after-free in crm_diff
Branches
Unknown
Tags
Unknown

Event Timeline