|
enum | pcmk_rc_e {
pcmk_rc_underflow = -1028,
pcmk_rc_no_input = -1027,
pcmk_rc_no_output = -1026,
pcmk_rc_after_range = -1025,
pcmk_rc_within_range = -1024,
pcmk_rc_before_range = -1023,
pcmk_rc_undetermined = -1022,
pcmk_rc_op_unsatisfied = -1021,
pcmk_rc_ipc_pid_only = -1020,
pcmk_rc_ipc_unresponsive = -1019,
pcmk_rc_ipc_unauthorized = -1018,
pcmk_rc_no_quorum = -1017,
pcmk_rc_schema_validation = -1016,
pcmk_rc_schema_unchanged = -1015,
pcmk_rc_transform_failed = -1014,
pcmk_rc_old_data = -1013,
pcmk_rc_diff_failed = -1012,
pcmk_rc_diff_resync = -1011,
pcmk_rc_cib_modified = -1010,
pcmk_rc_cib_backup = -1009,
pcmk_rc_cib_save = -1008,
pcmk_rc_cib_corrupt = -1007,
pcmk_rc_multiple = -1006,
pcmk_rc_node_unknown = -1005,
pcmk_rc_already = -1004,
pcmk_rc_bad_nvpair = -1003,
pcmk_rc_unknown_format = -1002,
pcmk_rc_error = -1001,
pcmk_rc_ok = 0
} |
| Return codes for Pacemaker API functions. More...
|
|
enum | ocf_exitcode {
PCMK_OCF_OK = 0,
PCMK_OCF_UNKNOWN_ERROR = 1,
PCMK_OCF_INVALID_PARAM = 2,
PCMK_OCF_UNIMPLEMENT_FEATURE = 3,
PCMK_OCF_INSUFFICIENT_PRIV = 4,
PCMK_OCF_NOT_INSTALLED = 5,
PCMK_OCF_NOT_CONFIGURED = 6,
PCMK_OCF_NOT_RUNNING = 7,
PCMK_OCF_RUNNING_MASTER = 8,
PCMK_OCF_FAILED_MASTER = 9,
PCMK_OCF_CONNECTION_DIED = 189,
PCMK_OCF_DEGRADED = 190,
PCMK_OCF_DEGRADED_MASTER = 191,
PCMK_OCF_EXEC_ERROR = 192,
PCMK_OCF_UNKNOWN = 193,
PCMK_OCF_SIGNAL = 194,
PCMK_OCF_NOT_SUPPORTED = 195,
PCMK_OCF_PENDING = 196,
PCMK_OCF_CANCELLED = 197,
PCMK_OCF_TIMEOUT = 198,
PCMK_OCF_OTHER_ERROR = 199
} |
|
enum | crm_exit_e {
CRM_EX_OK = 0,
CRM_EX_ERROR = 1,
CRM_EX_INVALID_PARAM = 2,
CRM_EX_UNIMPLEMENT_FEATURE = 3,
CRM_EX_INSUFFICIENT_PRIV = 4,
CRM_EX_NOT_INSTALLED = 5,
CRM_EX_NOT_CONFIGURED = 6,
CRM_EX_NOT_RUNNING = 7,
CRM_EX_USAGE = 64,
CRM_EX_DATAERR = 65,
CRM_EX_NOINPUT = 66,
CRM_EX_NOUSER = 67,
CRM_EX_NOHOST = 68,
CRM_EX_UNAVAILABLE = 69,
CRM_EX_SOFTWARE = 70,
CRM_EX_OSERR = 71,
CRM_EX_OSFILE = 72,
CRM_EX_CANTCREAT = 73,
CRM_EX_IOERR = 74,
CRM_EX_TEMPFAIL = 75,
CRM_EX_PROTOCOL = 76,
CRM_EX_NOPERM = 77,
CRM_EX_CONFIG = 78,
CRM_EX_FATAL = 100,
CRM_EX_PANIC = 101,
CRM_EX_DISCONNECT = 102,
CRM_EX_OLD = 103,
CRM_EX_DIGEST = 104,
CRM_EX_NOSUCH = 105,
CRM_EX_QUORUM = 106,
CRM_EX_UNSAFE = 107,
CRM_EX_EXISTS = 108,
CRM_EX_MULTIPLE = 109,
CRM_EX_EXPIRED = 110,
CRM_EX_NOT_YET_IN_EFFECT = 111,
CRM_EX_INDETERMINATE = 112,
CRM_EX_UNSATISFIED = 113,
CRM_EX_TIMEOUT = 124,
CRM_EX_MAX = 255
} |
|
Function and executable result codes.
Definition in file results.h.
Return codes for Pacemaker API functions.
Any Pacemaker API function documented as returning a "standard Pacemaker
return code" will return pcmk_rc_ok (0) on success, and one of this enumeration's other (negative) values or a (positive) system error number otherwise. The custom codes are at -1001 and lower, so that the caller may use -1 through -1000 for their own custom values if desired. While generally referred to as "errors", nonzero values simply indicate a result, which might or might not be an error depending on the calling context.
Enumerator |
---|
pcmk_rc_underflow | |
pcmk_rc_no_input | |
pcmk_rc_no_output | |
pcmk_rc_after_range | |
pcmk_rc_within_range | |
pcmk_rc_before_range | |
pcmk_rc_undetermined | |
pcmk_rc_op_unsatisfied | |
pcmk_rc_ipc_pid_only | |
pcmk_rc_ipc_unresponsive | |
pcmk_rc_ipc_unauthorized | |
pcmk_rc_no_quorum | |
pcmk_rc_schema_validation | |
pcmk_rc_schema_unchanged | |
pcmk_rc_transform_failed | |
pcmk_rc_old_data | |
pcmk_rc_diff_failed | |
pcmk_rc_diff_resync | |
pcmk_rc_cib_modified | |
pcmk_rc_cib_backup | |
pcmk_rc_cib_save | |
pcmk_rc_cib_corrupt | |
pcmk_rc_multiple | |
pcmk_rc_node_unknown | |
pcmk_rc_already | |
pcmk_rc_bad_nvpair | |
pcmk_rc_unknown_format | |
pcmk_rc_error | |
pcmk_rc_ok | |
Definition at line 106 of file results.h.