st_event 206 crmd/te_utils.c tengine_stonith_notify(stonith_t * st, stonith_event_t * st_event) st_event 213 crmd/te_utils.c if (st_event == NULL) { st_event 218 crmd/te_utils.c crmd_alert_fencing_op(st_event); st_event 220 crmd/te_utils.c if (st_event->result == pcmk_ok && safe_str_eq("on", st_event->action)) { st_event 222 crmd/te_utils.c st_event->target, st_event->executioner ? st_event->executioner : "<anyone>", st_event->origin); st_event 226 crmd/te_utils.c } else if (safe_str_eq("on", st_event->action)) { st_event 228 crmd/te_utils.c st_event->target, st_event->executioner ? st_event->executioner : "<anyone>", st_event 229 crmd/te_utils.c pcmk_strerror(st_event->result), st_event->result); st_event 232 crmd/te_utils.c } else if (st_event->result == pcmk_ok && crm_str_eq(st_event->target, fsa_our_uname, TRUE)) { st_event 234 crmd/te_utils.c st_event->executioner ? st_event->executioner : "<anyone>", st_event->origin); /* Dumps blackbox if enabled */ st_event 267 crmd/te_utils.c if (!AM_I_DC && safe_str_eq(st_event->operation, T_STONITH_NOTIFY_FENCE)) { st_event 268 crmd/te_utils.c if (st_event->result == pcmk_ok) { st_event 269 crmd/te_utils.c st_fail_count_reset(st_event->target); st_event 271 crmd/te_utils.c st_fail_count_increment(st_event->target); st_event 277 crmd/te_utils.c st_event->target, st_event->result == pcmk_ok ? "" : " not", st_event 278 crmd/te_utils.c st_event->action, st_event 279 crmd/te_utils.c st_event->executioner ? st_event->executioner : "<anyone>", st_event 280 crmd/te_utils.c (st_event->client_origin? st_event->client_origin : "<unknown>"), st_event 281 crmd/te_utils.c pcmk_strerror(st_event->result), st_event 282 crmd/te_utils.c st_event->origin, st_event->id); st_event 285 crmd/te_utils.c if (st_event->result == pcmk_ok && is_cman_cluster()) { st_event 288 crmd/te_utils.c char *target_copy = strdup(st_event->target); st_event 296 crmd/te_utils.c crm_err("Could not notify CMAN that '%s' is now fenced: %d", st_event->target, st_event 299 crmd/te_utils.c crm_notice("Notified CMAN that '%s' is now fenced", st_event->target); st_event 313 crmd/te_utils.c crm_trace("CMAN not expecting %s to be fenced (yet)", st_event->target); st_event 316 crmd/te_utils.c crm_perror(LOG_ERR, "Confirmation of CMAN fencing event for '%s' failed: %d", st_event->target, local_rc); st_event 320 crmd/te_utils.c crm_notice("Confirmed CMAN fencing event for '%s'", st_event->target); st_event 328 crmd/te_utils.c if (st_event->result == pcmk_ok) { st_event 329 crmd/te_utils.c crm_node_t *peer = crm_find_peer_full(0, st_event->target, CRM_GET_PEER_ANY); st_event 331 crmd/te_utils.c gboolean we_are_executioner = safe_str_eq(st_event->executioner, fsa_our_uname); st_event 339 crmd/te_utils.c crm_trace("target=%s dc=%s", st_event->target, fsa_our_dc); st_event 342 crmd/te_utils.c send_stonith_update(NULL, st_event->target, uuid); st_event 352 crmd/te_utils.c if (st_event->client_origin && safe_str_neq(st_event->client_origin, te_client_id)) { st_event 357 crmd/te_utils.c crm_info("External fencing operation from %s fenced %s", st_event->client_origin, st_event->target); st_event 362 crmd/te_utils.c } else if (((fsa_our_dc == NULL) || safe_str_eq(fsa_our_dc, st_event->target)) st_event 366 crmd/te_utils.c fsa_our_dc ? "was" : "may have been", st_event->target, st_event 374 crmd/te_utils.c send_stonith_update(NULL, st_event->target, uuid); st_event 376 crmd/te_utils.c add_stonith_cleanup(st_event->target); st_event 385 crmd/te_utils.c remote_ra_fail(st_event->target); st_event 2197 lib/fencing/st_client.c stonith_event_t *st_event = NULL; st_event 2220 lib/fencing/st_client.c st_event = xml_to_event(blob->xml); st_event 2223 lib/fencing/st_client.c entry->notify(blob->stonith, st_event); st_event 2226 lib/fencing/st_client.c event_free(st_event);