10#ifndef PCMK__CRM_SERVICES_COMPAT__H
11# define PCMK__CRM_SERVICES_COMPAT__H
33# define LSB_ROOT_DIR "/etc/init.d"
54 guint interval_ms,
int timeout);
60static inline const char *
61services_lrm_status_str(
enum op_status status)
Function and executable result codes.
ocf_exitcode
Exit status codes for resource agents.
@ PCMK_OCF_INSUFFICIENT_PRIV
Insufficient privileges.
@ PCMK_OCF_NOT_INSTALLED
Dependencies not available locally.
@ PCMK_OCF_UNKNOWN_ERROR
Unspecified error.
@ PCMK_OCF_NOT_RUNNING
Service safely stopped.
pcmk_exec_status
Execution status.
@ PCMK_EXEC_CANCELLED
Action was cancelled.
@ PCMK_EXEC_ERROR_FATAL
Execution failed, do not retry anywhere.
@ PCMK_EXEC_NOT_INSTALLED
Agent or dependency not available locally.
@ PCMK_EXEC_INVALID
Action cannot be attempted (e.g. shutdown)
@ PCMK_EXEC_DONE
Action completed, result is known.
@ PCMK_EXEC_ERROR
Execution failed, may be retried.
@ PCMK_EXEC_NOT_SUPPORTED
Agent does not implement requested action.
@ PCMK_EXEC_TIMEOUT
Action did not complete in time.
@ PCMK_EXEC_PENDING
Action is in progress.
@ PCMK_EXEC_UNKNOWN
Used only to initialize variables.
@ PCMK_EXEC_ERROR_HARD
Execution failed, do not retry on node.
@ PCMK_EXEC_NOT_CONNECTED
No connection to executor.
@ PCMK_LSB_STATUS_NOT_INSTALLED
@ PCMK_LSB_STATUS_VAR_PID
@ PCMK_LSB_STATUS_INSUFFICIENT_PRIV
@ PCMK_LSB_STATUS_VAR_LOCK
@ PCMK_LSB_STATUS_NOT_RUNNING
@ PCMK_LRM_OP_NOT_INSTALLED
@ PCMK_LRM_OP_ERROR_FATAL
@ PCMK_LRM_OP_NOT_CONNECTED
@ PCMK_LRM_OP_NOTSUPPORTED
GList * services_list(void)
svc_action_t * services_action_create(const char *name, const char *action, guint interval_ms, int timeout)
Object for executing external actions.