HomeClusterLabs Projects

Refactor: libpacemaker: never query controller for simulations

Description

Refactor: libpacemaker: never query controller for simulations

Previously, pcmk__simulate() would query the controller for the local node name
if the CIB was native (indicating a live cluster was available) and
section_opts included pcmk_section_times.

Drop the query, and leave it as the caller's responsibility. The
"cluster-times" output message can already handle no local node name set, and
no internal callers of pcmk__simulate() use pcmk_section_times anyway, so this
has no significant effect.

Details

Provenance
kgaillotAuthored on Mon, Jul 8, 4:16 PM
Parents
rPba69fb554a6a: Refactor: scheduler: scheduler now owns local_node_name memory
Branches
Unknown
Tags
Unknown