container 793 daemons/controld/controld_execd.c const char *container = g_hash_table_lookup(entry->last->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); container 794 daemons/controld/controld_execd.c if (container) { container 795 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", entry->id, container); container 796 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_RSC_ATTR_CONTAINER, container); container 2478 daemons/controld/controld_execd.c const char *container = NULL; container 2495 daemons/controld/controld_execd.c container = g_hash_table_lookup(op->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); container 2497 daemons/controld/controld_execd.c if (container) { container 2498 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", op->rsc_id, container); container 2499 daemons/controld/controld_execd.c crm_xml_add(iter, XML_RSC_ATTR_CONTAINER, container); container 367 include/crm/pengine/pe_types.h pe_resource_t *container; container 1525 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = node->details->remote_rsc->container; container 1540 lib/pacemaker/pcmk_sched_allocate.c if (container) { container 1541 lib/pacemaker/pcmk_sched_allocate.c stop = find_first_action(container->actions, NULL, CRMD_ACTION_STOP, NULL); container 1543 lib/pacemaker/pcmk_sched_allocate.c if (find_first_action(container->actions, NULL, CRMD_ACTION_START, NULL)) { container 1572 lib/pacemaker/pcmk_sched_allocate.c container->id, stop->id); container 1941 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = NULL; container 1951 lib/pacemaker/pcmk_sched_allocate.c container = remote_rsc->container; container 1952 lib/pacemaker/pcmk_sched_allocate.c CRM_ASSERT(container); container 1954 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(container->flags, pe_rsc_failed)) { container 1962 lib/pacemaker/pcmk_sched_allocate.c pcmk_is_set(container->flags, pe_rsc_failed)? "failed " : "", container 1963 lib/pacemaker/pcmk_sched_allocate.c container->id); container 1976 lib/pacemaker/pcmk_sched_allocate.c order_start_then_action(container, action, pe_order_implies_then, container 1986 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(container->flags, pe_rsc_failed)) { container 2319 lib/pacemaker/pcmk_sched_allocate.c if (remote->container) { container 2410 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc && lh_rsc->container == rh_rsc) { container 3034 lib/pacemaker/pcmk_sched_allocate.c node_name = crm_strdup_printf("%s (resource: %s)", action->node->details->uname, action->node->details->remote_rsc->container->id); container 48 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_append(containers, replica->container); container 137 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; container 221 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 222 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, container 285 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); container 287 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, container 290 lib/pacemaker/pcmk_sched_bundle.c order_start_start(rsc, replica->container, container 297 lib/pacemaker/pcmk_sched_bundle.c order_stop_stop(rsc, replica->container, container 299 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_START, rsc, RSC_STARTED, container 301 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, rsc, RSC_STOPPED, container 308 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->ip, RSC_START, replica->container, RSC_START, container 310 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, replica->ip, RSC_STOP, container 314 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, data_set); container 381 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { container 383 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, container 385 lib/pacemaker/pcmk_sched_bundle.c return replica->container; container 520 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, container 521 lib/pacemaker/pcmk_sched_bundle.c replica->container, container 525 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, container 529 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { container 616 lib/pacemaker/pcmk_sched_bundle.c replica_for_container(pe_resource_t *rsc, pe_resource_t *container, container 628 lib/pacemaker/pcmk_sched_bundle.c && (container == replica->container) container 877 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 878 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_location(replica->container, container 913 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container container 949 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 950 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); container 984 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 985 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, container 1010 lib/pacemaker/pcmk_sched_bundle.c && (other->container != NULL)) { container 1012 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, container 1013 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), container 1014 lib/pacemaker/pcmk_sched_bundle.c NULL, other->container, container 1015 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(other->container->id, RSC_START, 0), container 1023 lib/pacemaker/pcmk_sched_bundle.c if (replica->container && replica->remote container 1042 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, container 1043 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), container 1074 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 1075 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->container, data_set, terminal); container 799 lib/pacemaker/pcmk_sched_graph.c && (action->node->details->remote_rsc->container == NULL) container 1283 lib/pacemaker/pcmk_sched_graph.c host = pe__current_node(action->node->details->remote_rsc->container); container 1290 lib/pacemaker/pcmk_sched_graph.c host = action->node->details->remote_rsc->container->allocated_to; container 1728 lib/pacemaker/pcmk_sched_graph.c && (input->action->node->details->remote_rsc->container == action->rsc)) { container 1536 lib/pacemaker/pcmk_sched_native.c if (check_unfencing || check_utilization || rsc->container) { container 1622 lib/pacemaker/pcmk_sched_native.c if (rsc->container) { container 1633 lib/pacemaker/pcmk_sched_native.c rsc_avoids_remote_nodes(rsc->container); container 1642 lib/pacemaker/pcmk_sched_native.c new_rsc_order(rsc->container, RSC_STATUS, rsc, RSC_STOP, container 1652 lib/pacemaker/pcmk_sched_native.c } else if (rsc->container->is_remote_node) { container 1653 lib/pacemaker/pcmk_sched_native.c remote_rsc = rsc->container; container 1656 lib/pacemaker/pcmk_sched_native.c rsc->container); container 1679 lib/pacemaker/pcmk_sched_native.c rsc->id, rsc->container->id); container 1681 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc->container, container 1682 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->container->id, RSC_START, 0), container 1689 lib/pacemaker/pcmk_sched_native.c rsc->container, container 1690 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->container->id, RSC_STOP, 0), container 1699 lib/pacemaker/pcmk_sched_native.c rsc->container, NULL, NULL, data_set); container 2973 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->container) && (!rsc->is_remote_node)) { container 2974 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Skipping %s: it is within container %s", rsc->id, rsc->container->id); container 3021 lib/pacemaker/pcmk_sched_native.c pe_resource_t *remote = node->details->remote_rsc->container; container 3491 lib/pacemaker/pcmk_sched_native.c if (parent->container) { container 3492 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); container 101 lib/pacemaker/pcmk_sched_notif.c && node->details->remote_rsc->container container 102 lib/pacemaker/pcmk_sched_notif.c && node->details->remote_rsc->container->running_on) { container 103 lib/pacemaker/pcmk_sched_notif.c node = pe__current_node(node->details->remote_rsc->container); container 156 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *guest = guest_node->details->remote_rsc->container; container 217 lib/pacemaker/pcmk_sched_promotable.c rsc->id, node->details->remote_rsc->container->id); container 255 lib/pacemaker/pcmk_sched_transition.c xmlNode *container = NULL; container 306 lib/pacemaker/pcmk_sched_transition.c container = first_named_child(lrm, XML_LRM_TAG_RESOURCES); container 307 lib/pacemaker/pcmk_sched_transition.c if (container == NULL) { container 308 lib/pacemaker/pcmk_sched_transition.c container = create_xml_node(lrm, XML_LRM_TAG_RESOURCES); container 311 lib/pacemaker/pcmk_sched_transition.c cib_resource = create_xml_node(container, XML_LRM_TAG_RESOURCE); container 329 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { container 332 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 497 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, container 501 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 669 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { container 672 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 739 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, container 823 lib/pengine/bundle.c replica->remote->container = replica->container; container 1003 lib/pengine/bundle.c node = replica->container->allocated_to; container 1008 lib/pengine/bundle.c node = pe__current_node(replica->container); container 1389 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); container 1495 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); container 1535 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1543 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1579 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), options, container 1580 lib/pengine/bundle.c replica->container, only_node, only_rsc); container 1608 lib/pengine/bundle.c rsc = replica->container; container 1616 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1657 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1665 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1710 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), container 1711 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); container 1729 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), container 1750 lib/pengine/bundle.c rsc = replica->container; container 1758 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1798 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1806 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1843 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), container 1844 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); container 1862 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), container 1882 lib/pengine/bundle.c rsc = replica->container; container 1890 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1897 lib/pengine/bundle.c node = pe__current_node(replica->container); container 1948 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); container 1987 lib/pengine/bundle.c if (replica->container) { container 1988 lib/pengine/bundle.c free_xml(replica->container->xml); container 1989 lib/pengine/bundle.c replica->container->xml = NULL; container 1990 lib/pengine/bundle.c replica->container->fns->free(replica->container); container 1991 lib/pengine/bundle.c replica->container = NULL; container 2079 lib/pengine/bundle.c if (replica->container) { container 2080 lib/pengine/bundle.c replica->container->fns->count(replica->container); container 2108 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { container 615 lib/pengine/common.c CRM_ASSERT(node->details->remote_rsc->container); container 617 lib/pengine/common.c if(node->details->remote_rsc->container->running_on) { container 618 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; container 624 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); container 64 lib/pengine/native.c && node->details->remote_rsc->container) { container 65 lib/pengine/native.c GListPtr gIter = node->details->remote_rsc->container->running_on; container 1207 lib/pengine/pe_output.c (pcmkXmlStr) node->details->remote_rsc->container->id); container 29 lib/pengine/remote.c || (node->details->remote_rsc->container == NULL)); container 37 lib/pengine/remote.c && (node->details->remote_rsc->container != NULL); container 132 lib/pengine/remote.c if (rsc->is_remote_node && (rsc->container != NULL)) { container 78 lib/pengine/unpack.c node->details->remote_rsc->container == NULL && container 104 lib/pengine/unpack.c pe_resource_t *rsc = node->details->remote_rsc->container; container 623 lib/pengine/unpack.c pe_resource_t *container = pe_find_resource(data_set->resources, container_id); container 625 lib/pengine/unpack.c if (container) { container 626 lib/pengine/unpack.c rsc->container = container; container 627 lib/pengine/unpack.c pe__set_resource_flags(container, pe_rsc_is_container); container 628 lib/pengine/unpack.c container->fillers = g_list_append(container->fillers, rsc); container 734 lib/pengine/unpack.c if (new_rsc->container == NULL) { container 1079 lib/pengine/unpack.c && rsc->container->role == RSC_ROLE_STARTED) { container 1084 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); container 1233 lib/pengine/unpack.c pe_resource_t *container = item->data; container 1234 lib/pengine/unpack.c pe_node_t *node = pe__current_node(container); container 1237 lib/pengine/unpack.c stop_action(container, node, FALSE); container 1397 lib/pengine/unpack.c pe_resource_t *container = NULL; container 1409 lib/pengine/unpack.c container = rsc->container; container 1411 lib/pengine/unpack.c if (container && pcmk__list_of_1(rsc->running_on)) { container 1418 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1425 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1430 lib/pengine/unpack.c if(container && pcmk_is_set(container->flags, pe_rsc_failed)) { container 1438 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1442 lib/pengine/unpack.c || (container && container->role == RSC_ROLE_STOPPED)) { container 1445 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 2027 lib/pengine/unpack.c if (rsc->container && pe_rsc_is_bundled(rsc)) { container 2034 lib/pengine/unpack.c rsc->container); container 2035 lib/pengine/unpack.c } else if (rsc->container) { container 2036 lib/pengine/unpack.c stop_action(rsc->container, node, FALSE); container 2377 lib/pengine/unpack.c pe_resource_t *container; container 2391 lib/pengine/unpack.c container = pe_find_resource(data_set->resources, container_id); container 2392 lib/pengine/unpack.c if (container == NULL) { container 2399 lib/pengine/unpack.c rsc->container != NULL) { container 2405 lib/pengine/unpack.c rsc->container = container; container 2406 lib/pengine/unpack.c container->fillers = g_list_append(container->fillers, rsc); container 26 lib/pengine/utils.c static void unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, container 93 lib/pengine/utils.c pe_resource_t *rsc = node->details->remote_rsc->container; container 555 lib/pengine/utils.c unpack_operation(action, action->op_entry, rsc->container, data_set, container 992 lib/pengine/utils.c unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, container 1184 lib/pengine/utils.c if (container) { container 1202 lib/pengine/utils.c if (value == NULL && container) { container 50 lib/pengine/variant.h pe_resource_t *container; container 409 tools/crm_simulate.c node_name = crm_strdup_printf("%s:%s", node->details->uname, node->details->remote_rsc->container->id);