HomeClusterLabs Projects

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

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.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

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.