HomeClusterLabs Projects

API: libcrmcommon: New pcmk_pacemakerd_state_remote enum value

Description

API: libcrmcommon: New pcmk_pacemakerd_state_remote enum value

This is not technically a pacemakerd state. However, it can be used to
indicate that pacemaker-remoted is running on a Pacemaker Remote node.
pacemaker-remoted, as the main daemon, is the nearest meaningful analog
of pacemakerd on a Pacemaker Remote node.

Attempts to connect to the pacemakerd API on a Pacemaker Remote node
return EREMOTEIO. Callers may find it convenient to use
pcmk_pacemakerd_state_remote as a pseudo-state in this case.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Oct 27 2022, 6:12 PM
Parents
rPcc9840595a23: Low: libpacemaker: Improve invalid reply type logging in cluster queries
Branches
Unknown
Tags
Unknown