HomeClusterLabs Projects

Low: libpacemaker: Don't assert on injecting nonexistent nodes.
4f727f05efa3Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Low: libpacemaker: Don't assert on injecting nonexistent nodes.

If crm_simulate tries to inject a node up or node fail action for a
nonexistent node, it'll just assert. Instead, log an error message and
return NULL.

That NULL then needs to be propagated up a couple layers to functions
that actually expect and know how to handle errors.

Fixes T945

Details

Provenance
clumensAuthored on Jan 23 2025, 1:22 PM
Parents
rPd2695c779958: Merge pull request #3834 from nrwahl2/nrwahl2-nvpair
Branches
Unknown
Tags
Unknown

Event Timeline