HomeClusterLabs Projects

Refactor: daemons: Add some additional errors for when startup fails.

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: daemons: Add some additional errors for when startup fails.

Unfortunately, attrd_cib_connect and attrd_cluster_connect use crm_err()
for all their error reporting instead of either passing up a useful
return code or updating a GError. attrd_cib_connect we could change,
but the important parts of attrd_cluster_connect happen several function
calls down. And if we do change them, we would end up removing error
messages from log files that people might be depending on.

So for now, just print generic error messages to the screen on failure.
This at least hints at where the problem is instead of silently failing.

Details

Provenance
clumensAuthored on Jan 30 2023, 3:39 PM

Commit No Longer Exists

This commit no longer exists in the repository.