HomeClusterLabs Projects

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

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or 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
rP4540673a1469: Merge pull request #3804 from nrwahl2/nrwahl2-refactor
Branches
Loading...
Tags
Loading...

Event Timeline