HomeClusterLabs Projects

Refactor: tools: ask controller instead of corosync for crm_node -q

Description

Refactor: tools: ask controller instead of corosync for crm_node -q

This gets us closer to crm_node not needing libcrmcluster.

Also, return CRM_EX_QUORUM instead of CRM_EX_ERROR when quorum is not present
(this makes it possible for callers to distinguish having quorum, not having
quorum, and getting an error while checking quorum).

Details

Provenance
kgaillotAuthored on Jun 15 2018, 9:25 AM
Parents
rP57b8bbecd2d7: Refactor: tools: ask controller instead of corosync for crm_node -N
Branches
Unknown
Tags
Unknown

Event Timeline