id 77 attrd/commands.c crm_trace("Dampen interval expired for %s in state %d", a->id, election_state(writer)); id 98 attrd/commands.c free(a->id); id 137 attrd/commands.c a->id = crm_element_value_copy(xml, F_ATTRD_ATTRIBUTE); id 145 attrd/commands.c crm_trace("Performing all %s operations as user '%s'", a->id, a->user); id 151 attrd/commands.c crm_trace("Created attribute %s with delay %dms (%s)", a->id, dampen, value); id 153 attrd/commands.c crm_trace("Created attribute %s with no delay", a->id); id 158 attrd/commands.c a->timer = mainloop_timer_add(a->id, a->timeout_ms, FALSE, attribute_timer_cb, a); id 160 attrd/commands.c crm_warn("Ignoring invalid delay %s for attribute %s", value, a->id); id 163 attrd/commands.c g_hash_table_replace(attributes, a->id, a); id 444 attrd/commands.c attrd_client_query(crm_client_t *client, uint32_t id, uint32_t flags, xmlNode *query) id 475 attrd/commands.c if ((rc = crm_ipcs_send(client, id, reply, flags)) < 0) { id 569 attrd/commands.c crm_trace("Compatibility write-out of %s for %s from %s", a->id, op, peer->uname); id 579 attrd/commands.c crm_trace("Compatibility write-out of %s for %s from %s", a->id, op, peer->uname); id 647 attrd/commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); id 648 attrd/commands.c build_attribute_xml(sync, a->id, a->set, a->uuid, a->timeout_ms, a->user, a->is_private, id 678 attrd/commands.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); id 882 attrd/commands.c crm_trace("Election in progress to determine who will write out %s", a->id); id 885 attrd/commands.c crm_info("Starting an election to determine who will write out %s", a->id); id 889 attrd/commands.c crm_trace("%s will write out %s, we are in state %d", peer_writer, a->id, rc); id 971 attrd/commands.c do_crm_log(level, "Update %d for %s[%s]=%s: %s (%d)", call_id, a->id, peer, v->requested, pcmk_strerror(rc), rc); id 1001 attrd/commands.c crm_debug("Skipping unchanged attribute %s", a->id); id 1030 attrd/commands.c crm_xml_set_id(xml_obj, "%s-%s", set, a->id); id 1032 attrd/commands.c crm_xml_add(xml_obj, XML_NVPAIR_ATTR_NAME, a->id); id 1071 attrd/commands.c a->id, at->current); id 1073 attrd/commands.c a->id, at->nodename, at->current, at->nodeid, rc); id 1096 attrd/commands.c crm_info("Write out of '%s' delayed: cib not connected", a->id); id 1100 attrd/commands.c crm_info("Write out of '%s' continuing: update %d considered lost", a->id, a->update); id 1103 attrd/commands.c crm_info("Write out of '%s' delayed: update %d in progress", a->id, a->update); id 1107 attrd/commands.c crm_info("Write out of '%s' delayed: timer is running", a->id); id 1134 attrd/commands.c a->id, v->nodename, v->current, peer); id 1139 attrd/commands.c if (peer->id && (v->nodeid == 0)) { id 1141 attrd/commands.c v->nodeid = peer->id; id 1154 attrd/commands.c a->id, v->nodename, v->current, peer); id 1159 attrd/commands.c crm_debug("Update: %s[%s]=%s (%s %u %u %s)", a->id, v->nodename, id 1160 attrd/commands.c v->current, peer->uuid, peer->id, v->nodeid, peer->uname); id 1182 attrd/commands.c a->id, (a->uuid? a->uuid : "<n/a>"), a->set); id 1191 attrd/commands.c a->update, cib_updates, a->id, (a->uuid? a->uuid : "<n/a>"), a->set); id 1194 attrd/commands.c strdup(a->id), id 23 attrd/internal.h char *id; id 52 attrd/internal.h #define attrd_send_ack(client, id, flags) \ id 53 attrd/internal.h crm_ipcs_send_ack((client), (id), (flags), "ack", __FUNCTION__, __LINE__) id 61 attrd/internal.h void attrd_client_query(crm_client_t *client, uint32_t id, uint32_t flags, xmlNode *query); id 66 attrd/legacy.c char *id; id 95 attrd/legacy.c free(entry->id); id 110 attrd/legacy.c uint32_t id = 0; id 113 attrd/legacy.c xmlNode *msg = crm_ipcs_recv(client, data, size, &id, &flags); id 115 attrd/legacy.c crm_ipcs_send_ack(client, id, flags, "ack", __FUNCTION__, __LINE__); id 156 attrd/legacy.c crm_trace("Stopping %s timer", hash_entry->id); id 166 attrd/legacy.c text, entry->section, entry->id, entry->value, entry->dampen); id 187 attrd/legacy.c hash_entry->id = strdup(attr); id 189 attrd/legacy.c g_hash_table_insert(attr_hash, hash_entry->id, hash_entry); id 264 attrd/legacy.c if (regexec(®ex, hash_entry->id, 0, NULL, 0) == 0) { id 265 attrd/legacy.c crm_trace("Matched %s when clearing %s", hash_entry->id, what); id 541 attrd/legacy.c crm_trace("Performing local-only update after replace for %s", entry->id); id 825 attrd/legacy.c crm_info("Delaying operation %s=%s: cib not connected", hash_entry->id, id 840 attrd/legacy.c hash_entry->set, hash_entry->uuid, hash_entry->id, NULL, FALSE, id 845 attrd/legacy.c rc, attrd_uuid, hash_entry->id, id 852 attrd/legacy.c attrd_uuid, hash_entry->id, hash_entry->uuid ? hash_entry->uuid : "<n/a>", id 857 attrd/legacy.c rc, attrd_uuid, hash_entry->id, id 865 attrd/legacy.c hash_entry->id, hash_entry->value, FALSE, user_name, NULL); id 867 attrd/legacy.c crm_notice("Could not update %s=%s: %s (%d)", hash_entry->id, id 870 attrd/legacy.c crm_notice("Sent update %d: %s=%s", rc, hash_entry->id, hash_entry->value); id 872 attrd/legacy.c crm_trace("Sent update %d: %s=%s", rc, hash_entry->id, hash_entry->value); id 876 attrd/legacy.c hash_entry->id, hash_entry->value); id 879 attrd/legacy.c data->attr = strdup(hash_entry->id); id 929 attrd/legacy.c hash_entry->id, (hash_entry->uuid? hash_entry->uuid : "no uuid"), id 940 attrd/legacy.c crm_info("Expanded %s=%s to %s", hash_entry->id, value, expanded); id 955 attrd/legacy.c crm_debug("New value of %s is %s", hash_entry->id, value); id 978 attrd/legacy.c remote_attr_callback(xmlNode *msg, int id, int rc, xmlNode *output, void *data) id 981 attrd/legacy.c crm_debug("%s succeeded " CRM_XS " call=%d", (char *) data, id); id 984 attrd/legacy.c (char *) data, pcmk_strerror(rc), id, rc); id 1178 attrd/legacy.c int rc = regexec(®ex, hash_entry->id, 0, NULL, 0); id 1181 attrd/legacy.c crm_trace("Attribute %s matches %s", hash_entry->id, pattern); id 1207 attrd/legacy.c hash_entry->id, crm_str(hash_entry->value)); id 1214 attrd/legacy.c crm_xml_add(msg, F_ATTRD_ATTRIBUTE, hash_entry->id); id 235 attrd/main.c uint32_t id = 0; id 238 attrd/main.c xmlNode *xml = crm_ipcs_recv(client, data, size, &id, &flags); id 261 attrd/main.c attrd_send_ack(client, id, flags); id 265 attrd/main.c attrd_send_ack(client, id, flags); id 269 attrd/main.c attrd_send_ack(client, id, flags); id 273 attrd/main.c attrd_send_ack(client, id, flags); id 277 attrd/main.c attrd_send_ack(client, id, flags); id 281 attrd/main.c attrd_send_ack(client, id, flags); id 286 attrd/main.c attrd_client_query(client, id, flags, xml); id 134 cib/callbacks.c crm_trace("%p message from %s", c, client->id); id 143 cib/callbacks.c crm_trace("%p message from %s", c, client->id); id 188 cib/callbacks.c cib_common_callback_worker(uint32_t id, uint32_t flags, xmlNode * op_request, id 198 cib/callbacks.c crm_xml_add(ack, F_CIB_CLIENTID, cib_client->id); id 199 cib/callbacks.c crm_ipcs_send(cib_client, id, ack, flags); id 214 cib/callbacks.c type, cib_client->name, cib_client->id, on_off ? "on" : "off"); id 240 cib/callbacks.c crm_ipcs_send_ack(cib_client, id, flags, "ack", __FUNCTION__, __LINE__); id 251 cib/callbacks.c uint32_t id = 0; id 255 cib/callbacks.c xmlNode *op_request = crm_ipcs_recv(cib_client, data, size, &id, &flags); id 263 cib/callbacks.c crm_ipcs_send_ack(cib_client, id, flags, "nack", __FUNCTION__, __LINE__); id 274 cib/callbacks.c cib_client->request_id = id; /* Reply only to the last one */ id 300 cib/callbacks.c crm_xml_add(op_request, F_CIB_CLIENTID, cib_client->id); id 310 cib/callbacks.c cib_common_callback_worker(id, flags, op_request, cib_client, privileged); id 73 cib/callbacks.h extern void cib_common_callback_worker(uint32_t id, uint32_t flags, xmlNode * op_request, id 120 cib/notify.c crm_warn("Notification of client %s/%s failed", client->name, client->id); id 127 cib/notify.c crm_debug("Sent %s notification to client %s/%s", type, client->name, client->id); id 171 cib/notify.c const char *id = NULL; id 183 cib/notify.c id = crm_element_value(update, XML_ATTR_ID); id 190 cib/notify.c if (id != NULL) { id 191 cib/notify.c crm_xml_add(update_msg, F_CIB_OBJID, id); id 216 cib/notify.c crm_trace("Performing %s on <%s%s%s>", op, type, id ? " id=" : "", id ? id : ""); id 282 cib/notify.c const char *id = NULL; id 287 cib/notify.c id = crm_element_value(result_data, XML_ATTR_ID); id 295 cib/notify.c if (id != NULL) { id 296 cib/notify.c crm_xml_add(update_msg, F_CIB_OBJID, id); id 366 cib/remote.c crm_trace("Cleaning up after client disconnect: %s/%s", crm_str(client->name), client->id); id 422 cib/remote.c client->name = strdup(client->id); id 432 cib/remote.c crm_trace("Callback channel for %s is %s", client->id, (char*)client->userdata); id 435 cib/remote.c client->userdata = strdup(client->id); id 445 cib/remote.c crm_xml_add(command, F_CIB_CLIENTID, client->id); id 537 cib/remote.c crm_xml_add(reg, F_CIB_CLIENTID, client->id); id 214 crmd/callbacks.c alive, appeared, (down? down->id : -1)); id 231 crmd/callbacks.c task, node->uname, down->id); id 247 crmd/callbacks.c node->uname, (alive? "" : "not "), task, down->id); id 710 crmd/control.c uint32_t id = 0; id 714 crmd/control.c xmlNode *msg = crm_ipcs_recv(client, data, size, &id, &flags); id 717 crmd/control.c crm_ipcs_send_ack(client, id, flags, "ack", __FUNCTION__, __LINE__); id 731 crmd/control.c crm_xml_add(msg, F_CRM_SYS_FROM, client->id); id 117 crmd/corosync.c peer->id); id 72 crmd/crmd_fsa.h int id; id 29 crmd/crmd_lrm.h char *id; id 159 crmd/crmd_lrm.h gboolean is_remote_lrmd_ra(const char *agent, const char *provider, const char *id); id 114 crmd/crmd_utils.h # define fsa_register_cib_callback(id, flag, data, fn) do { \ id 117 crmd/crmd_utils.h fsa_cib_conn, id, cib_op_timeout(), \ id 233 crmd/fsa.c fsa_input2string(fsa_data->fsa_input), fsa_data->origin, fsa_data->id); id 455 crmd/fsa.c crm_trace("Processing queued input %d", stored_msg->id); id 63 crmd/join_dc.c source, node->uname, node->id, current_join_id, id 69 crmd/join_dc.c source, node->uname, node->id, current_join_id, id 75 crmd/join_dc.c node->uname, current_join_id, source, node->id, id 179 crmd/lrm.c free(history->id); id 205 crmd/lrm.c entry->id = strdup(op->rsc_id); id 206 crmd/lrm.c g_hash_table_insert(lrm_state->resource_history, entry->id, entry); id 208 crmd/lrm.c entry->rsc.id = entry->id; id 476 crmd/lrm.c if (is_rsc_active(lrm_state, entry->id) == FALSE) { id 482 crmd/lrm.c crm_info("Found %s active at %s", entry->id, when); id 484 crmd/lrm.c crm_trace("Found %s active at %s", entry->id, when); id 491 crmd/lrm.c if (crm_str_eq(entry->id, pending->rsc_id, TRUE)) { id 730 crmd/lrm.c rsc->id, rsc->class, rsc->provider, rsc->type); id 739 crmd/lrm.c rsc->id, rsc->class, rsc->provider, rsc->type); id 800 crmd/lrm.c crm_xml_add(xml_rsc, XML_ATTR_ID, entry->id); id 808 crmd/lrm.c crm_trace("Resource %s is a part of container resource %s", entry->id, container); id 1233 crmd/lrm.c remove = !cancel_op(data->lrm_state, data->rsc->id, key, op->call_id, data->remove); id 1263 crmd/lrm.c const char *id = ID(resource); id 1269 crmd/lrm.c crm_trace("Retrieving %s from the LRM.", id); id 1270 crmd/lrm.c CRM_CHECK(id != NULL, return NULL); id 1272 crmd/lrm.c rsc = lrm_state_get_rsc_info(lrm_state, id, 0); id 1282 crmd/lrm.c crm_trace("Adding rsc %s before operation", id); id 1284 crmd/lrm.c lrm_state_register_rsc(lrm_state, id, class, provider, type, lrmd_opt_drop_recurring); id 1286 crmd/lrm.c rsc = lrm_state_get_rsc_info(lrm_state, id, 0); id 1291 crmd/lrm.c crm_err("Could not add resource %s to LRM %s", id, lrm_state->node_name); id 1306 crmd/lrm.c const char *id, id 1317 crmd/lrm.c crm_info("Removing resource %s for %s (%s) on %s", id, sys, user ? user : "internal", host); id 1320 crmd/lrm.c rc = lrm_state_unregister_rsc(lrm_state, id, 0); id 1324 crmd/lrm.c crm_trace("Resource '%s' deleted", id); id 1326 crmd/lrm.c crm_info("Deletion of resource '%s' pending", id); id 1332 crmd/lrm.c op->rsc = strdup(rsc->id); id 1339 crmd/lrm.c id, sys, user ? user : "internal", host, rc); id 1342 crmd/lrm.c delete_rsc_entry(lrm_state, request, id, gIter, rc, user); id 1383 crmd/lrm.c if (is_remote_lrmd_ra(NULL, NULL, entry->id)) { id 1384 crmd/lrm.c lrm_state_t *remote_lrm_state = lrm_state_find(entry->id); id 1393 crmd/lrm.c delete_resource(lrm_state, entry->id, &entry->rsc, &gIter, from_sys, from_host, id 1451 crmd/lrm.c rsc.id = strdup(op->rsc_id); id 1458 crmd/lrm.c free(rsc.id); id 1569 crmd/lrm.c crm_info("Failing resource %s...", rsc->id); id 1707 crmd/lrm.c op_key = generate_op_key(rsc->id, op_task, crm_parse_int(op_interval, "0")); id 1718 crmd/lrm.c in_progress = cancel_op(lrm_state, rsc->id, NULL, call, TRUE); id 1722 crmd/lrm.c if (in_progress == FALSE || is_remote_lrmd_ra(NULL, NULL, rsc->id)) { id 1723 crmd/lrm.c char *op_id = make_stop_id(rsc->id, call); id 1725 crmd/lrm.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) == FALSE) { id 1728 crmd/lrm.c erase_lrm_history_by_id(lrm_state, rsc->id, op_key, NULL, call); id 1729 crmd/lrm.c send_task_ok_ack(lrm_state, input, rsc->id, rsc, op_task, id 1749 crmd/lrm.c send_task_ok_ack(lrm_state, input, rsc->id, rsc, op_task, id 1760 crmd/lrm.c int cib_rc = delete_rsc_status(lrm_state, rsc->id, cib_dryrun | cib_sync_call, user_name); id 1766 crmd/lrm.c rsc->id, from_sys, user_name ? user_name : "unknown", from_host, cib_rc, id 1769 crmd/lrm.c op = construct_op(lrm_state, input->xml, rsc->id, operation); id 1777 crmd/lrm.c send_direct_ack(from_host, from_sys, NULL, op, rsc->id); id 1783 crmd/lrm.c if (crm_rsc_delete == TRUE && is_remote_lrmd_ra(NULL, NULL, rsc->id)) { id 1787 crmd/lrm.c delete_resource(lrm_state, rsc->id, rsc, NULL, from_sys, from_host, user_name, input, unregister); id 2038 crmd/lrm.c if (op->interval != 0 && crm_str_eq(op->rsc_id, event->rsc->id, TRUE)) { id 2040 crmd/lrm.c remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE); id 2122 crmd/lrm.c op = construct_op(lrm_state, msg, rsc->id, operation); id 2125 crmd/lrm.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) id 2154 crmd/lrm.c removed, s_if_plural(removed), rsc->id, operation, op->interval); id 2159 crmd/lrm.c crm_info("Performing key=%s op=%s_%s_%d", transition, rsc->id, operation, op->interval); id 2175 crmd/lrm.c operation, rsc->id, fsa_state2string(fsa_state), id 2180 crmd/lrm.c send_direct_ack(NULL, NULL, rsc, op, rsc->id); id 2188 crmd/lrm.c op_id = generate_op_key(rsc->id, op->op_type, op->interval); id 2207 crmd/lrm.c rsc->id, id 2212 crmd/lrm.c crm_err("Operation %s on %s failed: %d", operation, rsc->id, call_id); id 2217 crmd/lrm.c crm_err("Operation %s on resource %s failed to execute on remote node %s: %d", operation, rsc->id, lrm_state->node_name, call_id); id 2218 crmd/lrm.c op->call_id = get_fake_call_id(lrm_state, rsc->id); id 2229 crmd/lrm.c char *call_id_s = make_stop_id(rsc->id, call_id); id 2239 crmd/lrm.c pending->rsc_id = strdup(rsc->id); id 2255 crmd/lrm.c send_direct_ack(NULL, NULL, rsc, op, rsc->id); id 647 crmd/lrm_state.c g_hash_table_insert(lrm_state->rsc_info_cache, rsc->id, rsc); id 752 crmd/lrm_state.c node->uname, node->id, node->state); id 774 crmd/lrm_state.c pcmk_strerror(e->result), e->id); id 116 crmd/messages.c fsa_data->id = last_data_id; id 201 crmd/messages.c offset++, data->id, fsa_input2string(data->fsa_input), id 275 crmd/messages.c crm_trace("Processing input %d", message->id); id 543 crmd/messages.c const char *uuid = curr_client ? curr_client->id : proxy_session; id 856 crmd/messages.c int id = 0; id 859 crmd/messages.c crm_element_value_int(stored_msg, XML_ATTR_ID, &id); id 865 crmd/messages.c crm_err("Could not instruct peers to remove references to node %s/%u", name, id); id 867 crmd/messages.c crm_notice("Instructing peers to remove references to node %s/%u", name, id); id 872 crmd/messages.c reap_crm_member(id, name); id 990 crmd/messages.c fsa_data.id = 0; id 40 crmd/pengine.c char *id = user_data; id 43 crmd/pengine.c CRM_CHECK(id != NULL, return); id 49 crmd/pengine.c len += strlen(id); id 55 crmd/pengine.c sprintf(filename, PE_STATE_DIR "/pe-core-%s.bz2", id); id 870 crmd/remote_lrmd_ra.c is_remote_lrmd_ra(const char *agent, const char *provider, const char *id) id 875 crmd/remote_lrmd_ra.c if (id && lrm_state_find(id) && safe_str_neq(id, fsa_our_uname)) { id 890 crmd/remote_lrmd_ra.c info->id = strdup(rsc_id); id 83 crmd/te_actions.c crm_debug("Pseudo-action %d (%s) fired and confirmed", pseudo->id, id 164 crmd/te_actions.c const char *id = NULL; id 171 crmd/te_actions.c id = ID(action->xml); id 176 crmd/te_actions.c CRM_CHECK(id != NULL, invalid_action = TRUE); id 188 crmd/te_actions.c type, target, id, transition_graph->stonith_timeout); id 202 crmd/te_actions.c generate_transition_key(transition_graph->id, action->id, id 227 crmd/te_actions.c const char *id = NULL; id 236 crmd/te_actions.c id = ID(action->xml); id 246 crmd/te_actions.c crm_err("Corrupted command (id=%s) %s: no node", crm_str(id), crm_str(task)); id 250 crmd/te_actions.c crm_str(id), crm_str(task), on_node, id 264 crmd/te_actions.c crm_info("crm-event (%s) is a local shutdown", crm_str(id)); id 280 crmd/te_actions.c generate_transition_key(transition_graph->id, action->id, get_target_rc(action), te_uuid); id 288 crmd/te_actions.c crm_err("Action %d failed: send", action->id); id 299 crmd/te_actions.c action->id, task, on_node, action->timeout, graph->network_delay); id 330 crmd/te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); id 333 crmd/te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); id 373 crmd/te_actions.c op->user_data = generate_transition_key(transition_graph->id, action->id, target_rc, te_uuid); id 386 crmd/te_actions.c services_lrm_status_str(status), action->id, task_uuid, target, rc); id 443 crmd/te_actions.c generate_transition_key(transition_graph->id, action->id, get_target_rc(action), te_uuid); id 457 crmd/te_actions.c (no_wait? " without waiting" : ""), action->id); id 470 crmd/te_actions.c .id = 0, id 491 crmd/te_actions.c crm_err("Action %d failed: send", action->id); id 495 crmd/te_actions.c crm_info("Action %d confirmed - no wait", action->id); id 504 crmd/te_actions.c action->id, task, task_uuid, on_node, action->timeout); id 508 crmd/te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); id 611 crmd/te_actions.c const char *id = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); id 632 crmd/te_actions.c target, limit, r->jobs, id); id 638 crmd/te_actions.c target, graph->migration_limit, r->migrate_jobs, id); id 752 crmd/te_actions.c crm_debug("Transition %d status: %s - %s", graph->id, type, crm_str(graph->abort_reason)); id 232 crmd/te_callbacks.c op_id, node, cancelled->id); id 491 crmd/te_callbacks.c crm_info("Cancellation of %s on %s confirmed (%d)", key, node_uuid, cancel->id); id 779 crmd/te_callbacks.c || transition_graph->id != transition_id) { id 90 crmd/te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); id 93 crmd/te_events.c action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node); id 131 crmd/te_events.c const char *id = crm_element_value(event, XML_LRM_ATTR_TASK_KEY); id 142 crmd/te_events.c id, rc, on_uname); id 148 crmd/te_events.c CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval), id 244 crmd/te_events.c action->id, task, uname, target_rc, rc, id 316 crmd/te_events.c crm_str(this_event), action->id, crm_str(target), op_rc, ignore_s); id 320 crmd/te_events.c get_action(int id, gboolean confirmed) id 333 crmd/te_events.c if (action->id == id) { id 347 crmd/te_events.c get_cancel_action(const char *id, const char *node) id 368 crmd/te_events.c if (safe_str_neq(task, id)) { id 369 crmd/te_events.c crm_trace("Wrong key %s for %s on %s", task, id, node); id 375 crmd/te_events.c crm_trace("Wrong node %s for %s on %s", target, id, node); id 379 crmd/te_events.c crm_trace("Found %s on %s", id, node); id 429 crmd/te_events.c target, match->id, id 455 crmd/te_events.c const char *id = NULL; id 465 crmd/te_events.c id = crm_element_value(event, XML_LRM_ATTR_TASK_KEY); id 478 crmd/te_events.c crm_err("Invalid event %s.%d detected: %s", id, callid, magic); id 496 crmd/te_events.c } else if (transition_graph->id != transition_num) { id 520 crmd/te_events.c crm_trace("Processed update to %s: %s", id, magic); id 529 crmd/te_events.c action_num, id, callid, services_ocf_exitcode_str(rc), desc); id 158 crmd/te_utils.c action->id, ID(action->xml)); id 282 crmd/te_utils.c st_event->origin, st_event->id); id 478 crmd/te_utils.c crm_trace("Invoking graph %d in state %s", transition_graph->id, fsa_state2string(fsa_state)); id 519 crmd/te_utils.c crm_debug("Transition %d is now complete", transition_graph->id); id 199 crmd/tengine.c crm_info("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref, id 37 crmd/tengine.h extern crm_action_t *get_cancel_action(const char *id, const char *node); id 44 crmd/tengine.h extern crm_action_t *get_action(int id, gboolean confirmed); id 87 fencing/commands.c int id; id 201 fencing/commands.c device->id); id 252 fencing/commands.c crm_element_value_int(msg, F_STONITH_CALLID, &(cmd->id)); id 331 fencing/commands.c device->id, action_limit, active_cmds, active_cmds > 1 ? "s" : ""); id 343 fencing/commands.c device->id, cmd->start_delay); id 352 fencing/commands.c crm_trace("Nothing further to do for %s", device->id); id 373 fencing/commands.c if (replace_secret_params(device->id, device->params) < 0) { id 377 fencing/commands.c crm_info("proceeding with the stop operation for %s", device->id); id 381 fencing/commands.c "considering resource not configured", device->id); id 407 fencing/commands.c device->id, exec_rc, cmd->timeout); id 413 fencing/commands.c device->id, pcmk_strerror(exec_rc), exec_rc); id 457 fencing/commands.c cmd->victim_nodeid = node->id; id 460 fencing/commands.c cmd->device = strdup(device->id); id 465 fencing/commands.c cmd->action, device->id, cmd->origin, cmd->remote_op_id, cmd->timeout); id 468 fencing/commands.c cmd->action, device->id, cmd->client, cmd->timeout); id 482 fencing/commands.c delay_base, delay_max, cmd->action, device->id); id 492 fencing/commands.c cmd->action, device->id, cmd->start_delay, cmd->timeout, id 511 fencing/commands.c crm_warn("Removal of device '%s' purged operation %s", device->id, cmd->action); id 524 fencing/commands.c free(device->id); id 894 fencing/commands.c device->id = crm_element_value_copy(dev, XML_ATTR_ID); id 897 fencing/commands.c device->params = xml2device_params(device->id, dev); id 921 fencing/commands.c crm_info("The fencing device '%s' requires unfencing", device->id); id 926 fencing/commands.c device->id, device->on_target_actions); id 974 fencing/commands.c cmd->id = -1; id 979 fencing/commands.c cmd->device = strdup(device->id); id 1026 fencing/commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); id 1029 fencing/commands.c crm_trace("Host %s is known by %s", search->host, dev->id); id 1033 fencing/commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, id 1036 fencing/commands.c search_devices_record_result(search, dev->id, can); id 1063 fencing/commands.c crm_notice("Disabling port list queries for %s (%d): %s", dev->id, rc, output); id 1070 fencing/commands.c crm_info("Refreshing port list for %s", dev->id); id 1086 fencing/commands.c search_devices_record_result(search, dev->id, can_fence); id 1126 fencing/commands.c stonith_device_t *dup = g_hash_table_lookup(device_list, device->id); id 1129 fencing/commands.c crm_trace("No match for %s", device->id); id 1155 fencing/commands.c crm_debug("Device '%s' already existed in device list (%d active devices)", device->id, id 1161 fencing/commands.c stonith_device_t *old = g_hash_table_lookup(device_list, device->id); id 1168 fencing/commands.c crm_info("Overwriting an existing entry for %s from the cib", device->id); id 1176 fencing/commands.c g_hash_table_replace(device_list, device->id, device); id 1178 fencing/commands.c crm_notice("Added '%s' to the device list (%d active devices)", device->id, id 1182 fencing/commands.c *desc = device->id; id 1195 fencing/commands.c stonith_device_remove(const char *id, gboolean from_cib) id 1197 fencing/commands.c stonith_device_t *device = g_hash_table_lookup(device_list, id); id 1200 fencing/commands.c crm_info("Device '%s' not found (%d active devices)", id, g_hash_table_size(device_list)); id 1212 fencing/commands.c g_hash_table_remove(device_list, id); id 1214 fencing/commands.c id, g_hash_table_size(device_list)); id 1217 fencing/commands.c "- still %s%s_registered", id, g_hash_table_size(device_list), id 1361 fencing/commands.c int id = 0; id 1383 fencing/commands.c crm_element_value_int(level, XML_ATTR_STONITH_INDEX, &id); id 1386 fencing/commands.c *desc = crm_strdup_printf("%s[%d]", target, id); id 1390 fencing/commands.c if (mode >= 3 || (id <= 0) || (id >= ST_LEVEL_MAX)) { id 1391 fencing/commands.c crm_trace("Could not add %s[%d] (%d) to the topology (%d active entries)", target, id, mode, g_hash_table_size(topology)); id 1414 fencing/commands.c if (tp->levels[id] != NULL) { id 1416 fencing/commands.c tp->target, id); id 1423 fencing/commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); id 1424 fencing/commands.c tp->levels[id] = g_list_append(tp->levels[id], strdup(device)); id 1436 fencing/commands.c int id = 0; id 1446 fencing/commands.c crm_element_value_int(level, XML_ATTR_STONITH_INDEX, &id); id 1448 fencing/commands.c *desc = crm_strdup_printf("%s[%d]", target, id); id 1452 fencing/commands.c if (id >= ST_LEVEL_MAX) { id 1462 fencing/commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { id 1466 fencing/commands.c } else if (id > 0 && tp->levels[id] != NULL) { id 1467 fencing/commands.c g_list_free_full(tp->levels[id], free); id 1468 fencing/commands.c tp->levels[id] = NULL; id 1471 fencing/commands.c id, target, count_active_levels(tp)); id 1483 fencing/commands.c const char *id = crm_element_value(dev, F_STONITH_DEVICE); id 1488 fencing/commands.c if (id) { id 1489 fencing/commands.c crm_trace("Looking for '%s'", id); id 1490 fencing/commands.c device = g_hash_table_lookup(device_list, id); id 1506 fencing/commands.c crm_info("Device %s not found", id ? id : "<none>"); id 1556 fencing/commands.c action, device->id, target); id 1629 fencing/commands.c check_type, dev?dev->id:"N/A", search->host, search->action); id 1644 fencing/commands.c check_type, dev?dev->id:"N/A", search->host, search->action); id 1654 fencing/commands.c crm_notice("%s can%s fence (%s) %s: %s", dev->id, can ? "" : " not", search->action, host, check_type); id 1656 fencing/commands.c crm_notice("%s can%s fence (%s) %s (aka. '%s'): %s", dev->id, can ? "" : " not", search->action, host, alias, id 1661 fencing/commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); id 1769 fencing/commands.c crm_trace("Action %s is required on %s", action, device->id); id 1776 fencing/commands.c action, action_specific_timeout, device->id); id 1783 fencing/commands.c action, delay_max, device->id); id 1794 fencing/commands.c action, delay_max, device->id); id 1797 fencing/commands.c action, delay_base, device->id); id 1801 fencing/commands.c action, delay_base, delay_max, device->id); id 1821 fencing/commands.c action, device->id); id 1872 fencing/commands.c crm_xml_add(dev, XML_ATTR_ID, device->id); id 1883 fencing/commands.c device->id); id 1986 fencing/commands.c cmd->action, pid, cmd->id, cmd->client_name, cmd->victim, cmd->device, rc, id 2097 fencing/commands.c crm_trace("Cancel scheduled %s on %s", cmd->action, device->id); id 2371 fencing/commands.c crm_xml_add_int(reply, F_STONITH_CALLID, cmd->id); id 2417 fencing/commands.c crm_trace("Checking for %s.%d != %s", entry->uname, entry->id, target); id 2428 fencing/commands.c crm_notice("Peer[%d] %s", entry->id, entry->uname); id 2448 fencing/commands.c handle_request(crm_client_t * client, uint32_t id, uint32_t flags, xmlNode * request, id 2464 fencing/commands.c CRM_ASSERT(client == NULL || client->request_id == id); id 2472 fencing/commands.c crm_xml_add(reply, F_STONITH_CLIENTID, client->id); id 2473 fencing/commands.c crm_ipcs_send(client, id, reply, flags); id 2503 fencing/commands.c crm_debug("Setting %s callbacks for %s (%s): ON", flag_name, client->name, client->id); id 2509 fencing/commands.c crm_debug("Setting %s callbacks for %s (%s): off", flag_name, client->name, client->id); id 2514 fencing/commands.c crm_ipcs_send_ack(client, id, flags, "ack", __FUNCTION__, __LINE__); id 2556 fencing/commands.c client->name, client->id, action, target, device ? device : "(any)"); id 2577 fencing/commands.c if (client->id) { id 2578 fencing/commands.c client_id = client->id; id 2587 fencing/commands.c crm_xml_add(request, F_STONITH_CLIENTID, client->id); id 2659 fencing/commands.c id, is_set(call_options, st_opt_sync_call), call_options, id 2663 fencing/commands.c CRM_ASSERT(client == NULL || client->request_id == id); id 2695 fencing/commands.c stonith_command(crm_client_t * client, uint32_t id, uint32_t flags, xmlNode * request, id 2719 fencing/commands.c id, client ? client->name : remote_peer, call_options); id 2722 fencing/commands.c CRM_ASSERT(client == NULL || client->request_id == id); id 2728 fencing/commands.c rc = handle_request(client, id, flags, request, remote_peer); id 23 fencing/internal.h char *id; id 68 fencing/internal.h char *id; id 175 fencing/internal.h void stonith_command(crm_client_t * client, uint32_t id, uint32_t flags, id 180 fencing/internal.h int stonith_device_remove(const char *id, gboolean from_cib); id 97 fencing/main.c uint32_t id = 0; id 109 fencing/main.c request = crm_ipcs_recv(c, data, size, &id, &flags); id 111 fencing/main.c crm_ipcs_send_ack(c, id, flags, "nack", __FUNCTION__, __LINE__); id 120 fencing/main.c crm_xml_add(request, F_STONITH_CLIENTID, c->id); id 139 fencing/main.c crm_trace("Flags %u/%u for command %u from %s", flags, call_options, id, crm_client_name(c)); id 144 fencing/main.c c->request_id = id; /* Reply only to the last one */ id 147 fencing/main.c crm_xml_add(request, F_STONITH_CLIENTID, c->id); id 152 fencing/main.c stonith_command(c, id, flags, request, NULL); id 338 fencing/main.c type, crm_client_name(client), client->id, pcmk_strerror(rc), rc); id 341 fencing/main.c client->id); id 572 fencing/main.c #define rsc_name(x) x->clone_name?x->clone_name:x->id id 624 fencing/main.c crm_trace("Only processing one copy of the clone %s", rsc->id); id 640 fencing/main.c crm_info("Device %s has been disabled", rsc->id); id 654 fencing/main.c crm_info("Device %s has been disabled on %s: unknown", rsc->id, stonith_our_uname); id 666 fencing/main.c crm_info("Device %s has been disabled on %s: score=%s", rsc->id, stonith_our_uname, score); id 682 fencing/main.c crm_debug("Device %s is allowed on %s: score=%d", rsc->id, stonith_our_uname, node->weight); id 1263 fencing/main.c if (node->id && node->uname) { id 1264 fencing/main.c g_hash_table_insert(known_peer_names, GUINT_TO_POINTER(node->id), strdup(node->uname)); id 1277 fencing/main.c crm_debug("Broadcasting our uname because of node %u", node->id); id 234 fencing/remote.c crm_trace("Free'ing op %s for %s", op->id, op->target); id 239 fencing/remote.c free(op->id); id 285 fencing/remote.c op->target, op->id); id 306 fencing/remote.c op->target, op->client_name, op->id); id 339 fencing/remote.c op->target, op->client_name, op->id); id 355 fencing/remote.c crm_xml_add(notify_data, F_STONITH_REMOTE_OP_ID, op->id); id 428 fencing/remote.c other->originator, other->id, pcmk_strerror(rc)); id 477 fencing/remote.c op->client_name, op->originator, op->id, op->state, pcmk_strerror(rc)); id 514 fencing/remote.c op->client_name, op->originator, op->id, pcmk_strerror(rc)); id 547 fencing/remote.c op->action, op->target, op->client_name, op->id); id 561 fencing/remote.c op->action, op->target, op->client_name, op->id); id 575 fencing/remote.c op->action, op->id, op->target, op->client_name); id 580 fencing/remote.c op->action, op->id, op->target, op->client_name); id 605 fencing/remote.c crm_debug("Operation %s for %s already completed", op->id, op->target); id 607 fencing/remote.c crm_debug("Operation %s for %s already in progress", op->id, op->target); id 609 fencing/remote.c crm_debug("Query %s for %s complete: %d", op->id, op->target, op->state); id 612 fencing/remote.c crm_debug("Query %s for %s timed out: %d", op->id, op->target, op->state); id 803 fencing/remote.c op->client_name, op->originator, op->id); id 818 fencing/remote.c op->target, op->client_name, op->originator, op->id); id 861 fencing/remote.c other->action, other->target, other->client_name, other->originator, other->id); id 867 fencing/remote.c other->action, other->target, other->client_name, other->originator, other->id, id 883 fencing/remote.c op->action, op->target, op->client_name, op->id, other->client_name, other->originator, id 884 fencing/remote.c other->id, other->total_timeout); id 988 fencing/remote.c op->id = crm_element_value_copy(dev, F_STONITH_REMOTE_OP_ID); id 990 fencing/remote.c op->id = crm_generate_uuid(); id 993 fencing/remote.c g_hash_table_replace(remote_op_list, op->id, op); id 994 fencing/remote.c CRM_LOG_ASSERT(g_hash_table_lookup(remote_op_list, op->id) != NULL); id 995 fencing/remote.c crm_trace("Created %s", op->id); id 1025 fencing/remote.c && dev) ? "Recorded" : "Generated", op->id, op->action, op->target, op->client_name); id 1058 fencing/remote.c client_id = client->id; id 1068 fencing/remote.c op->target, op->id); id 1081 fencing/remote.c CRM_XS " id=%s", op->action, op->target, op->id); id 1087 fencing/remote.c CRM_XS " id=%s", op->action, op->target, op->id); id 1093 fencing/remote.c op->action, op->target, op->id, op->state); id 1096 fencing/remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, id 1099 fencing/remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID, op->id); id 1350 fencing/remote.c crm_trace("Reporting timeout for %s.%.8s", op->client_name, op->id); id 1365 fencing/remote.c update = stonith_create_op(op->client_callid, op->id, STONITH_OP_TIMEOUT_UPDATE, NULL, 0); id 1366 fencing/remote.c crm_xml_add(update, F_STONITH_REMOTE_OP_ID, op->id); id 1378 fencing/remote.c crm_trace("Reporting timeout for duplicate %s.%.8s", dup->client_name, dup->id); id 1441 fencing/remote.c crm_trace("State for %s.%.8s: %s %d", op->target, op->client_name, op->id, op->state); id 1454 fencing/remote.c total_timeout, op->target, op->client_name, op->id); id 1469 fencing/remote.c xmlNode *remote_op = stonith_create_op(op->client_callid, op->id, STONITH_OP_FENCE, NULL, 0); id 1471 fencing/remote.c crm_xml_add(remote_op, F_STONITH_REMOTE_OP_ID, op->id); id 1504 fencing/remote.c op->action, op->client_name, op->id, device); id 1513 fencing/remote.c op->action, op->client_name, op->id, device); id 1556 fencing/remote.c op->action, op->client_name, op->id, device); id 1579 fencing/remote.c op->action, op->target, device, op->client_name, op->id); id 1582 fencing/remote.c op->action, op->target, op->client_name, op->id); id 1816 fencing/remote.c const char *id = NULL; id 1825 fencing/remote.c id = crm_element_value(dev, F_STONITH_REMOTE_OP_ID); id 1826 fencing/remote.c CRM_CHECK(id != NULL, return -EPROTO); id 1832 fencing/remote.c op = g_hash_table_lookup(remote_op_list, id); id 1835 fencing/remote.c id); id 1848 fencing/remote.c op->target, op->action, ndevices, id); id 1910 fencing/remote.c const char *id = NULL; id 1917 fencing/remote.c id = crm_element_value(dev, F_STONITH_REMOTE_OP_ID); id 1918 fencing/remote.c CRM_CHECK(id != NULL, return -EPROTO); id 1928 fencing/remote.c op = g_hash_table_lookup(remote_op_list, id); id 1941 fencing/remote.c crm_info("Received peer result of unknown or expired operation %s", id); id 1954 fencing/remote.c op->action, op->target, op->client_name, op->id, op->originator, id 2070 fencing/remote.c crm_trace("Attaching op %s", op->id); id 123 fencing/test.c pcmk_strerror(e->result), e->id); id 183 include/crm/cib.h # define add_cib_op_callback(cib, id, flag, data, fn) do { \ id 184 include/crm/cib.h cib->cmds->register_callback(cib, id, 120, flag, data, #fn, fn); \ id 105 include/crm/cib/internal.h const char *id; id 73 include/crm/cluster.h uint32_t id; /* Only used by corosync derivatives */ id 162 include/crm/cluster.h crm_node_t *crm_get_peer_full(unsigned int id, const char *uname, int flags); id 165 include/crm/cluster.h crm_node_t *crm_get_peer(unsigned int id, const char *uname); id 169 include/crm/cluster.h guint reap_crm_member(uint32_t id, const char *name); id 35 include/crm/cluster/internal.h uint32_t id; id 46 include/crm/cluster/internal.h uint32_t id; id 61 include/crm/cluster/internal.h uint32_t id; id 69 include/crm/cluster/internal.h uint64_t id; id 445 include/crm/cluster/internal.h int get_corosync_id(int id, const char *uuid); id 449 include/crm/cluster/internal.h crm_node_t *crm_update_peer(const char *source, unsigned int id, uint64_t born, id 472 include/crm/cluster/internal.h crm_node_t * crm_find_peer_full(unsigned int id, const char *uname, int flags); id 473 include/crm/cluster/internal.h crm_node_t * crm_find_peer(unsigned int id, const char *uname); id 46 include/crm/common/alerts_internal.h char *id; id 84 include/crm/common/alerts_internal.h crm_alert_entry_t *crm_alert_entry_new(const char *id, const char *path); id 74 include/crm/common/ipcs.h char *id; id 108 include/crm/common/ipcs.h crm_client_t *crm_client_get_by_id(const char *id); id 124 include/crm/common/ipcs.h xmlNode *crm_ipcs_recv(crm_client_t * c, void *data, size_t size, uint32_t * id, uint32_t * flags); id 58 include/crm/common/xml.h xmlNode *crm_create_nvpair_xml(xmlNode *parent, const char *id, id 188 include/crm/common/xml.h xmlNode *find_entity(xmlNode * parent, const char *node_name, const char *id); id 398 include/crm/common/xml.h void crm_xml_sanitize_id(char *id); id 50 include/crm/fencing/internal.h xmlNode *create_device_registration_xml(const char *id, const char *namespace, const char *agent, id 261 include/crm/lrmd.h char *id; id 24 include/crm/pengine/internal.h # define pe_rsc_info(rsc, fmt, args...) crm_log_tag(LOG_INFO, rsc ? rsc->id : "<NULL>", fmt, ##args) id 25 include/crm/pengine/internal.h # define pe_rsc_debug(rsc, fmt, args...) crm_log_tag(LOG_DEBUG, rsc ? rsc->id : "<NULL>", fmt, ##args) id 26 include/crm/pengine/internal.h # define pe_rsc_trace(rsc, fmt, args...) crm_log_tag(LOG_TRACE, rsc ? rsc->id : "<NULL>", fmt, ##args) id 70 include/crm/pengine/internal.h void common_update_score(resource_t * rsc, const char *id, int score); id 80 include/crm/pengine/internal.h resource_t *native_find_rsc(resource_t * rsc, const char *id, node_t * node, int flags); id 180 include/crm/pengine/internal.h # define delete_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_DELETE, 0) id 185 include/crm/pengine/internal.h # define stopped_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_STOPPED, 0) id 190 include/crm/pengine/internal.h # define stop_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_STOP, 0) id 195 include/crm/pengine/internal.h # define reload_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_RELOAD, 0) id 196 include/crm/pengine/internal.h # define start_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_START, 0) id 201 include/crm/pengine/internal.h # define started_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_STARTED, 0) id 206 include/crm/pengine/internal.h # define promote_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_PROMOTE, 0) id 211 include/crm/pengine/internal.h # define promoted_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_PROMOTED, 0) id 216 include/crm/pengine/internal.h # define demote_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_DEMOTE, 0) id 221 include/crm/pengine/internal.h # define demoted_key(rsc) generate_op_key(rsc->id, CRMD_ACTION_DEMOTED, 0) id 253 include/crm/pengine/internal.h const char *pe_base_name_end(const char *id); id 258 include/crm/pengine/internal.h pe_base_name_eq(resource_t *rsc, const char *id) id 260 include/crm/pengine/internal.h if (id && rsc && rsc->id) { id 262 include/crm/pengine/internal.h size_t base_len = pe_base_name_end(rsc->id) - rsc->id + 1; id 264 include/crm/pengine/internal.h return (strlen(id) == base_len) && !strncmp(id, rsc->id, base_len); id 318 include/crm/pengine/internal.h node_t *pe_create_node(const char *id, const char *uname, const char *type, id 138 include/crm/pengine/status.h const char *id; id 257 include/crm/pengine/status.h char *id; id 332 include/crm/pengine/status.h int id; id 390 include/crm/pengine/status.h char *id; id 398 include/crm/pengine/status.h char *id; id 470 include/crm/pengine/status.h resource_t *pe_find_resource_with_flags(GListPtr rsc_list, const char *id, enum pe_find flags); id 472 include/crm/pengine/status.h node_t *pe_find_node_id(GListPtr node_list, const char *id); id 473 include/crm/pengine/status.h node_t *pe_find_node_any(GListPtr node_list, const char *id, const char *uname); id 163 include/crm/services.h char *id; id 316 include/crm/services.h svc_action_t *services_alert_create(const char *id, const char *exec, id 96 include/crm/stonith-ng.h char *id; id 164 include/crm/stonith-ng.h stonith_t *st, int options, const char *id, id 220 include/crm/stonith-ng.h int (*list)(stonith_t *st, int options, const char *id, char **list_output, int timeout); id 228 include/crm/stonith-ng.h int (*monitor)(stonith_t *st, int options, const char *id, int timeout); id 236 include/crm/stonith-ng.h int (*status)(stonith_t *st, int options, const char *id, const char *port, int timeout); id 35 include/crm/transition.h int id; id 48 include/crm/transition.h int id; id 93 include/crm/transition.h int id; id 311 include/crm_internal.h int id __attribute__ ((aligned(8))); id 316 include/crm_internal.h int id __attribute__ ((aligned(8))); id 86 lib/ais/plugin.c uint32_t id; id 205 lib/ais/plugin.c .id = PCMK_SERVICE_ID, id 713 lib/ais/plugin.c *changed += update_member(node->id, 0, membership_seq, node->votes, id 876 lib/ais/plugin.c ais_msg->id = swab32(ais_msg->id); id 881 lib/ais/plugin.c ais_msg->host.id = swab32(ais_msg->host.id); id 887 lib/ais/plugin.c ais_msg->sender.id = swab32(ais_msg->sender.id); id 894 lib/ais/plugin.c ais_msg->header.id = swab32(ais_msg->header.id); id 914 lib/ais/plugin.c ais_msg->id, ais_dest(&(ais_msg->host)), id 926 lib/ais/plugin.c ais_msg->id = swab32(ais_msg->id); id 933 lib/ais/plugin.c ais_msg->header.id = swab32(ais_msg->header.id); id 942 lib/ais/plugin.c if (nodeid != msg->id) { id 943 lib/ais/plugin.c ais_err("Invalid message: Node %u claimed to be node %d", nodeid, msg->id); id 970 lib/ais/plugin.c res_overlay->header.id = CRM_MESSAGE_IPC_ACK; id 1052 lib/ais/plugin.c mutable->sender.id = local_nodeid; id 1172 lib/ais/plugin.c ais_trace("Dumping node %u", node->id); id 1320 lib/ais/plugin.c resp.header.id = crm_class_nodeid; id 1323 lib/ais/plugin.c resp.id = local_nodeid; id 1375 lib/ais/plugin.c msg->header.id, msg->header.size, id 1412 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), id 1419 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), id 1425 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), id 1463 lib/ais/plugin.c mutable->id, ais_dest(&(mutable->host)), msg_type2text(dest), id 1530 lib/ais/plugin.c if (mutable->header.id == service_id) { id 1531 lib/ais/plugin.c mutable->header.id = 0; /* reset this back to zero for IPC messages */ id 1533 lib/ais/plugin.c } else if (mutable->header.id != 0) { id 1534 lib/ais/plugin.c ais_err("reset header id back to zero from %d", mutable->header.id); id 1535 lib/ais/plugin.c mutable->header.id = 0; /* reset this back to zero for IPC messages */ id 1570 lib/ais/plugin.c if (mutable->id == 0) { id 1574 lib/ais/plugin.c mutable->id = msg_id; id 1578 lib/ais/plugin.c mutable->header.id = SERVICE_ID_MAKE(PCMK_SERVICE_ID, 0); id 1580 lib/ais/plugin.c mutable->sender.id = local_nodeid; id 1639 lib/ais/plugin.c msg->id = local_nodeid; id 1641 lib/ais/plugin.c msg->header.id = SERVICE_ID_MAKE(PCMK_SERVICE_ID, 1); id 1685 lib/ais/plugin.c uint32_t id = ais_get_int(node_id, NULL); id 1686 lib/ais/plugin.c crm_node_t *node = g_hash_table_lookup(membership_list, GUINT_TO_POINTER(id)); id 1689 lib/ais/plugin.c ais_info("Peer %u is unknown", id); id 1692 lib/ais/plugin.c ais_warn("Peer %u/%s is still active", id, node->uname); id 1694 lib/ais/plugin.c } else if (g_hash_table_remove(membership_list, GUINT_TO_POINTER(id))) { id 1696 lib/ais/plugin.c ais_notice("Removed dead peer %u from the membership list", id); id 1698 lib/ais/plugin.c id, g_hash_table_size(membership_notify_list)); id 1703 lib/ais/plugin.c ais_warn("Peer %u/%s was not removed", id, node->uname); id 1751 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), id 1772 lib/ais/plugin.c " addr=%s version=%s", node->id, node->uname ? node->uname : "-unknown-", node->state, id 50 lib/ais/utils.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), id 286 lib/ais/utils.c ais_info("Destroying entry for node %u", node->id); id 295 lib/ais/utils.c update_member(unsigned int id, uint64_t born, uint64_t seq, int32_t votes, id 301 lib/ais/utils.c node = g_hash_table_lookup(membership_list, GUINT_TO_POINTER(id)); id 305 lib/ais/utils.c ais_info("Creating entry for node %u born on " U64T "", id, seq); id 306 lib/ais/utils.c node->id = id; id 310 lib/ais/utils.c g_hash_table_insert(membership_list, GUINT_TO_POINTER(id), node); id 311 lib/ais/utils.c node = g_hash_table_lookup(membership_list, GUINT_TO_POINTER(id)); id 322 lib/ais/utils.c ais_info("%p Node %u (%s) born on: " U64T, node, id, uname, born); id 332 lib/ais/utils.c ais_info("%p Node %u now known as %s (was: %s)", node, id, uname, node->uname); id 355 lib/ais/utils.c ais_info("Node %u/%s is now: %s", id, node->uname ? node->uname : "unknown", state); id 364 lib/ais/utils.c delete_member(uint32_t id, const char *uname) id 367 lib/ais/utils.c g_hash_table_remove(membership_list, GUINT_TO_POINTER(id)); id 374 lib/ais/utils.c member_uname(uint32_t id) id 376 lib/ais/utils.c crm_node_t *node = g_hash_table_lookup(membership_list, GUINT_TO_POINTER(id)); id 414 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "<node id=\"%u\" ", node->id); id 496 lib/ais/utils.c ais_msg->header.id = 0; id 505 lib/ais/utils.c ais_msg->host.id = 0; id 571 lib/ais/utils.c ais_msg->id = msg_id; id 572 lib/ais/utils.c ais_msg->header.id = class; id 584 lib/ais/utils.c ais_msg->host.id = 0; id 590 lib/ais/utils.c ais_msg->sender.id = local_nodeid; id 83 lib/ais/utils.h extern void delete_member(uint32_t id, const char *uname); id 84 lib/ais/utils.h extern int update_member(unsigned int id, uint64_t born, uint64_t seq, int32_t votes, id 87 lib/ais/utils.h extern const char *member_uname(uint32_t id); id 626 lib/cib/cib_client.c blob->id = callback_name; id 678 lib/cib/cib_client.c crm_debug("Call %d (%s): pending", call, crm_str(blob->id)); id 774 lib/cib/cib_ops.c const char *id = crm_element_value(parent, XML_ATTR_ID); id 777 lib/cib/cib_ops.c if (id) { id 779 lib/cib/cib_ops.c extra += strlen(id); id 787 lib/cib/cib_ops.c } else if (id) { id 788 lib/cib/cib_ops.c snprintf(new_path, path_len + 1, "/%s[@id='%s']%s", parent->name, id, id 649 lib/cib/cib_utils.c crm_trace("Invoking callback %s for call %d", crm_str(blob->id), call_id); id 96 lib/cluster/cluster.c get_corosync_id(int id, const char *uuid) id 98 lib/cluster/cluster.c if (id == 0 && !uname_is_uuid() && is_corosync_cluster()) { id 99 lib/cluster/cluster.c id = crm_atoi(uuid, "0"); id 102 lib/cluster/cluster.c return id; id 112 lib/cluster/cluster.c if (node->id > 0) { id 118 lib/cluster/cluster.c snprintf(buffer, len, "%u", node->id); id 402 lib/cluster/cluster.c uint32_t id = crm_int_helper(uuid, NULL); id 403 lib/cluster/cluster.c if(id != 0) { id 404 lib/cluster/cluster.c node = crm_find_peer(id, NULL); id 414 lib/cluster/cluster.c crm_info("Setting uuid for node %s[%u] to '%s'", node->uname, node->id, uuid); id 91 lib/cluster/corosync.c uint32_t id = 0; id 95 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &id); id 96 lib/cluster/corosync.c crm_trace("Checking %u vs %u from %s", nodeid, id, key); id 103 lib/cluster/corosync.c if (nodeid == id) { id 218 lib/cluster/corosync.c uint32_t id = view_list[i]; id 220 lib/cluster/corosync.c crm_debug("Member[%d] %u ", i, id); id 223 lib/cluster/corosync.c node = crm_get_peer(id, NULL); id 225 lib/cluster/corosync.c char *name = corosync_node_name(0, id); id 227 lib/cluster/corosync.c crm_info("Obtaining name for new node %u", id); id 228 lib/cluster/corosync.c node = crm_get_peer(id, name); id 424 lib/cluster/corosync.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), id 431 lib/cluster/corosync.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), id 533 lib/cluster/corosync.c if (node->id && node->id != nodeid) { id 534 lib/cluster/corosync.c crm_crit("Nodes %u and %u share the same name '%s': shutting down", node->id, id 246 lib/cluster/cpg.c if (msg->sender.id > 0 && msg->sender.id != nodeid) { id 247 lib/cluster/cpg.c crm_err("Nodeid mismatch from %d.%d: claimed nodeid=%u", nodeid, pid, msg->sender.id); id 250 lib/cluster/cpg.c } else if (msg->host.id != 0 && (local_nodeid != msg->host.id)) { id 252 lib/cluster/cpg.c crm_trace("Not for us: %u != %u", msg->host.id, local_nodeid); id 260 lib/cluster/cpg.c msg->sender.id = nodeid; id 284 lib/cluster/cpg.c *kind = msg->header.id; id 328 lib/cluster/cpg.c if (msg->header.id != crm_class_members) { id 330 lib/cluster/cpg.c crm_get_peer(msg->sender.id, msg->sender.uname); id 333 lib/cluster/cpg.c if (msg->header.id == crm_class_rmpeer) { id 334 lib/cluster/cpg.c uint32_t id = crm_int_helper(data, NULL); id 336 lib/cluster/cpg.c crm_info("Removing peer %s/%u", data, id); id 337 lib/cluster/cpg.c reap_crm_member(id, NULL); id 353 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), id 415 lib/cluster/cpg.c crm_err("Node %s[%u] appears to be online even though we think it is dead", peer->uname, peer->id); id 441 lib/cluster/cpg.c uint32_t id = 0; id 472 lib/cluster/cpg.c id = get_local_nodeid(handle); id 473 lib/cluster/cpg.c if (id == 0) { id 478 lib/cluster/cpg.c cluster->nodeid = id; id 503 lib/cluster/cpg.c peer = crm_get_peer(id, NULL); id 564 lib/cluster/cpg.c msg->id = msg_id; id 565 lib/cluster/cpg.c msg->header.id = class; id 578 lib/cluster/cpg.c target = crm_strdup_printf("%u", node->id); id 580 lib/cluster/cpg.c msg->host.id = node->id; id 585 lib/cluster/cpg.c msg->sender.id = 0; id 630 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, id 634 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, id 73 lib/cluster/legacy.c plugin_get_details(uint32_t * id, char **uname) id 85 lib/cluster/legacy.c if(id) *id = local_id; id 91 lib/cluster/legacy.c header.id = crm_class_nodeid; id 103 lib/cluster/legacy.c answer.header.id, answer.header.size, answer.header.error)); id 104 lib/cluster/legacy.c CRM_CHECK(answer.header.id == crm_class_nodeid, id 105 lib/cluster/legacy.c crm_err("Bad response id: %d", answer.header.id)); id 124 lib/cluster/legacy.c crm_info("Server details: id=%u uname=%s cname=%s", answer.id, answer.uname, answer.cname); id 126 lib/cluster/legacy.c local_id = answer.id; id 129 lib/cluster/legacy.c if(id) *id = local_id; id 165 lib/cluster/legacy.c header->id, header->size, class, header->error)); id 168 lib/cluster/legacy.c CRM_CHECK(header->id == CRM_MESSAGE_IPC_ACK, id 169 lib/cluster/legacy.c crm_err("Bad response id (%d) for request (%d)", header->id, id 170 lib/cluster/legacy.c ais_msg->header.id)); id 175 lib/cluster/legacy.c ais_msg->id, ais_error2text(rc), rc); id 224 lib/cluster/legacy.c if (msg->header.id == crm_class_members || msg->header.id == crm_class_quorum) { id 264 lib/cluster/legacy.c unsigned int id = crm_int_helper(id_s, NULL); id 271 lib/cluster/legacy.c crm_update_peer(__FUNCTION__, id, born, seen, votes, procs, uname, uname, addr, state); id 412 lib/cluster/legacy.c crm_info("State of node %s[%u] is still unknown", peer->uname, peer->id); id 572 lib/cluster/legacy.c int id = 0; id 576 lib/cluster/legacy.c crm_element_value_int(node, "id", &id); id 578 lib/cluster/legacy.c if (id == 0) { id 581 lib/cluster/legacy.c crm_node_t *peer = crm_get_peer(id, uname); id 777 lib/cluster/legacy.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), id 784 lib/cluster/legacy.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), id 329 lib/cluster/membership.c } else if (search->id && node->id != search->id) { id 332 lib/cluster/membership.c } else if (search->id == 0 && safe_str_neq(node->uname, search->uname)) { id 337 lib/cluster/membership.c (node->uname? node->uname : "unknown"), node->id); id 352 lib/cluster/membership.c reap_crm_member(uint32_t id, const char *name) id 362 lib/cluster/membership.c search.id = id; id 367 lib/cluster/membership.c matches, s_if_plural(matches), search.id, id 373 lib/cluster/membership.c search.id, (search.uname? " and/or uname=" : ""), id 408 lib/cluster/membership.c crm_trace("Destroying entry for node %u: %s", node->id, node->uname); id 484 lib/cluster/membership.c const char *id = NULL; id 488 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, (gpointer *) &id, (gpointer *) &node)) { id 489 lib/cluster/membership.c do_crm_log(level, "%s: Node %u/%s = %p - %s", caller, node->id, node->uname, node, id); id 502 lib/cluster/membership.c crm_find_peer_full(unsigned int id, const char *uname, int flags) id 506 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); id 515 lib/cluster/membership.c node = crm_find_peer(id, uname); id 521 lib/cluster/membership.c crm_get_peer_full(unsigned int id, const char *uname, int flags) id 525 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); id 534 lib/cluster/membership.c node = crm_get_peer(id, uname); id 540 lib/cluster/membership.c crm_find_peer(unsigned int id, const char *uname) id 547 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); id 562 lib/cluster/membership.c if (id > 0) { id 565 lib/cluster/membership.c if(node->id == id) { id 566 lib/cluster/membership.c crm_trace("ID match: %u = %p", node->id, node); id 576 lib/cluster/membership.c crm_trace("Consistent: %p for %u/%s", by_id, id, uname); id 579 lib/cluster/membership.c crm_trace("Only one: %p for %u/%s", by_name, id, uname); id 581 lib/cluster/membership.c if(id && by_name->id) { id 584 lib/cluster/membership.c id, by_name->id, uname); id 592 lib/cluster/membership.c crm_trace("Only one: %p for %u/%s", by_id, id, uname); id 597 lib/cluster/membership.c uname, by_id->uname, id, uname); id 602 lib/cluster/membership.c crm_notice("Node '%s' has changed its ID from %u to %u", by_id->uname, by_name->id, by_id->id); id 606 lib/cluster/membership.c crm_warn("Node '%s' and '%s' share the same cluster nodeid: %u %s", by_id->uname, by_name->uname, id, uname); id 611 lib/cluster/membership.c } else if(id && by_name->id) { id 612 lib/cluster/membership.c crm_warn("Node %u and %u share the same name: '%s'", by_id->id, by_name->id, uname); id 641 lib/cluster/membership.c if (node->id == 0 || node->uname == NULL) { id 653 lib/cluster/membership.c if (existing_node->id > 0 id 654 lib/cluster/membership.c && existing_node->id != node->id id 663 lib/cluster/membership.c existing_node->id, existing_node->uname, node->id); id 676 lib/cluster/membership.c crm_get_peer(unsigned int id, const char *uname) id 681 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); id 685 lib/cluster/membership.c node = crm_find_peer(id, uname); id 690 lib/cluster/membership.c uname_lookup = get_node_name(id); id 695 lib/cluster/membership.c crm_trace("Inferred a name of '%s' for node %u", uname, id); id 699 lib/cluster/membership.c node = crm_find_peer(id, uname); id 711 lib/cluster/membership.c uniqueid, node, uname, id, 1 + g_hash_table_size(crm_peer_cache)); id 715 lib/cluster/membership.c if(id > 0 && uname && (node->id == 0 || node->uname == NULL)) { id 716 lib/cluster/membership.c crm_info("Node %u is now known as %s", id, uname); id 719 lib/cluster/membership.c if(id > 0 && node->id == 0) { id 720 lib/cluster/membership.c node->id = id; id 731 lib/cluster/membership.c crm_info("Node %u has uuid %s", id, uuid); id 734 lib/cluster/membership.c crm_info("Cannot obtain a UUID for node %u/%s", id, node->uname); id 755 lib/cluster/membership.c crm_update_peer(const char *source, unsigned int id, uint64_t born, uint64_t seen, int32_t votes, id 765 lib/cluster/membership.c id = get_corosync_id(id, uuid); id 766 lib/cluster/membership.c node = crm_get_peer(id, uname); id 817 lib/cluster/membership.c " proc=%.32x", source, node->uname, node->id, node->state, id 932 lib/cluster/membership.c node->id); id 934 lib/cluster/membership.c crm_info("%s: Node %s[%u] - %s is now %s", source, node->uname, node->id, id 958 lib/cluster/membership.c crm_trace("%s: Node %s[%u] - %s is unchanged (%s)", source, node->uname, node->id, id 985 lib/cluster/membership.c crm_info("%s: Node %s[%u] - expected state is now %s (was %s)", source, node->uname, node->id, id 990 lib/cluster/membership.c node->id, expected); id 1033 lib/cluster/membership.c node->id, (last? last : "unknown"), source); id 1045 lib/cluster/membership.c crm_notice("Purged 1 peer with id=%u and/or uname=%s from the membership cache", node->id, node->uname); id 1049 lib/cluster/membership.c reap_crm_member(node->id, node->uname); id 1056 lib/cluster/membership.c " nodeid=%u source=%s", node->uname, state, node->id, source); id 1108 lib/cluster/membership.c node->uname, node->id); id 70 lib/common/alerts.c crm_alert_entry_new(const char *id, const char *path) id 74 lib/common/alerts.c CRM_ASSERT(entry && id && path); id 75 lib/common/alerts.c entry->id = strdup(id); id 86 lib/common/alerts.c free(entry->id); id 121 lib/common/alerts.c crm_alert_entry_t *new_entry = crm_alert_entry_new(entry->id, entry->path); id 218 lib/common/ipc.c crm_client_get_by_id(const char *id) id 224 lib/common/ipc.c if (client_connections && id) { id 227 lib/common/ipc.c if (strcmp(client->id, id) == 0) { id 233 lib/common/ipc.c crm_trace("No client found with id=%s", id); id 242 lib/common/ipc.c } else if (c->name == NULL && c->id == NULL) { id 245 lib/common/ipc.c return c->id; id 309 lib/common/ipc.c client->id = crm_generate_uuid(); id 310 lib/common/ipc.c g_hash_table_insert(client_connections, (key? key : client->id), client); id 357 lib/common/ipc.c crm_debug("Connecting %p for uid=%d gid=%d pid=%u id=%s", c, uid_client, gid_client, client->pid, client->id); id 381 lib/common/ipc.c g_hash_table_remove(client_connections, c->id); id 399 lib/common/ipc.c free(c->id); id 445 lib/common/ipc.c crm_ipcs_recv(crm_client_t * c, void *data, size_t size, uint32_t * id, uint32_t * flags) id 452 lib/common/ipc.c if (id) { id 453 lib/common/ipc.c *id = ((struct qb_ipc_response_header *)data)->id; id 557 lib/common/ipc.c header->qb.id, c->ipcs, c->pid, (long long) rc); id 560 lib/common/ipc.c header->qb.id, c->ipcs, c->pid, (long long) rc, id 680 lib/common/ipc.c header->qb.id = (int32_t)request; /* Replying to a specific request */ id 691 lib/common/ipc.c static uint32_t id = 1; id 706 lib/common/ipc.c header->qb.id = id++; /* We don't really use it, but doesn't hurt to set one */ id 728 lib/common/ipc.c CRM_LOG_ASSERT(header->qb.id != 0); /* Replying to a specific request */ id 733 lib/common/ipc.c header->qb.id, c->ipcs, c->pid, header->qb.size, pcmk_strerror(rc), rc); id 737 lib/common/ipc.c header->qb.id, (long long) rc, c->ipcs, c->pid); id 1077 lib/common/ipc.c client->name, header->qb.id, header->qb.size, client->msg_size, id 1171 lib/common/ipc.c if (hdr->qb.id == request_id) { id 1174 lib/common/ipc.c } else if (hdr->qb.id < request_id) { id 1177 lib/common/ipc.c crm_err("Discarding old reply %d (need %d)", hdr->qb.id, request_id); id 1183 lib/common/ipc.c crm_err("Discarding newer reply %d (need %d)", hdr->qb.id, request_id); id 1185 lib/common/ipc.c CRM_ASSERT(hdr->qb.id <= request_id); id 1204 lib/common/ipc.c static uint32_t id = 0; id 1239 lib/common/ipc.c id++; id 1240 lib/common/ipc.c CRM_LOG_ASSERT(id != 0); /* Crude wrap-around detection */ id 1241 lib/common/ipc.c rc = crm_ipc_prepare(id, message, &iov, client->max_buf_size); id 1264 lib/common/ipc.c client->name, header->qb.id, header->qb.size, ms_timeout); id 1272 lib/common/ipc.c client->name, header->qb.id, header->qb.size); id 1277 lib/common/ipc.c header->qb.id, client->name, header->qb.size); id 1282 lib/common/ipc.c rc = internal_ipc_get_reply(client, header->qb.id, ms_timeout); id 1301 lib/common/ipc.c crm_trace("Received response %d, size=%u, rc=%ld, text: %.200s", hdr->qb.id, hdr->qb.size, id 1318 lib/common/ipc.c header->qb.id, client->name, client->ipc, pcmk_strerror(rc), rc, ms_timeout); id 1323 lib/common/ipc.c header->qb.id, client->name, client->ipc, pcmk_strerror(rc), rc); id 57 lib/common/mainloop.c guint id; id 182 lib/common/mainloop.c trigger->id = 0; id 194 lib/common/mainloop.c trigger->id = g_source_attach(source, NULL); id 1138 lib/common/mainloop.c guint id; id 1150 lib/common/mainloop.c int id = 0; id 1156 lib/common/mainloop.c id = t->id; id 1157 lib/common/mainloop.c t->id = 0; /* Ensure it's unset during callbacks so that id 1172 lib/common/mainloop.c t->id = id; id 1180 lib/common/mainloop.c if(t && t->id != 0) { id 1191 lib/common/mainloop.c t->id = g_timeout_add(t->period_ms, mainloop_timer_cb, t); id 1197 lib/common/mainloop.c if(t && t->id != 0) { id 1199 lib/common/mainloop.c g_source_remove(t->id); id 1200 lib/common/mainloop.c t->id = 0; id 1213 lib/common/mainloop.c if(t && t->id != 0 && last != t->period_ms) { id 1231 lib/common/mainloop.c t->id = 0; id 98 lib/common/remote.c uint64_t id; id 126 lib/common/remote.c header->id = __swab64(header->id); id 338 lib/common/remote.c static uint64_t id = 0; id 356 lib/common/remote.c id++; id 357 lib/common/remote.c header->id = id; id 623 lib/common/xml.c const char *id = crm_element_value(child, XML_ATTR_ID); id 625 lib/common/xml.c if(id && strcmp(id, user) == 0) { id 626 lib/common/xml.c crm_debug("Unpacking ACLs for %s", id); id 1614 lib/common/xml.c char *id = NULL; id 1634 lib/common/xml.c id = crm_element_value_copy(target, XML_ATTR_ID); id 1637 lib/common/xml.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); id 1639 lib/common/xml.c free(id); id 1661 lib/common/xml.c free(id); id 1671 lib/common/xml.c const char *id = NULL; id 1686 lib/common/xml.c id = ID(patch); id 1688 lib/common/xml.c crm_trace("We are the root of the addition: %s.id=%s", name, id); id 1693 lib/common/xml.c id = ID(patch); id 1695 lib/common/xml.c crm_err("Could not locate: %s.id=%s", name, id); id 1922 lib/common/xml.c __first_xml_child_match(xmlNode *parent, const char *name, const char *id, int position) id 1929 lib/common/xml.c } else if(id) { id 1931 lib/common/xml.c if(cid == NULL || strcmp(cid, id) != 0) { id 1952 lib/common/xml.c char *id = malloc(XML_BUFFER_SIZE); id 1971 lib/common/xml.c int f = sscanf (section, "%[^[][@id='%[^']", tag, id); id 1984 lib/common/xml.c target = __first_xml_child_match(target, tag, id, current_position); id 2017 lib/common/xml.c free(id); id 2268 lib/common/xml.c find_entity(xmlNode * parent, const char *node_name, const char *id) id 2276 lib/common/xml.c if (id == NULL || (cid != NULL && strcmp(id, cid) == 0)) { id 2282 lib/common/xml.c crm_trace("node <%s id=%s> not found in %s.", node_name, id, crm_element_name(parent)); id 2615 lib/common/xml.c const char *id = ID(xml); id 2621 lib/common/xml.c if(id) { id 2622 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "/%s[@id='%s']", (const char *)xml->name, id); id 3021 lib/common/xml.c crm_xml_sanitize_id(char *id) id 3025 lib/common/xml.c for (c = id; *c; ++c) { id 3047 lib/common/xml.c char *id = NULL; id 3051 lib/common/xml.c len = vasprintf(&id, format, ap); id 3055 lib/common/xml.c crm_xml_sanitize_id(id); id 3056 lib/common/xml.c crm_xml_add(xml, XML_ATTR_ID, id); id 3057 lib/common/xml.c free(id); id 4396 lib/common/xml.c const char *id = NULL; id 4416 lib/common/xml.c id = ID(left); id 4420 lib/common/xml.c crm_trace("Processing <%s id=%s> (complete copy)", crm_element_name(left), id); id 4435 lib/common/xml.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); id 4476 lib/common/xml.c } else if (id) { id 4477 lib/common/xml.c xmlSetProp(diff, (const xmlChar *)XML_ATTR_ID, (const xmlChar *)id); id 4543 lib/common/xml.c crm_element_name(left), id); id 4554 lib/common/xml.c prop_name, left_value, right_val, crm_element_name(left), id); id 4565 lib/common/xml.c } else if (full == FALSE && id) { id 4566 lib/common/xml.c crm_xml_add(diff, XML_ATTR_ID, id); id 4831 lib/common/xml.c crm_create_nvpair_xml(xmlNode *parent, const char *id, const char *name, id 4839 lib/common/xml.c CRM_CHECK(id || name, return NULL); id 4844 lib/common/xml.c if (id) { id 4845 lib/common/xml.c crm_xml_add(nvp, XML_ATTR_ID, id); id 103 lib/fencing/st_client.c const char *id; id 205 lib/fencing/st_client.c create_device_registration_xml(const char *id, const char *namespace, const char *agent, id 219 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, id); id 236 lib/fencing/st_client.c const char *id, const char *namespace, const char *agent, id 242 lib/fencing/st_client.c data = create_device_registration_xml(id, namespace, agent, params, NULL); id 1454 lib/fencing/st_client.c const char *id, id 1462 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_DEVICE, id); id 1473 lib/fencing/st_client.c stonith_api_list(stonith_t * stonith, int call_options, const char *id, char **list_info, id 1479 lib/fencing/st_client.c rc = stonith_api_call(stonith, call_options, id, "list", NULL, timeout, &output); id 1499 lib/fencing/st_client.c stonith_api_monitor(stonith_t * stonith, int call_options, const char *id, int timeout) id 1501 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "monitor", NULL, timeout, NULL); id 1505 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port, id 1508 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); id 2013 lib/fencing/st_client.c blob->id = callback_name; id 2056 lib/fencing/st_client.c crm_debug("Call %d (%s): pending", call, crm_str(blob->id)); id 2082 lib/fencing/st_client.c local_blob.id = NULL; id 2108 lib/fencing/st_client.c crm_trace("Invoking callback %s for call %d", crm_str(local_blob.id), call_id); id 2162 lib/fencing/st_client.c event->id = crm_element_value_copy(data, F_STONITH_REMOTE_OP_ID); id 2179 lib/fencing/st_client.c free(event->id); id 145 lib/lrmd/lrmd_alerts.c kind_s, entry->recipient, entry->id); id 153 lib/lrmd/lrmd_alerts.c attr_name, entry->recipient, entry->id); id 161 lib/lrmd/lrmd_alerts.c kind_s, entry->id, entry->recipient); id 183 lib/lrmd/lrmd_alerts.c rc = lrmd->cmds->exec_alert(lrmd, entry->id, entry->path, id 187 lib/lrmd/lrmd_alerts.c entry->id, pcmk_strerror(rc), rc); id 73 lib/lrmd/lrmd_client.c int lrmd_tls_send_msg(crm_remote_t * session, xmlNode * msg, uint32_t id, const char *msg_type); id 554 lib/lrmd/lrmd_client.c lrmd_tls_send_msg(crm_remote_t * session, xmlNode * msg, uint32_t id, const char *msg_type) id 556 lib/lrmd/lrmd_client.c crm_xml_add_int(msg, F_LRMD_REMOTE_MSG_ID, id); id 1464 lib/lrmd/lrmd_client.c copy->id = strdup(rsc_info->id); id 1480 lib/lrmd/lrmd_client.c free(rsc_info->id); id 1519 lib/lrmd/lrmd_client.c rsc_info->id = strdup(rsc_id); id 57 lib/pengine/clone.c "Set the " XML_RSC_ATTR_UNIQUE " meta attribute to false", rsc->id, rid); id 117 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); id 165 lib/pengine/clone.c pe_rsc_trace(rsc, "Processing resource %s...", rsc->id); id 188 lib/pengine/clone.c crm_config_err("Anonymous clones (%s) may only support one copy per node", rsc->id); id 192 lib/pengine/clone.c pe_rsc_trace(rsc, "Options for %s", rsc->id); id 210 lib/pengine/clone.c crm_config_err("%s has nothing to clone", rsc->id); id 245 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); id 330 lib/pengine/clone.c status_print("id=\"%s\" ", rsc->id); id 415 lib/pengine/clone.c pre_text ? pre_text : "", type, rsc->id, ID(clone_data->xml_obj_child), id 443 lib/pengine/clone.c stopped_list = add_list_element(stopped_list, child_rsc->id); id 592 lib/pengine/clone.c pe_rsc_trace(rsc, "Freeing %s", rsc->id); id 598 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); id 634 lib/pengine/clone.c pe_rsc_trace(rsc, "%s role: %s", rsc->id, role2text(clone_role)); id 468 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); id 473 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); id 250 lib/pengine/complex.c const char *id = NULL; id 262 lib/pengine/complex.c id = ID(xml_obj); id 263 lib/pengine/complex.c if (id == NULL) { id 268 lib/pengine/complex.c if (crm_str_eq(template_ref, id, TRUE)) { id 269 lib/pengine/complex.c pe_err("The resource object '%s' should not reference itself", id); id 287 lib/pengine/complex.c crm_xml_replace(new_xml, XML_ATTR_ID, id); id 353 lib/pengine/complex.c const char *id = NULL; id 365 lib/pengine/complex.c id = ID(xml_obj); id 366 lib/pengine/complex.c if (id == NULL) { id 371 lib/pengine/complex.c if (crm_str_eq(template_ref, id, TRUE)) { id 372 lib/pengine/complex.c pe_err("The resource object '%s' should not reference itself", id); id 376 lib/pengine/complex.c if (add_tag_ref(data_set->template_rsc_sets, template_ref, id) == FALSE) { id 474 lib/pengine/complex.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 481 lib/pengine/complex.c if (id == NULL) { id 537 lib/pengine/complex.c (*rsc)->id = crm_concat(id, value, ':'); id 541 lib/pengine/complex.c (*rsc)->id = strdup(id); id 636 lib/pengine/complex.c pe_rsc_trace((*rsc), "Options for %s", (*rsc)->id); id 722 lib/pengine/complex.c (*rsc)->migration_threshold, (*rsc)->id, value); id 733 lib/pengine/complex.c (*rsc)->id, (*rsc)->migration_threshold, (*rsc)->stickiness, value); id 754 lib/pengine/complex.c crm_config_warn("%s is a fencing device but requires (un)fencing", (*rsc)->id); id 760 lib/pengine/complex.c crm_config_warn("%s requires (un)fencing but fencing is disabled", (*rsc)->id); id 773 lib/pengine/complex.c crm_config_warn("%s requires fencing but fencing is disabled", (*rsc)->id); id 779 lib/pengine/complex.c (*rsc)->id, value, id 858 lib/pengine/complex.c common_update_score(resource_t * rsc, const char *id, int score) id 862 lib/pengine/complex.c node = pe_hash_table_lookup(rsc->allowed_nodes, id); id 864 lib/pengine/complex.c pe_rsc_trace(rsc, "Updating score for %s on %s: %d + %d", rsc->id, id, node->weight, score); id 874 lib/pengine/complex.c common_update_score(child_rsc, id, score); id 917 lib/pengine/complex.c pe_rsc_trace(rsc, "Freeing %s %d", rsc->id, rsc->variant); id 969 lib/pengine/complex.c free(rsc->id); id 140 lib/pengine/container.c char *id = NULL; id 144 lib/pengine/container.c id = crm_strdup_printf("%s-ip-%s", data->prefix, tuple->ipaddr); id 145 lib/pengine/container.c crm_xml_sanitize_id(id); id 146 lib/pengine/container.c xml_ip = create_resource(id, "heartbeat", "IPaddr2"); id 147 lib/pengine/container.c free(id); id 191 lib/pengine/container.c char *id = NULL; id 195 lib/pengine/container.c id = crm_strdup_printf("%s-docker-%d", data->prefix, tuple->offset); id 196 lib/pengine/container.c crm_xml_sanitize_id(id); id 197 lib/pengine/container.c xml_docker = create_resource(id, "heartbeat", "docker"); id 198 lib/pengine/container.c free(id); id 348 lib/pengine/container.c char *id = NULL; id 354 lib/pengine/container.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, tuple->offset); id 355 lib/pengine/container.c crm_xml_sanitize_id(id); id 356 lib/pengine/container.c xml_docker = create_resource(id, "heartbeat", "rkt"); id 357 lib/pengine/container.c free(id); id 532 lib/pengine/container.c char *id = crm_strdup_printf("%s-%d", data->prefix, tuple->offset); id 537 lib/pengine/container.c if (remote_id_conflict(id, data_set)) { id 538 lib/pengine/container.c free(id); id 540 lib/pengine/container.c id = crm_strdup_printf("pcmk-internal-%s-remote-%d", tuple->child->id, tuple->offset); id 541 lib/pengine/container.c CRM_ASSERT(remote_id_conflict(id, data_set) == FALSE); id 559 lib/pengine/container.c xml_remote = pe_create_remote_xml(NULL, id, tuple->docker->id, id 570 lib/pengine/container.c free(id); id 571 lib/pengine/container.c id = NULL; id 615 lib/pengine/container.c g_hash_table_insert(tuple->child->allowed_nodes, (gpointer) tuple->node->details->id, node_copy(tuple->node)); id 620 lib/pengine/container.c g_hash_table_insert(tuple->child->parent->allowed_nodes, (gpointer) tuple->node->details->id, copy); id 816 lib/pengine/container.c crm_trace("Cannot fix address for %s", tuple->remote->id); id 820 lib/pengine/container.c crm_trace("Fixing addr for %s on %s", rsc->id, node->details->uname); id 837 lib/pengine/container.c pe_rsc_trace(rsc, "Processing resource %s...", rsc->id); id 841 lib/pengine/container.c container_data->prefix = strdup(rsc->id); id 859 lib/pengine/container.c rsc->id); id 870 lib/pengine/container.c pe_err("'replicas' for %s must be positive integer, using 1", rsc->id); id 883 lib/pengine/container.c rsc->id); id 995 lib/pengine/container.c rsc->id, ID(xml_obj)); id 1101 lib/pengine/container.c pe_err("Failed unpacking resource %s", rsc->id); id 1189 lib/pengine/container.c if (rsc && safe_str_neq(stem, rsc->id)) { id 1239 lib/pengine/container.c status_print("id=\"%s\" ", rsc->id); id 1318 lib/pengine/container.c container_data->replicas>1?" set":"", rsc->id, container_data->image, id 1405 lib/pengine/container.c pe_rsc_trace(rsc, "Freeing %s", rsc->id); id 76 lib/pengine/failcounts.c char *xml_name = clone_strip(rsc->id); id 165 lib/pengine/failcounts.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); id 271 lib/pengine/failcounts.c rsc->id, rsc->failure_timeout); id 283 lib/pengine/failcounts.c rsc->id, node->details->uname, rsc->failure_timeout); id 307 lib/pengine/failcounts.c rsc->id, score, node->details->uname); id 315 lib/pengine/failcounts.c rsc->id, score, node->details->uname); id 40 lib/pengine/group.c pe_rsc_trace(rsc, "Processing resource %s...", rsc->id); id 87 lib/pengine/group.c crm_config_err("Group %s did not have any children", rsc->id); id 90 lib/pengine/group.c crm_config_warn("Group %s did not have any children", rsc->id); id 95 lib/pengine/group.c pe_rsc_trace(rsc, "Added %d children to resource %s...", group_data->num_children, rsc->id); id 131 lib/pengine/group.c status_print("%s<group id=\"%s\" ", pre_text, rsc->id); id 162 lib/pengine/group.c status_print("%sResource Group: %s", pre_text ? pre_text : "", rsc->id); id 201 lib/pengine/group.c pe_rsc_trace(rsc, "Freeing %s", rsc->id); id 207 lib/pengine/group.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); id 232 lib/pengine/group.c pe_rsc_trace(rsc, "%s role: %s", rsc->id, role2text(group_role)); id 41 lib/pengine/native.c if (safe_str_eq(a_node->details->id, node->details->id)) { id 46 lib/pengine/native.c pe_rsc_trace(rsc, "Adding %s to %s %s", rsc->id, node->details->uname, id 61 lib/pengine/native.c pe_rsc_info(rsc, "resource %s isn't managed", rsc->id); id 112 lib/pengine/native.c rsc->id, g_list_length(rsc->running_on), node->details->uname, id 116 lib/pengine/native.c pe_rsc_trace(rsc, "Resource %s is active on: %s", rsc->id, node->details->uname); id 133 lib/pengine/native.c pe_rsc_trace(rsc, "Processing resource %s...", rsc->id); id 143 lib/pengine/native.c force_non_unique_clone(top, rsc->id, data_set); id 153 lib/pengine/native.c rsc->id, class); id 165 lib/pengine/native.c rsc->id, node->details->uname); id 188 lib/pengine/native.c native_find_rsc(resource_t * rsc, const char *id, node_t * on_node, int flags) id 193 lib/pengine/native.c CRM_CHECK(id && rsc && rsc->id, return NULL); id 201 lib/pengine/native.c } else if (!strcmp(id, rsc->id) || safe_str_eq(id, rid)) { id 205 lib/pengine/native.c } else if (!strcmp(id, rsc->id)) { id 209 lib/pengine/native.c && rsc->clone_name && strcmp(rsc->clone_name, id) == 0) { id 215 lib/pengine/native.c match = pe_base_name_eq(rsc, id); id 233 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); id 253 lib/pengine/native.c pe_rsc_trace(rsc, "Looking up %s in %s", name, rsc->id); id 293 lib/pengine/native.c crm_debug("Resource %s: node %s is unclean", rsc->id, a_node->details->uname); id 296 lib/pengine/native.c crm_debug("Resource %s: node %s is offline", rsc->id, a_node->details->uname); id 298 lib/pengine/native.c crm_debug("Resource %s active on %s", rsc->id, a_node->details->uname); id 460 lib/pengine/native.c node->details->uname, node->details->id, id 498 lib/pengine/native.c crm_trace("skipping print of internal resource %s", rsc->id); id 758 lib/pengine/native.c pe_rsc_trace(rsc, "%s state: %s", rsc->id, role2text(role)); id 794 lib/pengine/native.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { id 35 lib/pengine/remote.c node = pe_find_node(data_set->nodes, rsc->id); id 127 lib/pengine/remote.c node_t *guest_node = pe_find_node(data_set->nodes, rsc->id); id 63 lib/pengine/rules_alerts.c entry->id, CRM_ALERT_DEFAULT_TIMEOUT_MS); id 66 lib/pengine/rules_alerts.c entry->id, (char*)value, CRM_ALERT_DEFAULT_TIMEOUT_MS); id 71 lib/pengine/rules_alerts.c entry->id, entry->timeout); id 84 lib/pengine/rules_alerts.c entry->id, entry->tstamp_format); id 119 lib/pengine/rules_alerts.c entry->id, name, value); id 176 lib/pengine/rules_alerts.c entry->id, id 254 lib/pengine/rules_alerts.c entry->id, entry->path, entry->timeout, entry->tstamp_format, id 268 lib/pengine/rules_alerts.c entry->id, ID(recipient), recipient_entry->recipient, id 249 lib/pengine/status.c pe_find_resource(GListPtr rsc_list, const char *id) id 251 lib/pengine/status.c return pe_find_resource_with_flags(rsc_list, id, pe_find_renamed); id 255 lib/pengine/status.c pe_find_resource_with_flags(GListPtr rsc_list, const char *id, enum pe_find flags) id 259 lib/pengine/status.c for (rIter = rsc_list; id && rIter; rIter = rIter->next) { id 263 lib/pengine/status.c parent->fns->find_rsc(parent, id, NULL, flags); id 268 lib/pengine/status.c crm_trace("No match for %s", id); id 273 lib/pengine/status.c pe_find_node_any(GListPtr nodes, const char *id, const char *uname) id 275 lib/pengine/status.c node_t *match = pe_find_node_id(nodes, id); id 285 lib/pengine/status.c pe_find_node_id(GListPtr nodes, const char *id) id 292 lib/pengine/status.c if (node && safe_str_eq(node->details->id, id)) { id 90 lib/pengine/unpack.c node->details->uname, reason, rsc->id); id 94 lib/pengine/unpack.c node->details->uname, rsc->id, reason); id 356 lib/pengine/unpack.c pe_create_node(const char *id, const char *uname, const char *type, id 380 lib/pengine/unpack.c crm_trace("Creating node for entry %s/%s", uname, id); id 381 lib/pengine/unpack.c new_node->details->id = id; id 427 lib/pengine/unpack.c const char *id = ID(xml_rsc); id 430 lib/pengine/unpack.c g_hash_table_insert(data->name_check, (char *) id, (char *) id); id 529 lib/pengine/unpack.c const char *id = NULL; id 538 lib/pengine/unpack.c id = crm_element_value(xml_obj, XML_ATTR_ID); id 542 lib/pengine/unpack.c crm_trace("Processing node %s/%s", uname, id); id 544 lib/pengine/unpack.c if (id == NULL) { id 548 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); id 596 lib/pengine/unpack.c if (container_id && safe_str_neq(container_id, rsc->id)) { id 603 lib/pengine/unpack.c pe_rsc_trace(rsc, "Resource %s's container is %s", rsc->id, container_id); id 605 lib/pengine/unpack.c pe_err("Resource %s: Unknown resource container (%s)", rsc->id, container_id); id 695 lib/pengine/unpack.c remote_node = pe_find_node(data_set->nodes, new_rsc->id); id 718 lib/pengine/unpack.c free(tag->id); id 881 lib/pengine/unpack.c crm_info("We have ticket '%s'", ticket->id); id 884 lib/pengine/unpack.c crm_info("We do not have ticket '%s'", ticket->id); id 896 lib/pengine/unpack.c crm_info("Granted ticket '%s' is in standby-mode", ticket->id); id 992 lib/pengine/unpack.c crm_info("We have ticket '%s'", ticket->id); id 995 lib/pengine/unpack.c crm_info("We do not have ticket '%s'", ticket->id); id 1018 lib/pengine/unpack.c crm_trace("Processing remote node id=%s, uname=%s", this_node->details->id, this_node->details->uname); id 1074 lib/pengine/unpack.c const char *id = NULL; id 1083 lib/pengine/unpack.c id = crm_element_value(state, XML_ATTR_ID); id 1085 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); id 1088 lib/pengine/unpack.c crm_info("Node %s is unknown", id); id 1092 lib/pengine/unpack.c crm_info("Node %s is already processed", id); id 1117 lib/pengine/unpack.c crm_trace("Checking node %s/%s/%s status %d/%d/%d", id, rsc->id, rsc->container->id, fence, rsc->role, RSC_ROLE_STARTED); id 1122 lib/pengine/unpack.c crm_trace("Checking node %s/%s status %d/%d/%d", id, rsc->id, fence, rsc->role, RSC_ROLE_STARTED); id 1159 lib/pengine/unpack.c const char *id = NULL; id 1198 lib/pengine/unpack.c id = crm_element_value(state, XML_ATTR_ID); id 1200 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); id 1220 lib/pengine/unpack.c crm_trace("Processing node id=%s, uname=%s", id, uname); id 1443 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); id 1450 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); id 1457 lib/pengine/unpack.c this_node->details->id); id 1463 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); id 1470 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); id 1477 lib/pengine/unpack.c this_node->details->id); id 1484 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); id 1569 lib/pengine/unpack.c pe_base_name_end(const char *id) id 1571 lib/pengine/unpack.c if (!crm_strlen_zero(id)) { id 1572 lib/pengine/unpack.c const char *end = id + strlen(id) - 1; id 1574 lib/pengine/unpack.c for (const char *s = end; s > id; --s) { id 1701 lib/pengine/unpack.c pe_rsc_trace(parent, "Looking for %s on %s in %s", rsc_id, node->details->uname, parent->id); id 1709 lib/pengine/unpack.c pe_rsc_trace(child, "Resource %s, skip inactive", child->id); id 1720 lib/pengine/unpack.c pe_rsc_trace(rsc, "Resource %s, active", rsc->id); id 1729 lib/pengine/unpack.c parent->id, node->details->uname); id 1754 lib/pengine/unpack.c pe_rsc_trace(parent, "Resource %s, empty slot", rsc->id); id 1768 lib/pengine/unpack.c pe_rsc_debug(parent, "Created orphan %s for %s: %s on %s", top->id, parent->id, rsc_id, id 1772 lib/pengine/unpack.c if (safe_str_neq(rsc_id, rsc->id)) { id 1774 lib/pengine/unpack.c rsc_id, node->details->uname, rsc->id, id 1806 lib/pengine/unpack.c crm_trace("%s not found: %s", rsc_id, parent ? parent->id : "orphan"); id 1829 lib/pengine/unpack.c if (rsc && safe_str_neq(rsc_id, rsc->id)) { id 1869 lib/pengine/unpack.c rsc->id, role2text(rsc->role), node->details->uname, fail2text(on_fail)); id 1876 lib/pengine/unpack.c if (g_hash_table_lookup(iter->known_on, node->details->id) == NULL) { id 1879 lib/pengine/unpack.c pe_rsc_trace(rsc, "%s (aka. %s) known on %s", rsc->id, rsc->clone_name, id 1881 lib/pengine/unpack.c g_hash_table_insert(iter->known_on, (gpointer) n->details->id, n); id 1922 lib/pengine/unpack.c rsc->id); id 1929 lib/pengine/unpack.c reason = crm_strdup_printf("%s is thought to be active there", rsc->id); id 1952 lib/pengine/unpack.c reason = crm_strdup_printf("%s failed there", rsc->id); id 2003 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); id 2034 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); id 2044 lib/pengine/unpack.c rsc->id, node->details->uname); id 2048 lib/pengine/unpack.c rsc->id, node->details->uname); id 2061 lib/pengine/unpack.c pe_rsc_trace(rsc, "Resetting clone_name %s for %s (stopped)", rsc->clone_name, rsc->id); id 2093 lib/pengine/unpack.c pe_rsc_trace(rsc, "%s: Start index %d, stop index = %d", rsc->id, start_index, stop_index); id 2100 lib/pengine/unpack.c const char *id = ID(rsc_op); id 2106 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: node is offline", rsc->id, node->details->uname); id 2111 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: resource is not active", id, node->details->uname); id 2115 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: old %d", id, node->details->uname, counter); id 2122 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: non-recurring", id, node->details->uname); id 2128 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: status", id, node->details->uname); id 2133 lib/pengine/unpack.c key = generate_op_key(rsc->id, task, interval); id 2264 lib/pengine/unpack.c rsc->id, role2text(rsc->next_role), role2text(req_role)); id 2270 lib/pengine/unpack.c rsc->id, role2text(rsc->next_role), role2text(req_role)); id 2315 lib/pengine/unpack.c pe_rsc_trace(rsc, "Mapped orphaned rsc %s's container to %s", rsc->id, container_id); id 2429 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_STOP, node->details->id, NULL, data_set); id 2447 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, migrate_target, migrate_source, id 2514 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_STOP, migrate_source, NULL, data_set); id 2516 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_MIGRATE, migrate_source, migrate_target, id 2544 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_STOP, migrate_target, NULL, data_set); id 2546 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, migrate_target, migrate_source, id 2597 lib/pengine/unpack.c crm_xml_add(op, XML_LRM_ATTR_RSCID, rsc->id); id 2634 lib/pengine/unpack.c task, rsc->id, node->details->uname, services_ocf_exitcode_str(rc), id 2641 lib/pengine/unpack.c task, rsc->id, node->details->uname, services_ocf_exitcode_str(rc), id 2678 lib/pengine/unpack.c crm_warn("Forcing %s to stop after a failed demote action", rsc->id); id 2690 lib/pengine/unpack.c pe_rsc_trace(rsc, "Leaving %s stopped", rsc->id); id 2694 lib/pengine/unpack.c pe_rsc_trace(rsc, "Setting %s active", rsc->id); id 2699 lib/pengine/unpack.c rsc->id, role2text(rsc->role), id 2723 lib/pengine/unpack.c crm_warn("Making sure %s doesn't come up again", fail_rsc->id); id 2767 lib/pengine/unpack.c task, rsc->id, node->details->uname); id 2796 lib/pengine/unpack.c task, rsc->id, node->details->uname); id 2810 lib/pengine/unpack.c key, rsc->id, node->details->uname); id 2838 lib/pengine/unpack.c rsc->id, task, services_ocf_exitcode_str(rc), rc); id 2883 lib/pengine/unpack.c node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); id 2886 lib/pengine/unpack.c crm_info("Waiting to clear monitor failure for remote node %s until fencing has occurred", rsc->id); id 2933 lib/pengine/unpack.c crm_trace("rsc op %s/%s on node %s does not have a op digest to compare against", rsc->id, id 2934 lib/pengine/unpack.c key, node->details->id); id 2937 lib/pengine/unpack.c crm_trace("Ignoring rsc op %s/%s on node %s", rsc->id, key, node->details->id); id 2945 lib/pengine/unpack.c char *key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); id 2952 lib/pengine/unpack.c rsc->id, node->details->uname, clear_reason, clear_op->uuid); id 3053 lib/pengine/unpack.c pe_rsc_trace(rsc, "%s active on %s", rsc->id, node->details->uname); id 3065 lib/pengine/unpack.c rsc->id, fail2text(*on_fail)); id 3143 lib/pengine/unpack.c node->details->uname, rsc->id); id 3242 lib/pengine/unpack.c pe_rsc_trace(rsc, "%s/%s completed on %s", rsc->id, task, node->details->uname); id 3289 lib/pengine/unpack.c parent->id, node->details->uname, id 3296 lib/pengine/unpack.c parent->id, task, services_ocf_exitcode_str(rc), rc); id 3305 lib/pengine/unpack.c pe_rsc_trace(rsc, "Resource %s after %s: role=%s, next=%s", rsc->id, task, role2text(rsc->role), role2text(rsc->next_role)); id 3318 lib/pengine/unpack.c strdup(node->details->id)); id 3319 lib/pengine/unpack.c if (safe_str_eq(node->details->id, data_set->dc_uuid)) { id 160 lib/pengine/utils.c other_node = pe_find_node_id(list, node->details->id); id 171 lib/pengine/utils.c other_node = pe_hash_table_lookup(result, node->details->id); id 177 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); id 192 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) n->details->id, n); id 267 lib/pengine/utils.c comment, rsc->id, node->details->uname, score); id 285 lib/pengine/utils.c "%s: %s allocation score on %s: %s", comment, rsc->id, id 348 lib/pengine/utils.c len = strlen(comment) + strlen(": ") + strlen(rsc->id) + strlen(" utilization on ") id 351 lib/pengine/utils.c sprintf(dump_text, "%s: %s utilization on %s:", comment, rsc->id, node->details->uname); id 447 lib/pengine/utils.c task, rsc ? rsc->id : "<NULL>", id 453 lib/pengine/utils.c action->id, task, rsc ? rsc->id : "<NULL>", id 462 lib/pengine/utils.c rsc ? rsc->id : "<NULL>", on_node ? on_node->details->uname : "<NULL>", optional); id 467 lib/pengine/utils.c action->id = data_set->action_id++; id 469 lib/pengine/utils.c action->id = 0; id 520 lib/pengine/utils.c pe_rsc_trace(rsc, "Action %d created", action->id); id 595 lib/pengine/utils.c pe_rsc_trace(rsc, "Check resource is already active: %s %s %s %s", rsc->id, action->uuid, role2text(rsc->next_role), role2text(rsc->role)); id 636 lib/pengine/utils.c crm_config_err("on-fail=standby is not allowed for stop actions: %s", action->rsc->id); id 994 lib/pengine/utils.c crm_notice("%s requires unfencing but fencing is disabled", action->rsc->id); id 1001 lib/pengine/utils.c crm_notice("%s requires fencing but fencing is disabled", action->rsc->id); id 1071 lib/pengine/utils.c pe_err("Resource %s: Unknown failure type (%s)", action->rsc->id, value); id 1192 lib/pengine/utils.c match_key = generate_op_key(rsc->id, name, number); id 1220 lib/pengine/utils.c local_key = generate_op_key(rsc->id, "migrate", 0); id 1225 lib/pengine/utils.c local_key = generate_op_key(rsc->id, "notify", 0); id 1374 lib/pengine/utils.c crm_trace("Folding %s back into its atomic counterpart for %s", name, rsc->id); id 1474 lib/pengine/utils.c } else if (safe_str_eq(on_node->details->id, action->node->details->id)) { id 1477 lib/pengine/utils.c crm_trace("Node mismatch: %s vs. %s", on_node->details->id, action->node->details->id); id 1506 lib/pengine/utils.c pe_rsc_trace(rsc, "Setting %s for %s on %s: %d", tag, rsc->id, node->details->uname, score); id 1507 lib/pengine/utils.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 1510 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); id 1543 lib/pengine/utils.c crm_info("Deallocating %s from %s", rsc->id, rsc->allocated_to->details->uname); id 1704 lib/pengine/utils.c crm_config_err("%s: Unknown value for %s: %s", rsc->id, XML_RSC_ATTR_TARGET_ROLE, value); id 1716 lib/pengine/utils.c rsc->id, XML_RSC_ATTR_TARGET_ROLE, value); id 1802 lib/pengine/utils.c free(ticket->id); id 1831 lib/pengine/utils.c ticket->id = strdup(ticket_id); id 1837 lib/pengine/utils.c g_hash_table_insert(data_set->tickets, strdup(ticket->id), ticket); id 1919 lib/pengine/utils.c crm_trace("Fixed addr for %s on %s", rsc->id, node->details->uname); id 2002 lib/pengine/utils.c key = generate_op_key(rsc->id, task, interval); id 2035 lib/pengine/utils.c char *key = generate_op_key(rsc->id, STONITH_DIGEST_TASK, 0); id 2046 lib/pengine/utils.c char *search_all = crm_strdup_printf("%s:%s:%s", rsc->id, (const char*)g_hash_table_lookup(rsc->meta, XML_ATTR_TYPE), data->digest_all_calc); id 2047 lib/pengine/utils.c char *search_secure = crm_strdup_printf("%s:%s:%s", rsc->id, (const char*)g_hash_table_lookup(rsc->meta, XML_ATTR_TYPE), data->digest_secure_calc); id 2061 lib/pengine/utils.c rsc->id, node->details->uname); id 2070 lib/pengine/utils.c rsc->id, node->details->uname, rsc->id, id 2088 lib/pengine/utils.c return rsc->id; id 2158 lib/pengine/utils.c add_hash_param(stonith_op->meta, XML_LRM_ATTR_TARGET_UUID, node->details->id); id 2184 lib/pengine/utils.c crm_notice("Unfencing %s (remote): because the definition of %s changed", node->details->uname, match->id); id 2187 lib/pengine/utils.c fprintf(stdout, " notice: Unfencing %s (remote): because the definition of %s changed\n", node->details->uname, match->id); id 2193 lib/pengine/utils.c "%s:%s:%s,", match->id, (const char*)g_hash_table_lookup(match->meta, XML_ATTR_TYPE), data->digest_all_calc); id 2197 lib/pengine/utils.c "%s:%s:%s,", match->id, (const char*)g_hash_table_lookup(match->meta, XML_ATTR_TYPE), data->digest_secure_calc); id 2269 lib/pengine/utils.c tag->id = strdup(tag_name); id 2285 lib/pengine/utils.c crm_trace("Added: tag=%s ref=%s", tag->id, obj_ref); id 2341 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"); id 585 lib/services/dbus.c guint id = g_timeout_add(dbus_timeout_get_interval(timeout), id 590 lib/services/dbus.c if(id) { id 591 lib/services/dbus.c dbus_timeout_set_data(timeout, GUINT_TO_POINTER(id), NULL); id 600 lib/services/dbus.c guint id = GPOINTER_TO_UINT(vid); id 604 lib/services/dbus.c if(id) { id 605 lib/services/dbus.c g_source_remove(id); id 214 lib/services/services.c op->id = generate_op_key(name, action, interval); id 405 lib/services/services.c services_alert_create(const char *id, const char *exec, int timeout, id 412 lib/services/services.c action->id = strdup(id); id 511 lib/services/services.c crm_info("Lost pending %s DBus call (%p)", op->id, op->opaque->pending); id 513 lib/services/services.c crm_trace("Done with pending %s DBus call (%p)", op->id, op->opaque->pending); id 519 lib/services/services.c crm_trace("Updated pending %s DBus call (%p)", op->id, pending); id 521 lib/services/services.c crm_trace("Cleared pending %s DBus call", op->id); id 578 lib/services/services.c || (g_hash_table_lookup(recurring_actions, op->id) == NULL), id 588 lib/services/services.c free(op->id); id 617 lib/services/services.c crm_info("Cancelling %s operation %s", op->standard, op->id); id 620 lib/services/services.c g_hash_table_remove(recurring_actions, op->id); id 644 lib/services/services.c char *id = generate_op_key(name, action, interval); id 649 lib/services/services.c op = g_hash_table_lookup(recurring_actions, id); id 668 lib/services/services.c id, op->pid); id 671 lib/services/services.c crm_err("Termination of %s (pid %d) failed", id, op->pid); id 683 lib/services/services.c op->standard, op->id); id 699 lib/services/services.c free(id); id 707 lib/services/services.c char *id = generate_op_key(name, action, interval); id 710 lib/services/services.c op = g_hash_table_lookup(recurring_actions, id); id 711 lib/services/services.c free(id); id 745 lib/services/services.c dup = g_hash_table_lookup(recurring_actions, op->id); id 841 lib/services/services.c g_hash_table_replace(recurring_actions, op->id, op); id 48 lib/services/services_linux.c crm_trace("No fd for %s", op->id); id 55 lib/services/services_linux.c crm_trace("Reading %s stderr into offset %d", op->id, len); id 60 lib/services/services_linux.c crm_trace("Reading %s stdout into offset %d", op->id, len); id 63 lib/services/services_linux.c crm_trace("Reading %s %s into offset %d", op->id, is_stderr?"stderr":"stdout", len); id 203 lib/services/services_linux.c crm_debug("Scheduling another invocation of %s", op->id); id 258 lib/services/services_linux.c char *prefix = crm_strdup_printf("%s:%d", op->id, op->pid); id 271 lib/services/services_linux.c crm_trace("%s: %p", op->id, op->stderr_data); id 282 lib/services/services_linux.c crm_trace("%s: %p", op->id, op->stdout_data); id 306 lib/services/services_linux.c prefix = crm_strdup_printf("%s:%d:stderr", op->id, op->pid); id 310 lib/services/services_linux.c prefix = crm_strdup_printf("%s:%d:stdout", op->id, op->pid); id 392 lib/services/services_linux.c crm_perror(LOG_ERR, "Could not reset scheduling policy to SCHED_OTHER for %s", op->id); id 397 lib/services/services_linux.c crm_perror(LOG_ERR, "Could not reset process priority to 0 for %s", op->id); id 563 lib/services/services_linux.c crm_warn("%s:%d - timed out after %dms", op->id, op->pid, op->timeout); id 582 lib/services/services_linux.c crm_info("Managed %s process %d exited with rc=%d", op->id, op->pid, op->rc); id 588 lib/services/services_linux.c crm_err("Managed %s process %d exited with signal=%d", op->id, op->pid, signo); id 592 lib/services/services_linux.c crm_err("Managed %s process %d dumped core", op->id, op->pid); id 788 lib/services/services_linux.c op->id, id 794 lib/services/services_linux.c op->opaque->stdout_gsource = mainloop_add_fd(op->id, id 798 lib/services/services_linux.c op->opaque->stderr_gsource = mainloop_add_fd(op->id, id 258 lib/services/systemd.c op->agent, op->id, error.message); id 291 lib/services/systemd.c crm_trace("Got result: %p for %p / %p for %s", reply, pending, op->opaque->pending, op->id); id 43 lib/transition/graph.c crm_trace("Processing input %d", prereq->id); id 45 lib/transition/graph.c if (prereq->id == action_id) { id 46 lib/transition/graph.c crm_trace("Marking input %d of synapse %d confirmed", action_id, synapse->id); id 57 lib/transition/graph.c crm_trace("Updated synapse %d", synapse->id); id 76 lib/transition/graph.c crm_trace("Processing action %d", action->id); id 78 lib/transition/graph.c if (action->id == action_id) { id 79 lib/transition/graph.c crm_trace("Confirmed: Action %d of Synapse %d", action_id, synapse->id); id 85 lib/transition/graph.c crm_trace("Synapse %d still not confirmed after action %d", synapse->id, action_id); id 90 lib/transition/graph.c crm_trace("Confirmed: Synapse %d", synapse->id); id 96 lib/transition/graph.c crm_trace("Updated synapse %d", synapse->id); id 116 lib/transition/graph.c rc = update_synapse_confirmed(synapse, action->id); id 119 lib/transition/graph.c rc = update_synapse_ready(synapse, action->id); id 125 lib/transition/graph.c crm_trace("Updated graph with completed action %d", action->id); id 138 lib/transition/graph.c crm_trace("Checking pre-reqs for synapse %d", synapse->id); id 144 lib/transition/graph.c crm_trace("Processing input %d", prereq->id); id 146 lib/transition/graph.c crm_trace("Input %d for synapse %d not satisfied: not confirmed", prereq->id, synapse->id); id 150 lib/transition/graph.c crm_trace("Input %d for synapse %d not satisfied: failed", prereq->id, synapse->id); id 163 lib/transition/graph.c crm_trace("Skipping synapse %d: abort level %d", synapse->id, graph->abort_priority); id 168 lib/transition/graph.c crm_trace("Deferring synapse %d: allowed", synapse->id); id 179 lib/transition/graph.c const char *id = NULL; id 183 lib/transition/graph.c id = ID(action->xml); id 184 lib/transition/graph.c CRM_CHECK(id != NULL, return FALSE); id 188 lib/transition/graph.c crm_trace("Executing pseudo-event: %s (%d)", id, action->id); id 192 lib/transition/graph.c crm_trace("Executing rsc-event: %s (%d)", id, action->id); id 202 lib/transition/graph.c crm_trace("Executing STONITH-event: %s (%d)", id, action->id); id 206 lib/transition/graph.c crm_trace("Executing crm-event: %s (%d)", id, action->id); id 210 lib/transition/graph.c crm_err("Failed on unsupported command type: %s (id=%s)", crm_element_name(action->xml), id); id 223 lib/transition/graph.c crm_trace("Synapse %d fired", synapse->id); id 235 lib/transition/graph.c crm_element_name(action->xml), action->id, synapse->id); id 267 lib/transition/graph.c crm_trace("Entering graph %d callback", graph->id); id 274 lib/transition/graph.c crm_trace("Synapse %d complete", synapse->id); id 278 lib/transition/graph.c crm_trace("Synapse %d: confirmation pending", synapse->id); id 300 lib/transition/graph.c crm_trace("Synapse %d fired", synapse->id); id 303 lib/transition/graph.c crm_err("Synapse %d failed to fire", synapse->id); id 315 lib/transition/graph.c crm_trace("Synapse %d cannot fire", synapse->id); id 342 lib/transition/graph.c graph->id, graph->completed, graph->pending, graph->fired, id 50 lib/transition/unpack.c action->id = crm_parse_int(value, NULL); id 88 lib/transition/unpack.c crm_trace("Action %d has timer set to %dms", action->id, action->timeout); id 105 lib/transition/unpack.c new_synapse->id = crm_parse_int(ID(xml_synapse), NULL); id 112 lib/transition/unpack.c CRM_CHECK(new_synapse->id >= 0, free(new_synapse); id 134 lib/transition/unpack.c crm_trace("Adding action %d to synapse %d", new_action->id, new_synapse->id); id 158 lib/transition/unpack.c crm_trace("Adding input %d to synapse %d", new_input->id, new_synapse->id); id 191 lib/transition/unpack.c new_graph->id = -1; id 208 lib/transition/unpack.c new_graph->id = crm_parse_int(t_id, "-1"); id 240 lib/transition/unpack.c new_graph->id, new_graph->num_actions, new_graph->num_synapses); id 249 lib/transition/unpack.c crm_warn("Cancelling timer for action %d (src=%d)", action->id, action->timer->source_id); id 45 lib/transition/utils.c crm_trace("Dummy event handler: action %d executed", action->id); id 46 lib/transition/utils.c if (action->id == fail) { id 47 lib/transition/utils.c crm_err("Dummy event handler: pretending action %d failed", action->id); id 120 lib/transition/utils.c find_action(crm_graph_t * graph, int id) id 135 lib/transition/utils.c if (action->id == id) { id 174 lib/transition/utils.c } else if (find_action(graph, input->id)) { id 189 lib/transition/utils.c action->id, desc, host ? host : "N/A", id 201 lib/transition/utils.c if (find_action(graph, input->id) == NULL) { id 204 lib/transition/utils.c input->id, actiontype2text(input->type), key); id 207 lib/transition/utils.c input->id, actiontype2text(input->type), key, host); id 236 lib/transition/utils.c graph->id, graph->num_actions, id 454 libltdl/loaders/dyld.c const char *id; id 457 libltdl/loaders/dyld.c id = lt__header_get_instnam (_dyld_get_image_header (i)); id 458 libltdl/loaders/dyld.c if (id && strneq (id, name)) id 98 lrmd/ipc_proxy.c client->userdata = strdup(ipc_proxy->id); id 99 lrmd/ipc_proxy.c client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id); id 101 lrmd/ipc_proxy.c g_hash_table_insert(ipc_clients, client->id, client); id 106 lrmd/ipc_proxy.c crm_xml_add(msg, F_LRMD_IPC_SESSION, client->id); id 109 lrmd/ipc_proxy.c crm_debug("created new ipc proxy with session id %s", client->id); id 195 lrmd/ipc_proxy.c crm_trace("Sending event to %s", ipc_client->id); id 202 lrmd/ipc_proxy.c crm_trace("Sending response to %d - %s", ipc_client->request_id, ipc_client->id); id 216 lrmd/ipc_proxy.c crm_warn("IPC Proxy send to ipc client %s failed, rc = %d", ipc_client->id, rc); id 223 lrmd/ipc_proxy.c uint32_t id = 0; id 246 lrmd/ipc_proxy.c request = crm_ipcs_recv(client, data, size, &id, &flags); id 254 lrmd/ipc_proxy.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); id 260 lrmd/ipc_proxy.c client->request_id = id; id 264 lrmd/ipc_proxy.c crm_xml_add(msg, F_LRMD_IPC_SESSION, client->id); id 267 lrmd/ipc_proxy.c crm_xml_add_int(msg, F_LRMD_IPC_MSG_ID, id); id 318 lrmd/ipc_proxy.c crm_xml_add(msg, F_LRMD_IPC_SESSION, client->id); id 323 lrmd/ipc_proxy.c g_hash_table_remove(ipc_clients, client->id); id 384 lrmd/ipc_proxy.c g_hash_table_insert(ipc_providers, ipc_proxy->id, ipc_proxy); id 400 lrmd/ipc_proxy.c g_hash_table_remove(ipc_providers, ipc_proxy->id); id 405 lrmd/ipc_proxy.c if (safe_str_eq(proxy_id, ipc_proxy->id)) { id 407 lrmd/ipc_proxy.c ipc_client->id, ipc_client->pid); id 175 lrmd/lrmd.c cmd->client_id = strdup(client->id); id 376 lrmd/lrmd.c send_reply(crm_client_t * client, int rc, uint32_t id, int call_id) id 386 lrmd/lrmd.c send_rc = lrmd_server_send_reply(client, id, reply); id 412 lrmd/lrmd.c client->name, client->id, id 546 lrmd/lrmd.c send_client_notify(client->id, client, notify); id 786 lrmd/lrmd.c if (safe_str_eq(client->id, new_client->id)) { id 865 lrmd/lrmd.c crm_err("LRMD action (%s) completed does not match any known operations.", action->id); id 1374 lrmd/lrmd.c process_lrmd_signon(crm_client_t * client, uint32_t id, xmlNode * request) id 1387 lrmd/lrmd.c crm_xml_add(reply, F_LRMD_CLIENTID, client->id); id 1389 lrmd/lrmd.c lrmd_server_send_reply(client, id, reply); id 1403 lrmd/lrmd.c process_lrmd_rsc_register(crm_client_t * client, uint32_t id, xmlNode * request) id 1428 lrmd/lrmd.c process_lrmd_get_rsc_info(crm_client_t * client, uint32_t id, xmlNode * request) id 1466 lrmd/lrmd.c send_rc = lrmd_server_send_reply(client, id, reply); id 1476 lrmd/lrmd.c process_lrmd_rsc_unregister(crm_client_t * client, uint32_t id, xmlNode * request) id 1505 lrmd/lrmd.c process_lrmd_rsc_exec(crm_client_t * client, uint32_t id, xmlNode * request) id 1628 lrmd/lrmd.c process_lrmd_rsc_cancel(crm_client_t * client, uint32_t id, xmlNode * request) id 1645 lrmd/lrmd.c process_lrmd_message(crm_client_t * client, uint32_t id, xmlNode * request) id 1653 lrmd/lrmd.c crm_trace("Processing %s operation from %s", op, client->id); id 1662 lrmd/lrmd.c rc = process_lrmd_signon(client, id, request); id 1664 lrmd/lrmd.c rc = process_lrmd_rsc_register(client, id, request); id 1668 lrmd/lrmd.c process_lrmd_get_rsc_info(client, id, request); id 1670 lrmd/lrmd.c rc = process_lrmd_rsc_unregister(client, id, request); id 1677 lrmd/lrmd.c rc = process_lrmd_rsc_exec(client, id, request); id 1680 lrmd/lrmd.c rc = process_lrmd_rsc_cancel(client, id, request); id 1691 lrmd/lrmd.c rc = process_lrmd_alert_exec(client, id, request); id 1701 lrmd/lrmd.c op, client->id, rc, do_reply, do_notify); id 1704 lrmd/lrmd.c send_reply(client, rc, id, call_id); id 81 lrmd/lrmd_alert_api.c process_lrmd_alert_exec(crm_client_t *client, uint32_t id, xmlNode *request) id 103 lrmd/lrmd_alert_api.c crm_info("Executing alert %s for %s", alert_id, client->id); id 113 lrmd/lrmd_alert_api.c cb_data->client_id = strdup(client->id); id 68 lrmd/lrmd_private.h extern int lrmd_tls_send_msg(crm_remote_t * session, xmlNode * msg, uint32_t id, id 73 lrmd/lrmd_private.h int lrmd_server_send_reply(crm_client_t * client, uint32_t id, xmlNode * reply); id 79 lrmd/lrmd_private.h void process_lrmd_message(crm_client_t * client, uint32_t id, xmlNode * request); id 114 lrmd/lrmd_private.h int process_lrmd_alert_exec(crm_client_t *client, uint32_t id, xmlNode *request); id 126 lrmd/main.c uint32_t id = 0; id 129 lrmd/main.c xmlNode *request = crm_ipcs_recv(client, data, size, &id, &flags); id 133 lrmd/main.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); id 158 lrmd/main.c crm_xml_add(request, F_LRMD_CLIENTID, client->id); id 162 lrmd/main.c process_lrmd_message(client, id, request); id 199 lrmd/main.c client_disconnect_cleanup(client->id); id 223 lrmd/main.c lrmd_server_send_reply(crm_client_t * client, uint32_t id, xmlNode * reply) id 226 lrmd/main.c crm_trace("Sending reply (%d) to client (%s)", id, client->id); id 229 lrmd/main.c return crm_ipcs_send(client, id, reply, FALSE); id 232 lrmd/main.c return lrmd_tls_send_msg(client->remote, reply, id, "reply"); id 244 lrmd/main.c crm_trace("Sending notification to client (%s)", client->id); id 248 lrmd/test.c rsc_info->id, rsc_info->class, id 55 lrmd/tls_backend.c int id = 0; id 102 lrmd/tls_backend.c crm_element_value_int(request, F_LRMD_REMOTE_MSG_ID, &id); id 103 lrmd/tls_backend.c crm_trace("processing request from remote client with remote msg id %d", id); id 117 lrmd/tls_backend.c crm_xml_add(request, F_LRMD_CLIENTID, client->id); id 121 lrmd/tls_backend.c process_lrmd_message(client, id, request); id 154 lrmd/tls_backend.c client->name ? client->name : "<unknown>", client->id); id 221 lrmd/tls_backend.c crm_notice("LRMD client connection established. %p id: %s", new_client, new_client->id); id 484 mcp/pacemaker.c uint32_t id = 0; id 488 mcp/pacemaker.c xmlNode *msg = crm_ipcs_recv(c, data, size, &id, &flags); id 490 mcp/pacemaker.c crm_ipcs_send_ack(c, id, flags, "ack", __FUNCTION__, __LINE__); id 505 mcp/pacemaker.c int id = 0; id 508 mcp/pacemaker.c crm_element_value_int(msg, XML_ATTR_ID, &id); id 510 mcp/pacemaker.c crm_notice("Instructing peers to remove references to node %s/%u", name, id); id 575 mcp/pacemaker.c crm_xml_add_int(xml, "id", node->id); id 582 mcp/pacemaker.c crm_trace("Sending process list to client %s", client->id); id 634 mcp/pacemaker.c update_node_processes(uint32_t id, const char *uname, uint32_t procs) id 637 mcp/pacemaker.c crm_node_t *node = crm_get_peer(id, uname); id 647 mcp/pacemaker.c if (id == local_nodeid) { id 848 mcp/pacemaker.c int id = 0; id 851 mcp/pacemaker.c crm_element_value_int(xml, XML_ATTR_ID, &id); id 853 mcp/pacemaker.c reap_crm_member(id, name); id 183 pengine/allocate.c rsc->id, node->details->uname, attr_list[attr_lpc], id 221 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); id 268 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); id 288 pengine/allocate.c rsc->id, task, interval, active_node->details->uname); id 313 pengine/allocate.c rsc->id, task, interval, active_node->details->uname, id 322 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); id 337 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); id 352 pengine/allocate.c pe_rsc_trace(rsc, "Reloading '%s' action for resource %s", task, rsc->id); id 360 pengine/allocate.c pe_rsc_trace(rsc, "Resource %s doesn't know how to reload", rsc->id); id 400 pengine/allocate.c pe_rsc_trace(rsc, "Skipping param check for %s and deleting: orphan", rsc->id); id 403 pengine/allocate.c pe_rsc_trace(rsc, "Skipping param check for %s (orphan clone)", rsc->id); id 407 pengine/allocate.c } else if (pe_find_node_id(rsc->running_on, node->details->id) == NULL) { id 412 pengine/allocate.c rsc->id, node->details->uname); id 416 pengine/allocate.c pe_rsc_trace(rsc, "Processing %s on %s", rsc->id, node->details->uname); id 470 pengine/allocate.c key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); id 477 pengine/allocate.c rsc->id, node->details->uname, action_clear->uuid); id 486 pengine/allocate.c find_rsc_list(GListPtr result, resource_t * rsc, const char *id, gboolean renamed_clones, id 492 pengine/allocate.c if (id == NULL) { id 500 pengine/allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); id 510 pengine/allocate.c if (strstr(rsc->id, id)) { id 513 pengine/allocate.c } else if (renamed_clones && rsc->clone_name && strstr(rsc->clone_name, id)) { id 518 pengine/allocate.c if (strcmp(rsc->id, id) == 0) { id 521 pengine/allocate.c } else if (renamed_clones && rsc->clone_name && strcmp(rsc->clone_name, id) == 0) { id 535 pengine/allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); id 545 pengine/allocate.c const char *id = NULL; id 555 pengine/allocate.c id = crm_element_value(node_state, XML_ATTR_ID); id 559 pengine/allocate.c node = pe_find_node_id(data_set->nodes, id); id 625 pengine/allocate.c char *key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); id 682 pengine/allocate.c failed->id, node->details->uname, fail_count, id 686 pengine/allocate.c failed->id, countdown, node->details->uname); id 706 pengine/allocate.c node_t *current = pe_find_node_id(rsc->running_on, node->details->id); id 707 pengine/allocate.c node_t *match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 716 pengine/allocate.c " (node=%s, weight=%d)", sticky_rsc->id, id 723 pengine/allocate.c " and node %s is not explicitly allowed", rsc->id, node->details->uname); id 726 pengine/allocate.c crm_err("%s[%s] = %d", rsc->id, nIter->details->uname, nIter->weight); id 954 pengine/allocate.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 1082 pengine/allocate.c rsc_merge_weights(resource1, resource1->id, NULL, NULL, 1, id 1084 pengine/allocate.c dump_node_scores(LOG_TRACE, NULL, resource1->id, r1_nodes); id 1086 pengine/allocate.c rsc_merge_weights(resource2, resource2->id, NULL, NULL, 1, id 1088 pengine/allocate.c dump_node_scores(LOG_TRACE, NULL, resource2->id, r2_nodes); id 1097 pengine/allocate.c r1_node = g_hash_table_lookup(r1_nodes, r1_node->details->id); id 1104 pengine/allocate.c r2_node = g_hash_table_lookup(r2_nodes, r2_node->details->id); id 1129 pengine/allocate.c r1_node = g_hash_table_lookup(r1_nodes, node->details->id); id 1137 pengine/allocate.c r2_node = g_hash_table_lookup(r2_nodes, node->details->id); id 1156 pengine/allocate.c resource1->id, r1_weight, r1_node ? r1_node->details->id : "n/a", id 1158 pengine/allocate.c resource2->id, r2_weight, r2_node ? r2_node->details->id : "n/a", reason); id 1183 pengine/allocate.c pe_rsc_trace(rsc, "Allocating: %s", rsc->id); id 1198 pengine/allocate.c pe_rsc_trace(rsc, "Allocating: %s", rsc->id); id 1255 pengine/allocate.c char *key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); id 1264 pengine/allocate.c rsc->id, node->details->uname, clear_op->uuid); id 1453 pengine/allocate.c node->details->uname, stonith_op->id, stop->node->details->uname); id 1462 pengine/allocate.c node->details->uname, stonith_op->id, id 1463 pengine/allocate.c container->id, stop->id); id 1466 pengine/allocate.c node->details->uname, stonith_op->id); id 1664 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); id 1694 pengine/allocate.c crm_trace("Processing RH of ordering constraint %d", order->id); id 1705 pengine/allocate.c " ignoring", rsc->id, order->rh_action_task); id 1744 pengine/allocate.c crm_trace("Processing LH of ordering constraint %d", order->id); id 1761 pengine/allocate.c key = generate_op_key(lh_rsc->id, op_type, interval); id 1766 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); id 1771 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); id 1775 pengine/allocate.c lh_rsc->id, order->lh_action_task, order->id, order->rh_action_task); id 1847 pengine/allocate.c remote_rsc->id, id 1849 pengine/allocate.c container->id); id 2015 pengine/allocate.c remote_rsc->id, state); id 2141 pengine/allocate.c generate_op_key(action->rsc->id, RSC_START, 0), id 2260 pengine/allocate.c crm_err("No start action for %s", rsc->id); id 2264 pengine/allocate.c key = generate_op_key(rsc->id, CRMD_ACTION_STATUS, 0); id 2295 pengine/allocate.c crm_trace("Same parent %s for %s", first_rsc->id, start->uuid); id 2299 pengine/allocate.c crm_trace("Not a clone %s for %s", first_rsc->id, start->uuid); id 2335 pengine/allocate.c crm_trace("Applying ordering constraint: %d", order->id); id 2431 pengine/allocate.c pe_rsc_trace(rsc, "processing actions for rsc=%s", rsc->id); id 2463 pengine/allocate.c action->node->details->uname, action->rsc->id, id 2496 pengine/allocate.c node_name = crm_strdup_printf("%s (resource: %s)", action->node->details->uname, action->node->details->remote_rsc->container->id); id 42 pengine/clone.c return strcmp(resource1->id, resource2->id); id 51 pengine/clone.c ret = pe_hash_table_lookup(rsc->parent->allowed_nodes, node->details->id); id 53 pengine/clone.c ret = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 103 pengine/clone.c crm_trace("%s < %s: running_on", resource1->id, resource2->id); id 107 pengine/clone.c crm_trace("%s > %s: running_on", resource1->id, resource2->id); id 120 pengine/clone.c node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); id 123 pengine/clone.c crm_trace("%s: current location is unavailable", resource1->id); id 130 pengine/clone.c node_t *match = pe_hash_table_lookup(resource2->allowed_nodes, node2->details->id); id 133 pengine/clone.c crm_trace("%s: current location is unavailable", resource2->id); id 141 pengine/clone.c crm_trace("%s < %s: availability of current location", resource1->id, resource2->id); id 144 pengine/clone.c crm_trace("%s > %s: availability of current location", resource1->id, resource2->id); id 149 pengine/clone.c crm_trace("%s < %s: priority", resource1->id, resource2->id); id 153 pengine/clone.c crm_trace("%s > %s: priority", resource1->id, resource2->id); id 158 pengine/clone.c crm_trace("%s == %s: not active", resource1->id, resource2->id); id 164 pengine/clone.c crm_trace("%s > %s: active", resource1->id, resource2->id); id 167 pengine/clone.c crm_trace("%s < %s: active", resource1->id, resource2->id); id 176 pengine/clone.c crm_trace("%s < %s: can", resource1->id, resource2->id); id 179 pengine/clone.c crm_trace("%s > %s: can", resource1->id, resource2->id); id 186 pengine/clone.c crm_trace("%s < %s: not allowed", resource1->id, resource2->id); id 189 pengine/clone.c crm_trace("%s > %s: not allowed", resource1->id, resource2->id); id 194 pengine/clone.c crm_trace("%s == %s: not allowed", resource1->id, resource2->id); id 199 pengine/clone.c crm_trace("%s < %s: count", resource1->id, resource2->id); id 203 pengine/clone.c crm_trace("%s > %s: count", resource1->id, resource2->id); id 211 pengine/clone.c crm_trace("%s > %s: failed", resource1->id, resource2->id); id 214 pengine/clone.c crm_trace("%s < %s: failed", resource1->id, resource2->id); id 231 pengine/clone.c g_hash_table_insert(hash1, (gpointer) n->details->id, n); id 234 pengine/clone.c g_hash_table_insert(hash2, (gpointer) n->details->id, n); id 240 pengine/clone.c crm_trace("Applying %s to %s", constraint->id, resource1->id); id 242 pengine/clone.c hash1 = native_merge_weights(constraint->rsc_rh, resource1->id, hash1, id 250 pengine/clone.c crm_trace("Applying %s to %s", constraint->id, resource1->id); id 252 pengine/clone.c hash1 = native_merge_weights(constraint->rsc_lh, resource1->id, hash1, id 262 pengine/clone.c crm_trace("Applying %s to %s", constraint->id, resource2->id); id 264 pengine/clone.c hash2 = native_merge_weights(constraint->rsc_rh, resource2->id, hash2, id 272 pengine/clone.c crm_trace("Applying %s to %s", constraint->id, resource2->id); id 274 pengine/clone.c hash2 = native_merge_weights(constraint->rsc_lh, resource2->id, hash2, id 282 pengine/clone.c node1 = g_hash_table_lookup(hash1, node1->details->id); id 285 pengine/clone.c node2 = g_hash_table_lookup(hash2, node2->details->id); id 289 pengine/clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); id 294 pengine/clone.c crm_trace("%s < %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); id 300 pengine/clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); id 324 pengine/clone.c crm_trace("%s < %s: colocated score NULL", resource1->id, resource2->id); id 329 pengine/clone.c crm_trace("%s > %s: colocated score NULL", resource1->id, resource2->id); id 335 pengine/clone.c crm_trace("%s < %s: colocated score", resource1->id, resource2->id); id 340 pengine/clone.c crm_trace("%s > %s: colocated score", resource1->id, resource2->id); id 358 pengine/clone.c rc = strcmp(resource1->id, resource2->id); id 359 pengine/clone.c crm_trace("%s %c %s: default", resource1->id, rc < 0 ? '<' : '>', resource2->id); id 387 pengine/clone.c crm_warn("%s cannot run on %s: node not allowed", rsc->id, node->details->uname); id 391 pengine/clone.c common_update_score(rsc, node->details->id, local_node->weight); id 393 pengine/clone.c rsc->id, node->details->uname); id 397 pengine/clone.c rsc->id, node->details->uname, local_node->count); id 402 pengine/clone.c rsc->id, node->details->uname, local_node->count, limit); id 407 pengine/clone.c common_update_score(rsc, node->details->id, -INFINITY); id 420 pengine/clone.c rsc->id, (prefer? prefer->details->uname: "none"), id 427 pengine/clone.c pe_rsc_debug(rsc, "Dependency loop detected involving %s", rsc->id); id 437 pengine/clone.c node_t *local_prefer = g_hash_table_lookup(rsc->allowed_nodes, prefer->details->id); id 440 pengine/clone.c pe_rsc_trace(rsc, "Not pre-allocating %s to %s - unavailable", rsc->id, id 467 pengine/clone.c chosen->details->id, rsc->parent->id, id 534 pengine/clone.c max, rsc->id, available_nodes, per_host_max, loop_max); id 546 pengine/clone.c child->id, child_node->details->uname, max - allocated, max); id 550 pengine/clone.c child_node->details->uname, child->id); id 558 pengine/clone.c pe_rsc_trace(rsc, "Pre-allocated %s to %s", child->id, id 576 pengine/clone.c child->id, child_node->details->uname); id 582 pengine/clone.c pe_rsc_debug(rsc, "Child %s not allocated - limit reached %d %d", child->id, allocated, max); id 592 pengine/clone.c allocated, rsc->id, max); id 609 pengine/clone.c pe_rsc_debug(rsc, "Dependency loop detected involving %s", rsc->id); id 614 pengine/clone.c pe_rsc_trace(rsc, "Processing %s", rsc->id); id 622 pengine/clone.c pe_rsc_trace(rsc, "%s: Coloring %s first", rsc->id, constraint->rsc_rh->id); id 630 pengine/clone.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, id 647 pengine/clone.c pe_rsc_trace(rsc, "Done allocating %s", rsc->id); id 835 pengine/clone.c pe_rsc_trace(rsc, "Creating actions for %s", rsc->id); id 891 pengine/clone.c pe_rsc_trace(rsc, "Internal constraints for %s", rsc->id); id 964 pengine/clone.c crm_trace("Filtered %s", child_rsc->id); id 972 pengine/clone.c crm_trace("%s - %s vs %s", child_rsc->id, node->details->uname, id 976 pengine/clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); id 1007 pengine/clone.c pe_rsc_debug(rsc, "Can't pair %s with %s", local_child->id, rsc->id); id 1031 pengine/clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); id 1032 pengine/clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); id 1036 pengine/clone.c constraint->id, rsc_lh->id, rsc_rh->id, constraint->score); id 1045 pengine/clone.c constraint->rsc_lh->id, constraint->rsc_rh->id); id 1053 pengine/clone.c pe_rsc_trace(rsc_rh, "%s is still provisional", rsc_rh->id); id 1062 pengine/clone.c pe_rsc_debug(rsc_rh, "Pairing %s with %s", rsc_lh->id, rh_child->id); id 1066 pengine/clone.c crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id); id 1070 pengine/clone.c pe_rsc_debug(rsc_rh, "Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id); id 1084 pengine/clone.c pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); id 1156 pengine/clone.c pe_rsc_trace(action->rsc, "Checking for %s in %s on %s (%s)", task_s, child->id, id 1165 pengine/clone.c flags = crm_clear_bit(__FUNCTION__, __LINE__, action->rsc->id, flags, pe_action_optional); id 1176 pengine/clone.c flags = crm_clear_bit(__FUNCTION__, __LINE__, action->rsc->id, flags, pe_action_runnable); id 1196 pengine/clone.c pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id); id 1299 pengine/clone.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { id 1350 pengine/clone.c pe_warn("Clone %s has no children", rsc->id); id 1355 pengine/clone.c node_t *allowed = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 1364 pengine/clone.c g_hash_table_remove(rsc->allowed_nodes, node->details->id); id 52 pengine/constraints.c enum pe_ordering get_flags(const char *id, enum pe_order_kind kind, id 67 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 70 pengine/constraints.c if (id == NULL) { id 75 pengine/constraints.c crm_trace("Processing constraint %s %s", tag, id); id 81 pengine/constraints.c id); id 85 pengine/constraints.c crm_info("Constraint %s %s is not active", tag, id); id 170 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 172 pengine/constraints.c crm_config_err("Constraint %s: Unknown type '%s'", id, kind); id 178 pengine/constraints.c pe_find_constraint_resource(GListPtr rsc_list, const char *id) id 182 pengine/constraints.c for (rIter = rsc_list; id && rIter; rIter = rIter->next) { id 184 pengine/constraints.c resource_t *match = parent->fns->find_rsc(parent, id, NULL, id 188 pengine/constraints.c if(safe_str_neq(match->id, id)) { id 191 pengine/constraints.c crm_debug("Found %s for %s", match->id, id); id 196 pengine/constraints.c crm_trace("No match for %s", id); id 201 pengine/constraints.c pe_find_constraint_tag(pe_working_set_t * data_set, const char * id, tag_t ** tag) id 206 pengine/constraints.c rc = g_hash_table_lookup_extended(data_set->template_rsc_sets, id, id 210 pengine/constraints.c rc = g_hash_table_lookup_extended(data_set->tags, id, id 214 pengine/constraints.c crm_config_warn("No template/tag named '%s'", id); id 218 pengine/constraints.c crm_config_warn("No resource is tagged with '%s'", id); id 223 pengine/constraints.c crm_config_warn("No resource is derived from template '%s'", id); id 231 pengine/constraints.c valid_resource_or_tag(pe_working_set_t * data_set, const char * id, id 238 pengine/constraints.c *rsc = pe_find_constraint_resource(data_set->resources, id); id 246 pengine/constraints.c rc = pe_find_constraint_tag(data_set, id, tag); id 271 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 280 pengine/constraints.c } else if (id == NULL) { id 303 pengine/constraints.c id, crm_str(id_then), crm_str(id_first)); id 311 pengine/constraints.c crm_config_err("Constraint %s: no resource found for name '%s'", id, id_then); id 315 pengine/constraints.c crm_config_err("Constraint %s: no resource found for name '%s'", id, id_first); id 321 pengine/constraints.c id, id_then, instance_then); id 327 pengine/constraints.c id, id_first, instance_first); id 334 pengine/constraints.c crm_config_warn("Invalid constraint '%s': No instance '%s' of '%s'", id, instance_then, id 343 pengine/constraints.c crm_config_warn("Invalid constraint '%s': No instance '%s' of '%s'", id, instance_first, id 376 pengine/constraints.c cons_weight |= get_flags(id, kind, action_first, action_then, FALSE); id 384 pengine/constraints.c char *task = crm_concat(CRM_OP_RELAXED_CLONE, id, ':'); id 394 pengine/constraints.c for (rIter = rsc_first->children; id && rIter; rIter = rIter->next) { id 397 pengine/constraints.c custom_action_order(child, generate_op_key(child->id, action_first, 0), NULL, id 405 pengine/constraints.c rsc_then, generate_op_key(rsc_then->id, action_then, 0), NULL, id 412 pengine/constraints.c order_id, id, rsc_first->id, action_first, rsc_then->id, action_then, cons_weight); id 418 pengine/constraints.c crm_config_warn("Cannot invert serialized constraint set %s", id); id 429 pengine/constraints.c " Please specify the inverse manually.", id); id 439 pengine/constraints.c cons_weight |= get_flags(id, kind, action_first, action_then, TRUE); id 444 pengine/constraints.c order_id, id, rsc_then->id, action_then, rsc_first->id, action_first, cons_weight); id 479 pengine/constraints.c const char *id = ID(xml_rsc); id 485 pengine/constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { id 486 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", cons_id, id); id 573 pengine/constraints.c const char *id = NULL; id 596 pengine/constraints.c id = crm_element_value(xml_obj, attr); id 597 pengine/constraints.c if (id == NULL) { id 601 pengine/constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { id 602 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", cons_id, id); id 612 pengine/constraints.c crm_xml_add(*rsc_set, XML_ATTR_ID, id); id 631 pengine/constraints.c crm_xml_add(*rsc_set, XML_ATTR_ID, id); id 634 pengine/constraints.c crm_xml_add(rsc_ref, XML_ATTR_ID, id); id 654 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 675 pengine/constraints.c crm_config_err("Bad regex '%s' for constraint '%s'", value, id); id 694 pengine/constraints.c status = regexec(r_patt, r->id, nregs, pmatch, 0); id 698 pengine/constraints.c .string = r->id, id 707 pengine/constraints.c crm_debug("'%s' matched '%s' for %s", r->id, value, id); id 711 pengine/constraints.c crm_debug("'%s' is an inverted match of '%s' for %s", r->id, value, id); id 715 pengine/constraints.c crm_trace("'%s' does not match '%s' for %s", r->id, value, id); id 735 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 741 pengine/constraints.c crm_config_warn("No resource (con=%s, rsc=%s)", id, id_lh); id 756 pengine/constraints.c location = rsc2node_new(id, rsc_lh, score_i, discovery, match, data_set); id 765 pengine/constraints.c crm_trace("Unpacking %s/%s", id, ID(rule_xml)); id 782 pengine/constraints.c pe_err("Invalid constraint %s: Bad role %s", id, role); id 807 pengine/constraints.c const char *id = NULL; id 825 pengine/constraints.c id = crm_element_value(xml_obj, XML_ATTR_ID); id 826 pengine/constraints.c if (id == NULL) { id 846 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", id, id_lh); id 1081 pengine/constraints.c node_t *local = pe_find_node_id(match_L, node->details->id); id 1098 pengine/constraints.c node_t *delete = pe_find_node_id(match_L, node->details->id); id 1153 pengine/constraints.c return strcmp(rsc_constraint1->rsc_lh->id, rsc_constraint2->rsc_lh->id); id 1187 pengine/constraints.c return strcmp(rsc_constraint1->rsc_rh->id, rsc_constraint2->rsc_rh->id); id 1233 pengine/constraints.c rsc_colocation_new(const char *id, const char *node_attr, int score, id 1240 pengine/constraints.c crm_config_err("No resource found for LHS %s", id); id 1244 pengine/constraints.c crm_config_err("No resource found for RHS of %s", id); id 1261 pengine/constraints.c new_con->id = id; id 1273 pengine/constraints.c pe_rsc_trace(rsc_lh, "%s ==> %s (%s %d)", rsc_lh->id, rsc_rh->id, node_attr, score); id 1312 pengine/constraints.c lh_key = generate_op_key(lh_rsc->id, lh_task, 0); id 1313 pengine/constraints.c rh_key = generate_op_key(rh_rsc->id, rh_task, 0); id 1391 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_MIGRATED, 0), NULL, id 1392 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, id 1403 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_START, 0), NULL, id 1404 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, id 1418 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, id 1419 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, id 1425 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, id 1426 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATED, 0), NULL, id 1436 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_PROMOTE, 0), NULL, id 1437 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, id 1447 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, id 1448 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, id 1454 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, id 1455 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATED, 0), NULL, id 1492 pengine/constraints.c lh_rsc?lh_rsc->id:"NA", lh_action_task, lh_action?lh_action->uuid:"NA", id 1493 pengine/constraints.c rh_rsc?rh_rsc->id:"NA", rh_action_task, rh_action?rh_action->uuid:"NA"); id 1497 pengine/constraints.c order->id = data_set->order_id++; id 1525 pengine/constraints.c return order->id; id 1542 pengine/constraints.c get_flags(const char *id, enum pe_order_kind kind, id 1548 pengine/constraints.c crm_trace("Upgrade %s: implies left", id); id 1552 pengine/constraints.c crm_trace("Upgrade %s: implies right", id); id 1556 pengine/constraints.c crm_trace("Upgrade %s: runnable", id); id 1584 pengine/constraints.c const char *id = ID(set); id 1608 pengine/constraints.c flags = get_flags(id, local_kind, action, action, FALSE); id 1615 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, resource, ID(xml_rsc)); id 1621 pengine/constraints.c crm_trace("Single set: %s", id); id 1651 pengine/constraints.c key = generate_op_key(resource->id, action, 0); id 1668 pengine/constraints.c char *then_key = generate_op_key(then_rsc->id, action, 0); id 1687 pengine/constraints.c crm_config_warn("Cannot invert serialized constraint set %s", id); id 1710 pengine/constraints.c flags = get_flags(id, local_kind, action, action, TRUE); id 1741 pengine/constraints.c order_rsc_sets(const char *id, xmlNode * set1, xmlNode * set2, enum pe_order_kind kind, id 1786 pengine/constraints.c flags = get_flags(id, kind, action_2, action_1, invert); id 1802 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); id 1806 pengine/constraints.c custom_action_order(rsc_1, generate_op_key(rsc_1->id, action_1, 0), NULL, id 1815 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc_2)); id 1820 pengine/constraints.c rsc_2, generate_op_key(rsc_2->id, action_2, 0), NULL, id 1837 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, rid); id 1843 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); id 1855 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); id 1869 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, rid); id 1879 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); id 1889 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); id 1899 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); id 1904 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc_2)); id 1918 pengine/constraints.c const char *id = NULL; id 1941 pengine/constraints.c id = crm_element_value(xml_obj, XML_ATTR_ID); id 1942 pengine/constraints.c if (id == NULL) { id 1963 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", id, id_first); id 1968 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", id, id_then); id 2054 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 2122 pengine/constraints.c if (order_rsc_sets(id, last, set, kind, data_set, FALSE, invert_bool) == FALSE) { id 2127 pengine/constraints.c && order_rsc_sets(id, set, last, kind, data_set, TRUE, invert_bool) == FALSE) { id 2185 pengine/constraints.c pe_rsc_trace(resource, "Colocating %s with %s", resource->id, with->id); id 2199 pengine/constraints.c pe_rsc_trace(resource, "Colocating %s with %s", last->id, resource->id); id 2223 pengine/constraints.c if (safe_str_eq(resource->id, ID(xml_rsc_with))) { id 2231 pengine/constraints.c pe_rsc_trace(resource, "Anti-Colocating %s with %s", resource->id, id 2232 pengine/constraints.c with->id); id 2245 pengine/constraints.c colocate_rsc_sets(const char *id, xmlNode * set1, xmlNode * set2, int score, id 2262 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); id 2277 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, rid); id 2281 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); id 2286 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc)); id 2287 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); id 2294 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); id 2295 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); id 2304 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_1, ID(xml_rsc)); id 2309 pengine/constraints.c EXPAND_CONSTRAINT_IDREF(id, rsc_2, ID(xml_rsc_2)); id 2310 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); id 2325 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 2342 pengine/constraints.c crm_config_err("Invalid constraint '%s': No resource named '%s'", id, id_lh); id 2346 pengine/constraints.c crm_config_err("Invalid constraint '%s': No resource named '%s'", id, id_rh); id 2352 pengine/constraints.c id, id_lh, instance_lh); id 2358 pengine/constraints.c id, id_rh, instance_rh); id 2365 pengine/constraints.c crm_config_warn("Invalid constraint '%s': No instance '%s' of '%s'", id, instance_lh, id 2374 pengine/constraints.c crm_config_warn("Invalid constraint '%s': No instance '%s' of '%s'", id, instance_rh, id 2389 pengine/constraints.c rsc_colocation_new(id, attr, score_i, rsc_lh, rsc_rh, state_lh, state_rh, data_set); id 2396 pengine/constraints.c const char *id = NULL; id 2420 pengine/constraints.c id = crm_element_value(xml_obj, XML_ATTR_ID); id 2421 pengine/constraints.c if (id == NULL) { id 2442 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", id, id_lh); id 2447 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", id, id_rh); id 2459 pengine/constraints.c id); id 2521 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 2546 pengine/constraints.c } else if (last && colocate_rsc_sets(id, last, set, score_i, data_set) == FALSE) { id 2566 pengine/constraints.c rsc_ticket_new(const char *id, resource_t * rsc_lh, ticket_t * ticket, id 2572 pengine/constraints.c crm_config_err("No resource found for LHS %s", id); id 2585 pengine/constraints.c new_rsc_ticket->id = id; id 2595 pengine/constraints.c ticket->id); id 2602 pengine/constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, id 2607 pengine/constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, id 2613 pengine/constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, id 2619 pengine/constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, id 2626 pengine/constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, id 2632 pengine/constraints.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, id 2638 pengine/constraints.c pe_rsc_trace(rsc_lh, "%s (%s) ==> %s", rsc_lh->id, role2text(new_rsc_ticket->role_lh), id 2639 pengine/constraints.c ticket->id); id 2677 pengine/constraints.c resource->id, ticket->id); id 2687 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 2704 pengine/constraints.c if (id == NULL) { id 2710 pengine/constraints.c crm_config_err("Invalid constraint '%s': No ticket specified", id); id 2717 pengine/constraints.c crm_config_err("Invalid constraint '%s': No ticket named '%s'", id, ticket_str); id 2722 pengine/constraints.c crm_config_err("Invalid constraint '%s': No resource specified", id); id 2729 pengine/constraints.c crm_config_err("Invalid constraint '%s': No resource named '%s'", id, id_lh); id 2735 pengine/constraints.c id, id_lh, instance_lh); id 2742 pengine/constraints.c crm_config_warn("Invalid constraint '%s': No instance '%s' of '%s'", id, instance_lh, id 2748 pengine/constraints.c rsc_ticket_new(id, rsc_lh, ticket, state_lh, loss_policy, data_set); id 2755 pengine/constraints.c const char *id = NULL; id 2773 pengine/constraints.c id = crm_element_value(xml_obj, XML_ATTR_ID); id 2774 pengine/constraints.c if (id == NULL) { id 2794 pengine/constraints.c crm_config_err("Constraint '%s': Invalid reference to '%s'", id, id_lh); id 2838 pengine/constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 2854 pengine/constraints.c if (id == NULL) { id 2865 pengine/constraints.c crm_config_err("Invalid constraint '%s': No ticket specified", id); id 106 pengine/container.c rsc->id, node->details->uname, fail_count, id 112 pengine/container.c rsc->id, countdown, node->details->uname); id 353 pengine/container.c rsc_lh->id, rsc->id, candidate->details->uname); id 360 pengine/container.c rsc_lh->id, tuple->docker->id, candidate->details->uname); id 365 pengine/container.c crm_trace("Can't pair %s with %s", rsc_lh->id, rsc->id); id 394 pengine/container.c pe_rsc_debug(rsc, "Can't pair %s with %s", rsc_lh->id, rsc->id); id 450 pengine/container.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); id 451 pengine/container.c CRM_CHECK(rsc != NULL, pe_err("rsc was NULL for %s", constraint->id); return); id 455 pengine/container.c pe_rsc_trace(rsc, "%s is still provisional", rsc->id); id 462 pengine/container.c pe_rsc_debug(rsc, "Pairing %s with %s", rsc_lh->id, rh_child->id); id 466 pengine/container.c crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc->id); id 470 pengine/container.c pe_rsc_debug(rsc, "Cannot pair %s with instance of %s", rsc_lh->id, rsc->id); id 478 pengine/container.c constraint->id, rsc_lh->id, rsc->id, constraint->score); id 490 pengine/container.c pe_rsc_trace(rsc, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); id 540 pengine/container.c crm_err("Can't colocate unrunnable child %s with %s", local_child->id, rsc->id); id 545 pengine/container.c local_child->id, rsc->id, local_node->details->uname); id 553 pengine/container.c local_child->id, child_rsc->id, local_node->details->uname); id 558 pengine/container.c crm_trace("Can't pair %s with %s", local_child->id, rsc->id); id 606 pengine/container.c crm_debug("No match found for %s (%d / %s / %s)", then_child->id, current, first->uuid, then->uuid); id 615 pengine/container.c pe_rsc_info(then->rsc, "Inhibiting %s from being active", then_child->id); id 660 pengine/container.c first_task, first_child->id); id 664 pengine/container.c first_task, first_child->id, id 676 pengine/container.c then->task, then_child->id); id 680 pengine/container.c then->task, then_child->id, id 698 pengine/container.c first_child->id, first_action, id 699 pengine/container.c then_child->id, then_action, task2text(task)); id 736 pengine/container.c first->uuid, then->uuid, interleave ? "yes" : "no", rsc->id); id 796 pengine/container.c pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id); id 840 pengine/container.c crm_trace("Fixed addr for %s on %s", tuple->remote->id, calculated_addr); id 843 pengine/container.c crm_err("Could not fix addr for %s", tuple->remote->id); id 902 pengine/container.c custom_action_order(tuple->docker, generate_op_key(tuple->docker->id, RSC_STATUS, 0), NULL, id 903 pengine/container.c other->docker, generate_op_key(other->docker->id, RSC_START, 0), NULL, id 916 pengine/container.c char *probe_uuid = generate_op_key(tuple->remote->id, RSC_STATUS, 0); id 923 pengine/container.c tuple->remote->id, node->details->uname); id 925 pengine/container.c generate_op_key(tuple->docker->id, RSC_START, 0), id 175 pengine/graph.c crm_err("Couldn't expand %s to %s in %s", action->uuid, uuid, rsc->id); id 323 pengine/graph.c first->uuid, then->uuid, first->rsc->id); id 462 pengine/graph.c char *reason_text = crm_strdup_printf("colocation with %s", reason->id); id 849 pengine/graph.c add_node_to_xml_by_id(const char *id, xmlNode *xml) id 854 pengine/graph.c crm_xml_add(node_xml, XML_ATTR_UUID, id); id 869 pengine/graph.c add_node_to_xml_by_id(node->details->id, (xmlNode *) xml); id 899 pengine/graph.c add_node_to_xml_by_id(node->details->id, maintenance), id 950 pengine/graph.c add_node_to_xml_by_id(action->node->details->id, downed); id 959 pengine/graph.c add_node_to_xml_by_id(action->node->details->id, downed); id 975 pengine/graph.c if (input->rsc && safe_str_eq(action->rsc->id, input->rsc->id) id 983 pengine/graph.c add_node_to_xml_by_id(action->rsc->id, downed); id 1036 pengine/graph.c crm_xml_add_int(action_xml, XML_ATTR_ID, action->id); id 1071 pengine/graph.c crm_xml_add(action_xml, XML_LRM_ATTR_TARGET_UUID, action->node->details->id); id 1077 pengine/graph.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET_UUID), strdup(action->node->details->id)); id 1110 pengine/graph.c crm_debug("Using orphan clone name %s instead of %s", action->rsc->id, id 1113 pengine/graph.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id); id 1118 pengine/graph.c crm_debug("Using anonymous clone name %s for %s (aka. %s)", xml_id, action->rsc->id, id 1138 pengine/graph.c crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id); id 1143 pengine/graph.c crm_xml_add(rsc_xml, XML_ATTR_ID, action->rsc->id); id 1293 pengine/graph.c crm_trace("action %d (%s) was already dumped", action->id, action->uuid); id 1323 pengine/graph.c action->id, action->uuid, wrapper->action->uuid); id 1328 pengine/graph.c action->id, action->uuid, wrapper->action->uuid); id 1335 pengine/graph.c crm_trace("action %d (%s) was not runnable", action->id, action->uuid); id 1340 pengine/graph.c crm_trace("action %d (%s) was optional", action->id, action->uuid); id 1351 pengine/graph.c action->id, action->uuid, action->rsc->id); id 1364 pengine/graph.c pe_err("action %d (%s) was not allocated", action->id, action->uuid); id 1372 pengine/graph.c pe_err("action %d was (%s) scheduled for offline node", action->id, action->uuid); id 1380 pengine/graph.c pe_err("action %d was (%s) scheduled for unclean node", action->id, action->uuid); id 1402 pengine/graph.c if (action_wrapper1->action->id > action_wrapper2->action->id) { id 1406 pengine/graph.c if (action_wrapper1->action->id < action_wrapper2->action->id) { id 1437 pengine/graph.c wrapper->action->rsc->id, action->rsc->id); id 1442 pengine/graph.c if (last_action == wrapper->action->id) { id 1444 pengine/graph.c wrapper->action->id, wrapper->action->uuid, action->uuid); id 1450 pengine/graph.c wrapper->action->id, wrapper->action->uuid, action->uuid); id 1456 pengine/graph.c wrapper->action->id, wrapper->action->uuid, action->uuid); id 1462 pengine/graph.c wrapper->action->id, wrapper->action->uuid, action->uuid); id 1468 pengine/graph.c wrapper->action->id, wrapper->action->uuid, action->uuid); id 1558 pengine/graph.c crm_trace("Input (%d) %s should be dumped for %s", wrapper->action->id, id 1567 pengine/graph.c wrapper->action->id, wrapper->action->uuid, action->uuid); id 1572 pengine/graph.c crm_trace("Input (%d) %s optional for %s", wrapper->action->id, id 1575 pengine/graph.c wrapper->action->id, wrapper->action->uuid, wrapper->action->node, id 1686 pengine/graph.c wrapper->action->id, id 1744 pengine/graph.c CRM_CHECK(last_action < wrapper->action->id,; id 1746 pengine/graph.c last_action = wrapper->action->id; id 43 pengine/group.c pe_rsc_trace(rsc, "Processing %s", rsc->id); id 45 pengine/group.c pe_rsc_debug(rsc, "Dependency loop detected involving %s", rsc->id); id 98 pengine/group.c pe_rsc_trace(rsc, "Creating actions for %s", rsc->id); id 301 pengine/group.c pe_err("rsc_lh was NULL for %s", constraint->id); id 305 pengine/group.c pe_err("rsc_rh was NULL for %s", constraint->id); id 310 pengine/group.c pe_rsc_trace(rsc_lh, "Processing constraints from %s", rsc_lh->id); id 321 pengine/group.c " between non-colocated group and %s", rsc_lh->id, rsc_rh->id); id 341 pengine/group.c pe_rsc_trace(rsc_rh, "Processing RH of constraint %s", constraint->id); id 362 pengine/group.c " non-colocated group: %s", rsc_lh->id, rsc_rh->id); id 406 pengine/group.c action->uuid, task_s, child->id); id 447 pengine/group.c pe_rsc_debug(rsc, "Processing rsc_location %s for %s", constraint->id, rsc->id); id 470 pengine/group.c pe_rsc_trace(rsc, "Processing actions from %s", rsc->id); id 492 pengine/group.c pe_rsc_info(rsc, "Breaking dependency loop with %s at %s", rsc->id, rhs); id 505 pengine/group.c nodes = native_merge_weights(constraint->rsc_lh, rsc->id, nodes, id 67 pengine/main.c uint32_t id = 0; id 70 pengine/main.c xmlNode *msg = crm_ipcs_recv(c, data, size, &id, &flags); id 72 pengine/main.c crm_ipcs_send_ack(c, id, flags, "ack", __FUNCTION__, __LINE__); id 148 pengine/master.c pe_rsc_trace(child, "Applying %s to %s", cons->id, child->id); id 149 pengine/master.c cons_node = pe_find_node_id(cons->node_list_rh, chosen->details->id); id 155 pengine/master.c child->id, cons_node->details->uname, child->priority, id 174 pengine/master.c crm_info("%s role: %s", rsc->id, role2text(role)); id 184 pengine/master.c pe_rsc_trace(rsc, "Child %s of %s can't be promoted", child->id, rsc->id); id 192 pengine/master.c pe_rsc_trace(rsc, "%s cannot be master: not allocated", rsc->id); id 198 pengine/master.c rsc->id, node->details->uname); id 205 pengine/master.c pe_rsc_trace(rsc, "%s cannot be master: preference: %d", rsc->id, rsc->priority); id 214 pengine/master.c local_node = pe_hash_table_lookup(parent->allowed_nodes, node->details->id); id 217 pengine/master.c crm_err("%s cannot run on %s: node not allowed", rsc->id, node->details->uname); id 225 pengine/master.c pe_rsc_trace(rsc, "%s cannot be master on %s: node full", rsc->id, node->details->uname); id 249 pengine/master.c crm_trace("%s %c %s (index)", resource1->id, rc < 0 ? '<' : '>', resource2->id); id 254 pengine/master.c crm_trace("%s %c %s (role)", resource1->id, '<', resource2->id); id 258 pengine/master.c crm_trace("%s %c %s (role)", resource1->id, '>', resource2->id); id 288 pengine/master.c pe_rsc_trace(rsc, "Merging weights for %s", rsc->id); id 294 pengine/master.c pe_rsc_trace(rsc, "Sort index: %s = %d", child->id, child->sort_index); id 304 pengine/master.c pe_rsc_trace(rsc, "Skipping %s", child->id); id 308 pengine/master.c node = (node_t *) pe_hash_table_lookup(rsc->allowed_nodes, chosen->details->id); id 313 pengine/master.c node->details->uname, child->id); id 329 pengine/master.c pe_rsc_trace(rsc, "RHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, id 332 pengine/master.c constraint->rsc_rh->cmds->merge_weights(constraint->rsc_rh, rsc->id, id 347 pengine/master.c pe_rsc_trace(rsc, "LHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, id 350 pengine/master.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, id 382 pengine/master.c pe_rsc_trace(rsc, "%s: %d", child->id, child->sort_index); id 385 pengine/master.c node = (node_t *) pe_hash_table_lookup(rsc->allowed_nodes, chosen->details->id); id 390 pengine/master.c pe_rsc_trace(rsc, "Set sort index: %s = %d", child->id, child->sort_index); id 401 pengine/master.c char *key = clone_strip(rsc->id); id 413 pengine/master.c pe_rsc_trace(rsc, "Found %s for %s active on %s: done", active->id, key, node->details->uname); id 417 pengine/master.c pe_rsc_trace(rsc, "Found %s for %s on %s: not %s", active->id, key, node->details->uname, rsc->id); id 439 pengine/master.c pe_rsc_trace(rsc, "Checking %s for %s on %s", rsc->id, key, node->details->uname); id 440 pengine/master.c if (g_hash_table_lookup(rsc->known_on, node->details->id)) { id 467 pengine/master.c char *name = rsc->id; id 491 pengine/master.c pe_rsc_trace(rsc, "Anonymous clone %s is allowed on %s", rsc->id, node->details->uname); id 500 pengine/master.c node_t *known = pe_hash_table_lookup(rsc->known_on, node->details->id); id 502 pengine/master.c match = pe_find_node_id(rsc->running_on, node->details->id); id 505 pengine/master.c rsc->id, rsc->clone_name, node->details->uname); id 510 pengine/master.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 516 pengine/master.c rsc->id, match->details->uname, match->weight); id 536 pengine/master.c name = clone_strip(rsc->id); id 537 pengine/master.c if (strcmp(rsc->id, name)) { id 588 pengine/master.c child_rsc->id, node->details->uname, node->weight, new_score); id 596 pengine/master.c child_rsc->id, child_rsc->priority, new_score); id 673 pengine/master.c pe_rsc_debug(rsc, "Dependency loop detected involving %s", rsc->id); id 696 pengine/master.c pe_rsc_trace(rsc, "Assigning priority for %s: %s", child_rsc->id, id 705 pengine/master.c crm_config_err("Cannot promote non-colocated child %s", child_rsc->id); id 738 pengine/master.c crm_err("Unknown resource role: %d for %s", next_role, child_rsc->id)); id 751 pengine/master.c pe_rsc_trace(rsc, "Assigning priority for %s: %d", child_rsc->id, child_rsc->priority); id 771 pengine/master.c child_rsc->id, id 777 pengine/master.c child_rsc->id, chosen ? chosen->details->uname : "none", score); id 785 pengine/master.c pe_rsc_trace(rsc, "Not supposed to promote child: %s", child_rsc->id); id 791 pengine/master.c pe_rsc_debug(rsc, "%s master score: %d", child_rsc->id, child_rsc->priority); id 801 pengine/master.c child_rsc->id, role2text(child_rsc->role), role2text(child_rsc->next_role)); id 808 pengine/master.c child_rsc->id, role2text(child_rsc->role), chosen->details->uname); id 815 pengine/master.c rsc->id, promoted, clone_data->master_max); id 838 pengine/master.c pe_rsc_debug(rsc, "Creating actions for %s", rsc->id); id 848 pengine/master.c pe_rsc_trace(rsc, "Creating actions for %s", child_rsc->id); id 854 pengine/master.c pe_rsc_trace(rsc, "Created actions for %s: %d %d", child_rsc->id, child_promoting, id 999 pengine/master.c pe_rsc_trace(rsc_rh, "Handling %s as a clone colocation", constraint->id); id 1006 pengine/master.c pe_rsc_trace(rsc_rh, "Processing constraint %s: %d", constraint->id, constraint->score); id 1025 pengine/master.c pe_rsc_trace(rsc_rh, "Processing: %s", child_rsc->id); id 1027 pengine/master.c pe_rsc_trace(rsc_rh, "Applying: %s %s %s %d", child_rsc->id, id 1051 pengine/master.c pe_rsc_trace(rsc_lh, "%s can't be promoted %s", rsc_lh->id, constraint->id); id 1057 pengine/master.c pe_rsc_debug(rsc_lh, "Applying %s to %s", constraint->id, rsc_lh->id); id 1058 pengine/master.c pe_rsc_debug(rsc_lh, "\t%s: %d->%d", rsc_lh->id, rsc_lh->priority, new_priority); id 112 pengine/native.c chosen = g_hash_table_lookup(rsc->allowed_nodes, prefer->details->id); id 116 pengine/native.c prefer->details->uname, rsc->id); id 126 pengine/native.c chosen->details->uname, rsc->id); id 131 pengine/native.c chosen->details->uname, rsc->id); id 137 pengine/native.c chosen->details->uname, rsc->id, length); id 148 pengine/native.c chosen ? chosen->details->uname : "<none>", rsc->id, length); id 165 pengine/native.c rsc->id, running->details->uname); id 191 pengine/native.c chosen->details->uname, rsc->id, multiple, score); id 326 pengine/native.c pe_rsc_info(rsc, "%s: Breaking dependency loop at %s", rhs, rsc->id); id 340 pengine/native.c pe_rsc_trace(rsc, "Merging %s as a group %p %p", rsc->id, rsc->children, last); id 351 pengine/native.c pe_rsc_trace(rsc, "%s: Combining scores from %d children of %s", rhs, g_list_length(iter), rsc->id); id 358 pengine/native.c pe_rsc_trace(rsc, "%s: Combining scores from %s", rhs, rsc->id); id 365 pengine/native.c pe_rsc_info(rsc, "%s: Rolling back scores from %s", rhs, rsc->id); id 387 pengine/native.c g_list_length(gIter), ((resource_t*)last->data)->id); id 391 pengine/native.c crm_trace("Checking %d additional optional colocation constraints %s", g_list_length(gIter), rsc->id); id 404 pengine/native.c pe_rsc_trace(rsc, "Applying %s (%s)", constraint->id, other->id); id 440 pengine/native.c pe_rsc_debug(rsc, "Escalating allocation of %s to its parent: %s", rsc->id, id 441 pengine/native.c rsc->parent->id); id 450 pengine/native.c pe_rsc_debug(rsc, "Dependency loop detected involving %s", rsc->id); id 465 pengine/native.c rsc->id, constraint->id, rsc_rh->id, id 474 pengine/native.c pe_rsc_info(rsc, "%s: Rolling back scores from %s", rsc->id, rsc_rh->id); id 490 pengine/native.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, id 498 pengine/native.c pe_rsc_trace(rsc, "Making sure %s doesn't get allocated", rsc->id); id 506 pengine/native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role)); id 534 pengine/native.c pe_rsc_info(rsc, "Unmanaged resource %s allocated to %s: %s", rsc->id, id 539 pengine/native.c pe_rsc_debug(rsc, "Forcing %s to stop", rsc->id); id 544 pengine/native.c pe_rsc_trace(rsc, "Allocated resource %s to %s", rsc->id, id 549 pengine/native.c pe_rsc_info(rsc, "Resource %s cannot run anywhere", rsc->id); id 551 pengine/native.c pe_rsc_info(rsc, "Stopping orphan resource %s", rsc->id); id 555 pengine/native.c pe_rsc_debug(rsc, "Pre-Allocated resource %s to %s", rsc->id, id 563 pengine/native.c node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); id 568 pengine/native.c remote_node->details->id); id 578 pengine/native.c remote_node->details->id, role2text(rsc->next_role), id 591 pengine/native.c const char *id = NULL; id 613 pengine/native.c if (id == NULL) { id 614 pengine/native.c id = ID(operation); id 617 pengine/native.c crm_config_err("Operation %s is a duplicate of %s", ID(operation), id); id 651 pengine/native.c ID(operation), rsc->id, role2text(rsc->next_role), id 679 pengine/native.c key = generate_op_key(rsc->id, name, interval_ms); id 791 pengine/native.c rsc->id, crm_str(node_uname)); id 866 pengine/native.c ID(operation), rsc->id, role2text(rsc->next_role)); id 893 pengine/native.c key = generate_op_key(rsc->id, name, interval_ms); id 950 pengine/native.c ID(operation), rsc->id, crm_str(stop_node_uname)); id 972 pengine/native.c char *probe_key = generate_op_key(rsc->id, CRMD_ACTION_STATUS, 0); id 1040 pengine/native.c interval_ms / 1000, rsc->id, crm_str(stop_node_uname)); id 1073 pengine/native.c rsc->id, current->details->id, chosen->details->id, partial ? "TRUE" : "FALSE"); id 1078 pengine/native.c migrate_to = custom_action(rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), RSC_MIGRATE, current, TRUE, TRUE, data_set); id 1081 pengine/native.c migrate_from = custom_action(rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), RSC_MIGRATED, chosen, TRUE, TRUE, data_set); id 1095 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STATUS, 0), NULL, id 1096 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, pe_order_optional, data_set); id 1103 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STATUS, 0), NULL, id 1104 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), NULL, pe_order_optional, data_set); id 1105 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), NULL, id 1106 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, pe_order_optional | pe_order_implies_first_migratable, data_set); id 1109 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, id 1110 pengine/native.c rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, pe_order_optional | pe_order_implies_first_migratable, data_set); id 1111 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, id 1112 pengine/native.c rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, pe_order_optional | pe_order_implies_first_migratable | pe_order_pseudo_left, data_set); id 1166 pengine/native.c pe_rsc_trace(rsc, "Processing state transition for %s %p: %s->%s", rsc->id, rsc, id 1188 pengine/native.c pe_rsc_trace(rsc, "Forcing a cleanup of %s on %s", rsc->id, current->details->uname); id 1208 pengine/native.c rsc->partial_migration_target->details->id, id 1209 pengine/native.c rsc->partial_migration_source->details->id); id 1215 pengine/native.c crm_notice("Resource %s can no longer migrate to %s. Stopping on %s too", rsc->id, id 1221 pengine/native.c rsc->id, class, type, num_active_nodes, recovery2text(rsc->recovery_type)); id 1244 pengine/native.c pe_rsc_trace(rsc, "Moving %s", rsc->id); id 1249 pengine/native.c pe_rsc_trace(rsc, "Recovering %s", rsc->id); id 1253 pengine/native.c pe_rsc_trace(rsc, "Block %s", rsc->id); id 1260 pengine/native.c pe_rsc_trace(rsc, "Forced start %s", rsc->id); id 1265 pengine/native.c pe_rsc_trace(rsc, "Creating actions for %s: %s->%s", rsc->id, id 1275 pengine/native.c rsc->id, need_stop ? " required" : ""); id 1286 pengine/native.c rsc->id, need_stop ? " required" : ""); id 1297 pengine/native.c pe_rsc_trace(rsc, "Role: Executing: %s->%s = (%s on %s)", role2text(role), role2text(next_role), rsc->id, chosen?chosen->details->uname:"NA"); id 1321 pengine/native.c pe_rsc_trace(rsc, "Not allowing partial migration to continue. %s", rsc->id); id 1361 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, id 1362 pengine/native.c rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, type, data_set); id 1365 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_DEMOTE, 0), NULL, id 1366 pengine/native.c rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, id 1369 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, id 1370 pengine/native.c rsc, generate_op_key(rsc->id, RSC_PROMOTE, 0), NULL, id 1386 pengine/native.c rsc->id, unfence->uuid); id 1415 pengine/native.c pe_rsc_trace(rsc, "Skipping fencing constraints for unmanaged resource: %s", rsc->id); id 1434 pengine/native.c rsc->id, data_set->placement_strategy); id 1465 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), NULL, id 1509 pengine/native.c rsc->id, rsc->container->id); id 1511 pengine/native.c custom_action_order(rsc->container, generate_op_key(rsc->container->id, RSC_START, 0), NULL, id 1512 pengine/native.c rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, id 1515 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, id 1516 pengine/native.c rsc->container, generate_op_key(rsc->container->id, RSC_STOP, 0), NULL, id 1549 pengine/native.c pe_err("rsc_lh was NULL for %s", constraint->id); id 1553 pengine/native.c pe_err("rsc_rh was NULL for %s", constraint->id); id 1557 pengine/native.c pe_rsc_trace(rsc_lh, "Processing colocation constraint between %s and %s", rsc_lh->id, id 1558 pengine/native.c rsc_rh->id); id 1600 pengine/native.c rsc_lh->id, rsc_rh->id, id 1606 pengine/native.c rsc_lh->id, rsc_rh->id, details_rh ? details_rh->uname : "n/a"); id 1714 pengine/native.c pe_rsc_trace(rsc_lh, "%s: %s.%s += %d", constraint->id, rsc_lh->id, id 1720 pengine/native.c pe_rsc_trace(rsc_lh, "%s: %s.%s -= %d (%s)", constraint->id, rsc_lh->id, id 1739 pengine/native.c rsc_lh->id, rsc_rh->id, do_check, score); id 1757 pengine/native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results); id 1766 pengine/native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score); id 1796 pengine/native.c pe_err("rsc_lh was NULL for %s", rsc_ticket->id); id 1807 pengine/native.c pe_rsc_trace(rsc_lh, "Processing ticket dependencies from %s", rsc_lh->id); id 1818 pengine/native.c rsc_lh->id, rsc_ticket->ticket->id, rsc_ticket->id, id 2080 pengine/native.c pe_err("LHS of rsc_to_node (%s) is NULL", constraint->id); id 2084 pengine/native.c pe_rsc_trace(rsc, "Applying %s (%s) to %s", constraint->id, id 2085 pengine/native.c role2text(constraint->role_filter), rsc->id); id 2090 pengine/native.c constraint->id, role2text(constraint->role_filter), role2text(rsc->next_role)); id 2094 pengine/native.c pe_rsc_trace(rsc, "Constraint (%s) is not active", constraint->id); id 2099 pengine/native.c pe_rsc_trace(rsc, "RHS of constraint %s is NULL", constraint->id); id 2107 pengine/native.c other_node = (node_t *) pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 2119 pengine/native.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) other_node->details->id, other_node); id 2133 pengine/native.c pe_rsc_trace(rsc, "%s + %s : %d", rsc->id, node->details->uname, node->weight); id 2143 pengine/native.c pe_rsc_trace(rsc, "Processing actions from %s", rsc->id); id 2148 pengine/native.c crm_trace("processing action %d for rsc=%s", action->id, rsc->id); id 2175 pengine/native.c crm_err("%s:%d: No stop action exists for %s", __FUNCTION__, lineno, rsc->id); \ id 2202 pengine/native.c len = strlen(rsc->id); id 2275 pengine/native.c printf(" * %-8s %-*s ( %*s ) %s\n", change, rsc_width, rsc->id, detail_width, details, reason); id 2277 pengine/native.c crm_notice(" * %-8s %-*s ( %*s ) %s", change, rsc_width, rsc->id, detail_width, details, reason); id 2341 pengine/native.c rsc->id, role2text(rsc->role), is_not_set(rsc->flags, id 2346 pengine/native.c if (current != NULL && next != NULL && safe_str_neq(current->details->id, next->details->id)) { id 2389 pengine/native.c key = generate_op_key(rsc->id, RSC_MIGRATED, 0); id 2406 pengine/native.c pe_rsc_info(rsc, "Leave %s\t(%s %s)", rsc->id, role2text(rsc->role), id 2493 pengine/native.c pe_rsc_trace(rsc, "%s", rsc->id); id 2502 pengine/native.c next->details->uname, rsc->id); id 2505 pengine/native.c pe_rsc_trace(rsc, "Forced on %s %s", current->details->uname, rsc->id); id 2510 pengine/native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, current->details->uname); id 2531 pengine/native.c pe_proc_err("Stopping %s until %s can be unfenced", rsc->id, current->details->uname); id 2545 pengine/native.c pe_rsc_trace(rsc, "%s on %s %d %d", rsc->id, next ? next->details->uname : "N/A", optional, next ? next->weight : 0); id 2555 pengine/native.c char *reason = crm_strdup_printf("Required by %s", rsc->id); id 2579 pengine/native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, next->details->uname); id 2599 pengine/native.c pe_rsc_debug(rsc, "%s\tPromote %s (canceled)", next->details->uname, rsc->id); id 2621 pengine/native.c pe_rsc_trace(rsc, "%s", rsc->id); id 2627 pengine/native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, next ? next->details->uname : "N/A"); id 2637 pengine/native.c crm_err("%s on %s", rsc->id, next ? next->details->uname : "N/A"); id 2646 pengine/native.c pe_rsc_trace(rsc, "%s", rsc->id); id 2654 pengine/native.c pe_rsc_trace(rsc, "Resource %s not deleted from %s: failed", rsc->id, node->details->uname); id 2658 pengine/native.c pe_rsc_trace(rsc, "Resource %s not deleted: NULL node", rsc->id); id 2662 pengine/native.c pe_rsc_trace(rsc, "Resource %s not deleted from %s: unrunnable", rsc->id, id 2667 pengine/native.c crm_notice("Removing %s from %s", rsc->id, node->details->uname); id 2776 pengine/native.c char *clone_id = clone_zero(rsc->id); id 2781 pengine/native.c running = pe_hash_table_lookup(peer->known_on, node->details->id); id 2784 pengine/native.c pe_rsc_trace(rsc, "Skipping active clone: %s", rsc->id); id 2818 pengine/native.c pe_rsc_trace(rsc, "Skipping active resource detection for %s", rsc->id); id 2828 pengine/native.c rsc->id, node->details->id); id 2833 pengine/native.c rsc->id, node->details->id); id 2838 pengine/native.c rsc->id, node->details->id); id 2857 pengine/native.c pe_rsc_trace(rsc, "Skipping %s: it is within container %s", rsc->id, rsc->container->id); id 2862 pengine/native.c pe_rsc_trace(rsc, "Skipping orphan: %s", rsc->id); id 2866 pengine/native.c running = g_hash_table_lookup(rsc->known_on, node->details->id); id 2870 pengine/native.c running = g_hash_table_lookup(rsc->parent->known_on, node->details->id); id 2880 pengine/native.c pe_rsc_trace(rsc, "Skipping known: %s on %s", rsc->id, node->details->uname); id 2884 pengine/native.c allowed = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); id 2889 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, A", rsc->id, node->details->id); id 2894 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, B", rsc->id, node->details->id); id 2905 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, C", rsc->id, node->details->id); id 2911 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, discovery mode", rsc->id, node->details->id); id 2935 pengine/native.c && g_hash_table_lookup(remote->known_on, remote->allocated_to->details->id) == NULL) { id 2942 pengine/native.c custom_action_order(remote, generate_op_key(remote->id, RSC_STATUS, 0), NULL, id 2943 pengine/native.c top, generate_op_key(top->id, RSC_START, 0), NULL, id 2947 pengine/native.c rsc->id, node->details->id, remote->id); id 2964 pengine/native.c custom_action_order(remote, generate_op_key(remote->id, RSC_STOP, 0), NULL, id 2965 pengine/native.c top, generate_op_key(top->id, RSC_START, 0), NULL, id 2968 pengine/native.c rsc->id, node->details->id, remote->id); id 2976 pengine/native.c key = generate_op_key(rsc->id, RSC_STATUS, 0); id 3002 pengine/native.c running = pe_find_node_id(rsc->running_on, node->details->id); id 3010 pengine/native.c crm_debug("Probing %s on %s (%s) %d %p", rsc->id, node->details->uname, role2text(rsc->role), id 3020 pengine/native.c crm_trace("Probing %s on %s (%s) as %s", rsc->id, node->details->uname, role2text(rsc->role), top->id); id 3031 pengine/native.c top, generate_op_key(top->id, RSC_START, 0), NULL, id 3074 pengine/native.c && NULL == pe_hash_table_lookup(rsc->known_on, target->details->id)) { id 3125 pengine/native.c rsc->id, target->details->uname); id 3226 pengine/native.c rsc->id, target->details->uname); id 3260 pengine/native.c pe_rsc_trace(rsc, "Skipping fencing constraints for unmanaged resource: %s", rsc->id); id 3294 pengine/native.c pe_rsc_trace(rsc, "%s: unmanaged", rsc->id); id 3298 pengine/native.c pe_rsc_trace(rsc, "%s: general resource state: flags=0x%.16llx", rsc->id, rsc->flags); id 3303 pengine/native.c pe_rsc_trace(rsc, "%s: not active", rsc->id); id 3307 pengine/native.c pe_rsc_trace(rsc, "Processing %s", rsc->id); id 3347 pengine/native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); id 3416 pengine/native.c crm_xml_add(xml, name, iso_parent->id); id 3421 pengine/native.c crm_xml_add(xml, name, iso_parent->id); id 57 pengine/notif.c tmp = strcmp(entry_a->rsc->id, entry_b->rsc->id); id 72 pengine/notif.c return strcmp(entry_a->node->details->id, entry_b->node->details->id); id 188 pengine/notif.c rsc_id = entry->rsc->id; id 254 pengine/notif.c pe_rsc_trace(rsc, "Skipping notification for %s: node offline", rsc->id); id 264 pengine/notif.c pe_rsc_trace(rsc, "Creating notify actions for %s: %s (%s-%s)", op->uuid, rsc->id, value, task); id 266 pengine/notif.c key = generate_notify_key(rsc->id, value, task); id 273 pengine/notif.c pe_rsc_trace(rsc, "Ordering %s before %s (%d->%d)", op->uuid, trigger->uuid, trigger->id, id 274 pengine/notif.c op->id); id 344 pengine/notif.c key = generate_notify_key(rsc->id, "pre", start->task); id 359 pengine/notif.c key = generate_notify_key(rsc->id, "confirmed-pre", start->task); id 379 pengine/notif.c key = generate_notify_key(rsc->id, "post", end->task); id 399 pengine/notif.c key = generate_notify_key(rsc->id, "confirmed-post", end->task); id 465 pengine/notif.c pe_rsc_trace(rsc, "%s state: %s", rsc->id, role2text(rsc->role)); id 680 pengine/notif.c n_data->action, rsc->id, role2text(rsc->role), role2text(rsc->next_role)); id 715 pengine/notif.c rsc->id); id 757 pengine/notif.c strdup(rsc->id)); id 51 pengine/pengine.h const char *id; id 70 pengine/pengine.h const char *id; id 79 pengine/pengine.h char *id; id 88 pengine/pengine.h int id; id 394 pengine/ptest.c crm_trace("Action %d: %p", action->id, action); id 196 pengine/utilization.c orig_rsc->id, rsc->id); id 201 pengine/utilization.c orig_rsc->id, rsc->id); id 225 pengine/utilization.c orig_rsc->id, child->id); id 238 pengine/utilization.c orig_rsc->id, ID(first_child->xml)); id 263 pengine/utilization.c pe_rsc_trace(rsc, "%s: Processing unallocated colocated %s", rsc->id, listed_rsc->id); id 284 pengine/utilization.c crm_trace("%s: %s is supposed to be colocated with %s", orig_rsc->id, rsc->id, orig_rsc->id); id 353 pengine/utilization.c char *rscs_id = crm_concat(rsc->id, "and its colocated resources", ' '); id 386 pengine/utilization.c rsc->id, node->details->uname); id 410 pengine/utilization.c if (have_enough_capacity(node, rsc->id, rsc->utilization) == FALSE) { id 414 pengine/utilization.c rsc->id, node->details->uname); id 54 pengine/utils.c free(cons->id); id 63 pengine/utils.c rsc2node_new(const char *id, resource_t * rsc, id 69 pengine/utils.c if (rsc == NULL || id == NULL) { id 70 pengine/utils.c pe_err("Invalid constraint %s for rsc=%p", crm_str(id), rsc); id 79 pengine/utils.c new_con->id = strdup(id); id 234 pengine/utils.c crm_info("Deallocating %s from %s", rsc->id, old->details->uname); id 265 pengine/utils.c rsc->id, chosen->details->uname, can_run_resources(chosen), chosen->weight); id 282 pengine/utils.c crm_debug("Could not allocate a node for %s", rsc->id); id 312 pengine/utils.c crm_debug("Assigning %s to %s", chosen->details->uname, rsc->id); id 341 pengine/utils.c node_uuid = action->node->details->id; id 359 pengine/utils.c ? "" : "(Provisional) " : "!!Non-Startable!! ", action->id, id 374 pengine/utils.c ? "" : "(Provisional) " : "!!Non-Startable!! ", action->id, id 375 pengine/utils.c action->uuid, action->rsc ? action->rsc->id : "<none>", id 435 pengine/utils.c pe_action_t *action = custom_action(rsc, generate_op_key(rsc->id, task, 0), task, NULL, optional, TRUE, data_set); id 26 pengine/utils.h extern rsc_to_node_t *rsc2node_new(const char *id, resource_t * rsc, int weight, id 33 pengine/utils.h extern gboolean rsc_colocation_new(const char *id, const char *node_attr, int score, id 38 pengine/utils.h extern gboolean rsc_ticket_new(const char *id, resource_t * rsc_lh, ticket_t * ticket, id 180 tools/cibadmin.c const char *id = crm_element_value(xml, XML_ATTR_ID); id 189 tools/cibadmin.c } else if (id) { id 190 tools/cibadmin.c printf("%s\n", id); id 1844 tools/crm_mon.c print_as("* %s:\t%s%s", ticket->id, id 1851 tools/crm_mon.c fprintf(stream, " <li>%s: %s%s", ticket->id, id 1858 tools/crm_mon.c ticket->id, (ticket->granted? "granted" : "revoked"), id 1973 tools/crm_mon.c if (print_clone_detail && safe_str_neq(node->details->uname, node->details->id)) { id 1974 tools/crm_mon.c node_id = node->details->id; id 2019 tools/crm_mon.c location->id, location->rsc_lh->id, id 2028 tools/crm_mon.c location->id, location->rsc_lh->id, id 2036 tools/crm_mon.c location->id, location->rsc_lh->id, node->details->uname, node->weight, id 2080 tools/crm_mon.c if (!g_str_has_prefix(location->id, print_neg_location_prefix)) id 2111 tools/crm_mon.c crm_trace("Beekhof: unpacked params for %s (%d)", rsc->id, g_hash_table_size(rsc->parameters)); id 2443 tools/crm_mon.c (dc_version_s? dc_version_s : ""), dc->details->uname, dc->details->id, id 3126 tools/crm_mon.c fprintf(stream, "id=\"%s\" ", node->details->id); id 3139 tools/crm_mon.c fprintf(stream, "id_as_resource=\"%s\" ", node->details->remote_rsc->container->id); id 3805 tools/crm_mon.c const char *id = NULL; id 3822 tools/crm_mon.c id = crm_element_value(rsc_op, XML_LRM_ATTR_TASK_KEY); id 3823 tools/crm_mon.c if (id == NULL) { id 3825 tools/crm_mon.c id = ID(rsc_op); id 3836 tools/crm_mon.c crm_err("Invalid event %s detected for %s", magic, id); id 3840 tools/crm_mon.c if (parse_op_key(id, &rsc, &task, &interval) == FALSE) { id 3841 tools/crm_mon.c crm_err("Invalid event detected for %s", id); id 3864 tools/crm_mon.c crm_err("No node detected for event %s (%s)", magic, id); id 4195 tools/crm_mon.c e->id); id 89 tools/crm_node.c cib_remove_node(uint32_t id, const char *name) id 98 tools/crm_node.c if(name == NULL && id == 0) { id 107 tools/crm_node.c if(id) { id 108 tools/crm_node.c crm_xml_set_id(node, "%u", id); id 117 tools/crm_node.c printf("Could not remove %s/%u from " XML_CIB_TAG_NODES ": %s", name, id, pcmk_strerror(rc)); id 121 tools/crm_node.c printf("Could not remove %s/%u from " XML_CIB_TAG_STATUS ": %s", name, id, pcmk_strerror(rc)); id 254 tools/crm_node.c crm_element_value_int(node, "id", (int*)&peer->id); id 260 tools/crm_node.c fprintf(stdout, "%u %s %s\n", peer->id, peer->uname, peer->state?peer->state:""); id 269 tools/crm_node.c fprintf(stdout, "%u ", peer->id); id 726 tools/crm_node.c fprintf(stdout, "%u %s %s\n", node->id, node->uname, node->state); id 929 tools/crm_resource.c fprintf(stdout, "* %s\n", rsc->id); id 1122 tools/crm_resource.c task, rsc->id, resource_name, node); id 1142 tools/crm_resource.c rsc->id, rsc_id, host_uname); id 34 tools/crm_resource_print.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); id 36 tools/crm_resource_print.c if (id == NULL) { id 100 tools/crm_resource_print.c crm_element_name(rsc->xml), rsc->id, id 101 tools/crm_resource_print.c rsc->clone_name ? rsc->clone_name : rsc->id, rsc->parent ? rsc->parent->id : "NA", id 120 tools/crm_resource_print.c printf("%s\n", rsc->id); id 227 tools/crm_resource_print.c prefix ? prefix : " ", 71 - offset, node->details->uname, score, cons->id); id 249 tools/crm_resource_print.c printf("loop %s\n", rsc->id); id 267 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (id=%s - loop)\n", prefix, 80 - (4 * offset), peer->id, id 268 tools/crm_resource_print.c cons->id); id 280 tools/crm_resource_print.c peer->id, score, dependents ? "needs" : "with", role2text(cons->role_rh), id 281 tools/crm_resource_print.c cons->id); id 284 tools/crm_resource_print.c peer->id, score, cons->id); id 327 tools/crm_resource_print.c " returning the default value for %s", rsc->id, crm_str(attr)); id 345 tools/crm_resource_print.c crm_debug("Looking up %s in %s", attr, rsc->id); id 352 tools/crm_resource_print.c CMD_ERR("Attribute '%s' not found for '%s'", attr, rsc->id); id 75 tools/crm_resource_runtime.c && safe_str_neq(requested_name, rsc->id)) { id 182 tools/crm_resource_runtime.c printf("Performing %s of '%s' for '%s' will not apply to its peers in '%s'\n", cmd, attr_name, rsc_id, rsc->parent->id); id 194 tools/crm_resource_runtime.c printf("Performing %s of '%s' on '%s', the parent of '%s'\n", cmd, attr_name, rsc->id, rsc_id); id 203 tools/crm_resource_runtime.c printf("Forcing %s of '%s' for '%s' instead of '%s'\n", cmd, attr_name, rsc_id, rsc->parent->id); id 209 tools/crm_resource_runtime.c lookup_id = clone_strip(child->id); /* Could be a cloned group! */ id 249 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL)) { id 255 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, uber_parent(rsc)->id, id 260 tools/crm_resource_runtime.c uber_parent(rsc)->id, attr_name, local_attr_id); id 274 tools/crm_resource_runtime.c lookup_id = clone_strip(rsc->id); /* Could be a cloned group! */ id 372 tools/crm_resource_runtime.c crm_debug("Checking %s %d", cons->id, cons->score); id 375 tools/crm_resource_runtime.c crm_debug("Setting %s=%s for dependent resource %s", attr_name, attr_value, peer->id); id 376 tools/crm_resource_runtime.c cli_resource_update_attribute(peer, peer->id, NULL, NULL, id 401 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) != pcmk_ok) { id 410 tools/crm_resource_runtime.c lookup_id = clone_strip(rsc->id); id 499 tools/crm_resource_runtime.c crm_xml_add(xml_rsc, XML_ATTR_ID_LONG, rsc->id); id 502 tools/crm_resource_runtime.c crm_xml_add(xml_rsc, XML_ATTR_ID, rsc->id); id 556 tools/crm_resource_runtime.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); id 627 tools/crm_resource_runtime.c rsc->id, host_uname); id 633 tools/crm_resource_runtime.c rsc->id, host_uname); id 639 tools/crm_resource_runtime.c rsc->id, host_uname); id 648 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(crmd_channel, CRM_OP_LRM_DELETE, host_uname, rsc->id, id 652 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_strerror(rc)); id 675 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_strerror(rc)); id 677 tools/crm_resource_runtime.c printf("Cleaned up %s on %s\n", rsc->id, host_uname); id 692 tools/crm_resource_runtime.c find_resource_attr(cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, id 695 tools/crm_resource_runtime.c find_resource_attr(cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, id 704 tools/crm_resource_runtime.c printf("\n * The configuration specifies that '%s' should remain stopped\n", parent->id); id 708 tools/crm_resource_runtime.c printf("\n * The configuration specifies that '%s' should not be promoted\n", parent->id); id 714 tools/crm_resource_runtime.c printf("%s * The configuration prevents the cluster from stopping or starting '%s' (unmanaged)\n", need_nl == 0?"\n":"", parent->id); id 793 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); id 795 tools/crm_resource_runtime.c } else if(strcmp(host, node->details->id) == 0) { id 796 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); id 802 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); id 806 tools/crm_resource_runtime.c crm_trace("Resource %s is not running\n", rsc->id); id 842 tools/crm_resource_runtime.c active = g_list_append(active, strdup(rsc->id)); id 1020 tools/crm_resource_runtime.c crm_trace("Calculated new delay of %.1fs due to %s", seconds, child->id); id 1026 tools/crm_resource_runtime.c char *key = crm_strdup_printf("%s_%s_0", rsc->id, RSC_STOP); id 1052 tools/crm_resource_runtime.c crm_trace("Calculated new delay of %.1fs due to %s", seconds, rsc->id); id 1099 tools/crm_resource_runtime.c const char *id = rsc->clone_name?rsc->clone_name:rsc->id; id 1101 tools/crm_resource_runtime.c printf("%s is not running on %s and so cannot be restarted\n", id, host); id 1103 tools/crm_resource_runtime.c printf("%s is not running anywhere and so cannot be restarted\n", id); id 1111 tools/crm_resource_runtime.c rsc_id = strdup(rsc->id); id 1158 tools/crm_resource_runtime.c char *lookup_id = clone_strip(rsc->id); id 1390 tools/crm_resource_runtime.c fprintf(stderr, "\tAction %d: %s", a->id, a->uuid); id 1490 tools/crm_resource_runtime.c action, rsc->id); id 1528 tools/crm_resource_runtime.c rid = pe_rsc_is_anon_clone(rsc->parent)? requested_name : rsc->id; id 1558 tools/crm_resource_runtime.c rsc->id, name, value); id 1569 tools/crm_resource_runtime.c action, rsc->id, rclass, rprov ? rprov : "", rtype, id 1573 tools/crm_resource_runtime.c action, rsc->id, rclass, rprov ? rprov : "", rtype, id 1629 tools/crm_resource_runtime.c CMD_ERR("Using parent '%s' for --move command instead of '%s'.", rsc->id, rsc_id); id 1630 tools/crm_resource_runtime.c rsc_id = p->id; id 1698 tools/crm_resource_runtime.c rsc->id, scope_master?" (master)":"", dest->details->uname, do_force?"(forced)":""); id 1733 tools/crm_resource_runtime.c printf("Resource %s is not running\n", rsc->id); id 1735 tools/crm_resource_runtime.c printf("Resource %s is running\n", rsc->id); id 1750 tools/crm_resource_runtime.c printf("Resource %s is running on host %s\n",rsc->id,host_uname); id 1752 tools/crm_resource_runtime.c printf("Resource %s is not running on host %s\n", rsc->id, host_uname); id 1768 tools/crm_resource_runtime.c printf("Resource %s is running on host %s\n",rsc->id,host_uname); id 1775 tools/crm_resource_runtime.c rsc->id, host_uname); id 1791 tools/crm_resource_runtime.c printf("Resource %s is %srunning\n", rsc->id, (hosts? "" : "not ")); id 101 tools/crm_simulate.c node_name = crm_strdup_printf("%s:%s", node->details->uname, node->details->remote_rsc->container->id); id 164 tools/crm_simulate.c } else if (safe_str_eq(node->details->uname, node->details->id)) { id 167 tools/crm_simulate.c printf("Node %s (%s): %s\n", node_name, node->details->id, node_mode); id 269 tools/crm_simulate.c char *with_id = crm_strdup_printf("%s (%d)", action_name, action->id); id 296 tools/crm_simulate.c crm_trace("Action %d: %s %s %p", action->id, action_name, action->uuid, action); id 94 tools/crm_ticket.c fprintf(stdout, "%s\n", ticket->id); id 99 tools/crm_ticket.c ticket->id, ticket->granted ? "granted" : "revoked", id 85 tools/crmadmin.c char *id = NULL; id 723 tools/fake_transition.c printf("\tPretending action %d failed with rc=%d\n", action->id, op->rc); id 306 tools/ipmiservicelogd.c sl_event.id = 0; /* unique identifier - filled in by API call */ id 355 tools/ipmiservicelogd.c int id, instance; id 369 tools/ipmiservicelogd.c id = ipmi_entity_get_entity_id(ent); id 419 tools/ipmiservicelogd.c int id, instance; id 433 tools/ipmiservicelogd.c id = ipmi_entity_get_entity_id(ent); id 504 tools/ipmiservicelogd.c int id, instance; id 506 tools/ipmiservicelogd.c id = ipmi_entity_get_entity_id(entity);