Currently, the function logs errors itself. However it has no context, so the message is unspecific. To help users better, drop that log and have all callers check the return code and log an appropriate error. Also, the function should return pcmk_rc_bad_input rather than EINVAL since it's a user error rather than coding error.
Description
Description