reason 1379 daemons/based/based_callbacks.c const char *reason = NULL; reason 1392 daemons/based/based_callbacks.c reason = "membership not established"; reason 1405 daemons/based/based_callbacks.c if (reason) { reason 1409 daemons/based/based_callbacks.c crm_warn("Discarding %s message (%s) from %s: %s", op, seq, originator, reason); reason 250 daemons/controld/controld_fencing.c const char *target, xmlNode *reason) reason 258 daemons/controld/controld_fencing.c abort_transition(INFINITY, abort_action, "Stonith failed", reason); reason 325 daemons/controld/controld_te_callbacks.c const char *reason) reason 331 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 338 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 345 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, reason, change); reason 140 daemons/controld/controld_te_utils.c const char *abort_text, xmlNode * reason, const char *fn, int line) reason 174 daemons/controld/controld_te_utils.c if(reason) { reason 177 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { reason 186 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { reason 195 daemons/controld/controld_te_utils.c if(reason == NULL) { reason 201 daemons/controld/controld_te_utils.c char *local_path = xml_get_path(reason); reason 205 daemons/controld/controld_te_utils.c transition_graph->id, TYPE(reason), ID(reason), abort_text, reason 215 daemons/controld/controld_te_utils.c if(change == reason) { reason 217 daemons/controld/controld_te_utils.c reason = reason->children; reason 220 daemons/controld/controld_te_utils.c reason = first_named_child(reason, XML_DIFF_RESULT); reason 221 daemons/controld/controld_te_utils.c if(reason) { reason 222 daemons/controld/controld_te_utils.c reason = reason->children; reason 227 daemons/controld/controld_te_utils.c kind = TYPE(reason); reason 242 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_ATTR_ID), op, reason 243 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_NAME), reason 244 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_NVPAIR_ATTR_VALUE), reason 249 daemons/controld/controld_te_utils.c const char *magic = crm_element_value(reason, XML_ATTR_TRANSITION_MAGIC); reason 254 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_LRM_ATTR_TASK_KEY), op, reason 255 daemons/controld/controld_te_utils.c crm_element_value(reason, XML_LRM_ATTR_TARGET), abort_text, reason 260 daemons/controld/controld_te_utils.c const char *uname = crm_peer_uname(ID(reason)); reason 265 daemons/controld/controld_te_utils.c kind, op, (uname? uname : ID(reason)), abort_text, reason 270 daemons/controld/controld_te_utils.c const char *id = ID(reason); reason 275 daemons/controld/controld_te_utils.c TYPE(reason), (id? id : ""), (op? op : "change"), reason 50 daemons/controld/controld_transition.h const char *abort_text, xmlNode * reason, const char *fn, reason 54 daemons/controld/controld_transition.h # define abort_transition(pri, action, text, reason) \ reason 55 daemons/controld/controld_transition.h abort_transition_graph(pri, action, text, reason,__func__,__LINE__); reason 717 daemons/fenced/pacemaker-fenced.c char *reason = NULL; reason 739 daemons/fenced/pacemaker-fenced.c reason = strdup("(meta) attribute deleted from resource"); reason 760 daemons/fenced/pacemaker-fenced.c reason = crm_strdup_printf("%s %s", op, shortpath+1); reason 767 daemons/fenced/pacemaker-fenced.c crm_info("Updating device list from the cib: %s", reason); reason 772 daemons/fenced/pacemaker-fenced.c free(reason); reason 779 daemons/fenced/pacemaker-fenced.c const char *reason = "none"; reason 790 daemons/fenced/pacemaker-fenced.c reason = "new location constraint"; reason 825 daemons/fenced/pacemaker-fenced.c reason = "new resource"; reason 832 daemons/fenced/pacemaker-fenced.c crm_info("Updating device list from the cib: %s", reason); reason 346 include/crm/pengine/internal.h const char *reason, reason 528 include/crm/pengine/internal.h pe_action_t *pe_fence_op(pe_node_t * node, const char *op, bool optional, const char *reason, bool priority_delay, pe_working_set_t * data_set); reason 530 include/crm/pengine/internal.h pe_resource_t * rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t * data_set); reason 532 include/crm/pengine/internal.h void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite); reason 533 include/crm/pengine/internal.h void pe_action_set_flag_reason(const char *function, long line, pe_action_t *action, pe_action_t *reason, const char *text, enum pe_action_flags flags, bool overwrite); reason 535 include/crm/pengine/internal.h #define pe_action_required(action, reason, text) \ reason 536 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, text, \ reason 538 include/crm/pengine/internal.h #define pe_action_implies(action, reason, flag) \ reason 539 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, NULL, \ reason 550 include/crm/pengine/internal.h void pe_fence_node(pe_working_set_t * data_set, pe_node_t * node, const char *reason, bool priority_delay); reason 398 include/crm/pengine/pe_types.h char *reason; reason 206 lib/cib/cib_ops.c const char *reason = NULL; reason 219 lib/cib/cib_ops.c reason = "digest mismatch"; reason 234 lib/cib/cib_ops.c reason = XML_ATTR_GENERATION_ADMIN; reason 240 lib/cib/cib_ops.c reason = XML_ATTR_GENERATION; reason 246 lib/cib/cib_ops.c reason = XML_ATTR_NUMUPDATES; reason 249 lib/cib/cib_ops.c if (reason != NULL) { reason 253 lib/cib/cib_ops.c replace_updates, peer, admin_epoch, epoch, updates, reason); reason 379 lib/cluster/cpg.c cpgreason2str(cpg_reason_t reason) reason 381 lib/cluster/cpg.c switch (reason) { reason 457 lib/cluster/cpg.c cpgreason2str(left_list[i].reason)); reason 465 lib/cluster/cpg.c left_list[i].pid, cpgreason2str(left_list[i].reason)); reason 471 lib/cluster/cpg.c cpgreason2str(left_list[i].reason), (*rival)->pid); reason 480 lib/cluster/cpg.c joined_list[i].pid, cpgreason2str(joined_list[i].reason)); reason 531 lib/cluster/election.c const char *reason = "unknown"; reason 549 lib/cluster/election.c reason = "Not eligible"; reason 553 lib/cluster/election.c reason = "We are not part of the cluster"; reason 559 lib/cluster/election.c reason = "Superseded"; reason 564 lib/cluster/election.c reason = "Peer is not part of our cluster"; reason 586 lib/cluster/election.c reason = "Recorded"; reason 595 lib/cluster/election.c reason = "Version"; reason 599 lib/cluster/election.c reason = "Version"; reason 602 lib/cluster/election.c reason = "Uptime"; reason 606 lib/cluster/election.c reason = "Uptime"; reason 609 lib/cluster/election.c reason = "Host name"; reason 613 lib/cluster/election.c reason = "Host name"; reason 654 lib/cluster/election.c reason); reason 676 lib/cluster/election.c vote.from, reason); reason 702 lib/cluster/election.c vote.from, reason); reason 196 lib/pacemaker/pcmk_sched_allocate.c const char *reason, pe_working_set_t * data_set) reason 213 lib/pacemaker/pcmk_sched_allocate.c active_node->details->uname, (reason? reason : "unknown")); reason 357 lib/pacemaker/pcmk_sched_allocate.c const char *reason = NULL; reason 366 lib/pacemaker/pcmk_sched_allocate.c reason = "action definition changed"; reason 380 lib/pacemaker/pcmk_sched_allocate.c reason = "resource parameters have changed"; reason 386 lib/pacemaker/pcmk_sched_allocate.c if (reason) { reason 387 lib/pacemaker/pcmk_sched_allocate.c pe__clear_failcount(rsc, node, reason, data_set); reason 1162 lib/pacemaker/pcmk_sched_allocate.c const char *reason = "existence"; reason 1174 lib/pacemaker/pcmk_sched_allocate.c reason = "priority"; reason 1188 lib/pacemaker/pcmk_sched_allocate.c reason = "no node list"; reason 1204 lib/pacemaker/pcmk_sched_allocate.c reason = "current location"; reason 1233 lib/pacemaker/pcmk_sched_allocate.c reason = "score"; reason 1271 lib/pacemaker/pcmk_sched_allocate.c resource2->id, r2_weight, r2_node ? r2_node->details->id : "n/a", reason); reason 3049 lib/pacemaker/pcmk_sched_allocate.c } else if(terminal && action->reason) { reason 3050 lib/pacemaker/pcmk_sched_allocate.c printf(" * %s %s '%s'\n", task, node_name, action->reason); reason 3053 lib/pacemaker/pcmk_sched_allocate.c } else if(action->reason) { reason 3054 lib/pacemaker/pcmk_sched_allocate.c crm_notice(" * %s %s '%s'\n", task, node_name, action->reason); reason 456 lib/pacemaker/pcmk_sched_graph.c mark_start_blocked(pe_resource_t *rsc, pe_resource_t *reason, reason 460 lib/pacemaker/pcmk_sched_graph.c char *reason_text = crm_strdup_printf("colocation with %s", reason->id); reason 598 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; reason 604 lib/pacemaker/pcmk_sched_native.c reason = "inactive"; reason 606 lib/pacemaker/pcmk_sched_native.c reason = "master"; reason 608 lib/pacemaker/pcmk_sched_native.c reason = "failed"; reason 610 lib/pacemaker/pcmk_sched_native.c reason = "active"; reason 613 lib/pacemaker/pcmk_sched_native.c (assign_to? assign_to->details->uname : "no node"), reason); reason 2083 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; reason 2093 lib/pacemaker/pcmk_sched_native.c reason = "restart"; reason 2103 lib/pacemaker/pcmk_sched_native.c reason = "stop"; reason 2106 lib/pacemaker/pcmk_sched_native.c if (reason == NULL) { reason 2111 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid, reason); reason 2371 lib/pacemaker/pcmk_sched_native.c if(a && a->reason && terminal) { \ reason 2372 lib/pacemaker/pcmk_sched_native.c printf(" * "fmt" \tdue to %s\n", ##args, a->reason); \ reason 2373 lib/pacemaker/pcmk_sched_native.c } else if(a && a->reason) { \ reason 2374 lib/pacemaker/pcmk_sched_native.c crm_notice(fmt" \tdue to %s", ##args, a->reason); \ reason 2400 lib/pacemaker/pcmk_sched_native.c char *reason = NULL; reason 2479 lib/pacemaker/pcmk_sched_native.c if(source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) { reason 2480 lib/pacemaker/pcmk_sched_native.c reason = crm_strdup_printf(" due to %s (blocked)", source->reason); reason 2482 lib/pacemaker/pcmk_sched_native.c } else if(source->reason) { reason 2483 lib/pacemaker/pcmk_sched_native.c reason = crm_strdup_printf(" due to %s", source->reason); reason 2486 lib/pacemaker/pcmk_sched_native.c reason = strdup(" blocked"); reason 2489 lib/pacemaker/pcmk_sched_native.c reason = strdup(""); reason 2493 lib/pacemaker/pcmk_sched_native.c printf(" * %-8s %-*s ( %*s ) %s\n", change, rsc_width, rsc->id, detail_width, details, reason); reason 2495 lib/pacemaker/pcmk_sched_native.c crm_notice(" * %-8s %-*s ( %*s ) %s", change, rsc_width, rsc->id, detail_width, details, reason); reason 2499 lib/pacemaker/pcmk_sched_native.c free(reason); reason 2624 lib/pacemaker/pcmk_sched_native.c (stop && stop->reason)? stop : start, terminal); reason 2666 lib/pacemaker/pcmk_sched_native.c (stop_op && stop_op->reason)? stop_op : start, terminal); reason 2777 lib/pacemaker/pcmk_sched_native.c char *reason = crm_strdup_printf("required by %s %s", reason 2780 lib/pacemaker/pcmk_sched_native.c trigger_unfencing(NULL, node, reason, NULL, data_set); reason 2781 lib/pacemaker/pcmk_sched_native.c free(reason); reason 361 lib/pengine/failcounts.c const char *reason, pe_working_set_t *data_set) reason 366 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && data_set, return NULL); reason 373 lib/pengine/failcounts.c rsc->id, node->details->uname, reason, clear->uuid); reason 98 lib/pengine/unpack.c const char *reason, bool priority_delay) reason 111 lib/pengine/unpack.c node->details->uname, reason, rsc->id); reason 115 lib/pengine/unpack.c node->details->uname, rsc->id, reason); reason 130 lib/pengine/unpack.c node->details->uname, reason); reason 140 lib/pengine/unpack.c node->details->uname, reason); reason 146 lib/pengine/unpack.c reason); reason 150 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, FALSE, data_set); reason 156 lib/pengine/unpack.c reason); reason 162 lib/pengine/unpack.c reason); reason 164 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, priority_delay, data_set); reason 1896 lib/pengine/unpack.c char *reason = NULL; reason 1951 lib/pengine/unpack.c reason = crm_strdup_printf("%s is active there (fencing will be" reason 1960 lib/pengine/unpack.c if (reason == NULL) { reason 1961 lib/pengine/unpack.c reason = crm_strdup_printf("%s is thought to be active there", rsc->id); reason 1963 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); reason 1965 lib/pengine/unpack.c free(reason); reason 1989 lib/pengine/unpack.c reason = crm_strdup_printf("%s failed there", rsc->id); reason 1990 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); reason 1991 lib/pengine/unpack.c free(reason); reason 1438 lib/pengine/utils.c free(action->reason); reason 2443 lib/pengine/utils.c pe_fence_op(pe_node_t * node, const char *op, bool optional, const char *reason, reason 2540 lib/pengine/utils.c pe_action_required(stonith_op, NULL, reason); reason 2541 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { reason 2542 lib/pengine/utils.c stonith_op->reason = strdup(reason); reason 2550 lib/pengine/utils.c pe_resource_t * rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t * data_set) reason 2565 lib/pengine/utils.c pe_action_t *unfence = pe_fence_op(node, "on", FALSE, reason, FALSE, data_set); reason 2577 lib/pengine/utils.c trigger_unfencing(rsc, node, reason, dependency, data_set); reason 2621 lib/pengine/utils.c pe_action_t *action, pe_action_t *reason, const char *text, reason 2644 lib/pengine/utils.c flags, action->uuid, (reason? reason->uuid : "0")); reason 2662 lib/pengine/utils.c if(reason == NULL) { reason 2665 lib/pengine/utils.c } else if(reason->rsc == NULL) { reason 2666 lib/pengine/utils.c reason_text = crm_strdup_printf("%s %s%c %s", change, reason->task, text?':':0, text?text:""); reason 2668 lib/pengine/utils.c reason_text = crm_strdup_printf("%s %s %s%c %s", change, reason->rsc->id, reason->task, text?':':0, text?text:"NA"); reason 2671 lib/pengine/utils.c if(reason_text && action->rsc != reason->rsc) { reason 2678 lib/pengine/utils.c void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite) reason 2680 lib/pengine/utils.c if (action->reason != NULL && overwrite) { reason 2682 lib/pengine/utils.c action->uuid, action->reason, crm_str(reason)); reason 2683 lib/pengine/utils.c free(action->reason); reason 2684 lib/pengine/utils.c } else if (action->reason == NULL) { reason 2686 lib/pengine/utils.c action->uuid, crm_str(reason)); reason 2692 lib/pengine/utils.c if (reason != NULL) { reason 2693 lib/pengine/utils.c action->reason = strdup(reason); reason 2695 lib/pengine/utils.c action->reason = NULL;