container 790 daemons/controld/controld_execd.c const char *container = g_hash_table_lookup(entry->last->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); container 791 daemons/controld/controld_execd.c if (container) { container 792 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", entry->id, container); container 793 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_RSC_ATTR_CONTAINER, container); container 2481 daemons/controld/controld_execd.c const char *container = NULL; container 2498 daemons/controld/controld_execd.c container = g_hash_table_lookup(op->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); container 2500 daemons/controld/controld_execd.c if (container) { container 2501 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", op->rsc_id, container); container 2502 daemons/controld/controld_execd.c crm_xml_add(iter, XML_RSC_ATTR_CONTAINER, container); container 379 include/crm/pengine/pe_types.h pe_resource_t *container; container 1536 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = node->details->remote_rsc->container; container 1551 lib/pacemaker/pcmk_sched_allocate.c if (container) { container 1552 lib/pacemaker/pcmk_sched_allocate.c stop = find_first_action(container->actions, NULL, CRMD_ACTION_STOP, NULL); container 1554 lib/pacemaker/pcmk_sched_allocate.c if (find_first_action(container->actions, NULL, CRMD_ACTION_START, NULL)) { container 1583 lib/pacemaker/pcmk_sched_allocate.c container->id, stop->id); container 1953 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = NULL; container 1963 lib/pacemaker/pcmk_sched_allocate.c container = remote_rsc->container; container 1964 lib/pacemaker/pcmk_sched_allocate.c CRM_ASSERT(container); container 1966 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(container->flags, pe_rsc_failed)) { container 1974 lib/pacemaker/pcmk_sched_allocate.c pcmk_is_set(container->flags, pe_rsc_failed)? "failed " : "", container 1975 lib/pacemaker/pcmk_sched_allocate.c container->id); container 1988 lib/pacemaker/pcmk_sched_allocate.c order_start_then_action(container, action, pe_order_implies_then, container 1998 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(container->flags, pe_rsc_failed)) { container 2331 lib/pacemaker/pcmk_sched_allocate.c if (remote->container) { container 2422 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc && lh_rsc->container == rh_rsc) { container 3075 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 50 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_append(containers, replica->container); container 140 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; container 224 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 225 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, container 288 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); container 290 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, container 293 lib/pacemaker/pcmk_sched_bundle.c order_start_start(rsc, replica->container, container 300 lib/pacemaker/pcmk_sched_bundle.c order_stop_stop(rsc, replica->container, container 302 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_START, rsc, RSC_STARTED, container 304 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, rsc, RSC_STOPPED, container 311 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->ip, RSC_START, replica->container, RSC_START, container 313 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, replica->ip, RSC_STOP, container 317 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, true, container 385 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { container 387 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, container 389 lib/pacemaker/pcmk_sched_bundle.c return replica->container; container 530 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, container 531 lib/pacemaker/pcmk_sched_bundle.c replica->container, container 535 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, container 539 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { container 626 lib/pacemaker/pcmk_sched_bundle.c replica_for_container(pe_resource_t *rsc, pe_resource_t *container, container 638 lib/pacemaker/pcmk_sched_bundle.c && (container == replica->container) container 887 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 888 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_location(replica->container, container 923 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container container 969 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 970 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); container 1004 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 1005 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, container 1030 lib/pacemaker/pcmk_sched_bundle.c && (other->container != NULL)) { container 1032 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, container 1033 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), container 1034 lib/pacemaker/pcmk_sched_bundle.c NULL, other->container, container 1035 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(other->container->id, RSC_START, 0), container 1043 lib/pacemaker/pcmk_sched_bundle.c if (replica->container && replica->remote container 1062 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, container 1063 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), container 1093 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 1094 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->container, data_set); container 799 lib/pacemaker/pcmk_sched_graph.c && (action->node->details->remote_rsc->container == NULL) container 1327 lib/pacemaker/pcmk_sched_graph.c host = pe__current_node(action->node->details->remote_rsc->container); container 1334 lib/pacemaker/pcmk_sched_graph.c host = action->node->details->remote_rsc->container->allocated_to; container 1772 lib/pacemaker/pcmk_sched_graph.c && (input->action->node->details->remote_rsc->container == action->rsc)) { container 1541 lib/pacemaker/pcmk_sched_native.c if (check_unfencing || check_utilization || rsc->container) { container 1627 lib/pacemaker/pcmk_sched_native.c if (rsc->container) { container 1638 lib/pacemaker/pcmk_sched_native.c rsc_avoids_remote_nodes(rsc->container); container 1647 lib/pacemaker/pcmk_sched_native.c new_rsc_order(rsc->container, RSC_STATUS, rsc, RSC_STOP, container 1657 lib/pacemaker/pcmk_sched_native.c } else if (rsc->container->is_remote_node) { container 1658 lib/pacemaker/pcmk_sched_native.c remote_rsc = rsc->container; container 1661 lib/pacemaker/pcmk_sched_native.c rsc->container); container 1684 lib/pacemaker/pcmk_sched_native.c rsc->id, rsc->container->id); container 1686 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc->container, container 1687 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->container->id, RSC_START, 0), container 1694 lib/pacemaker/pcmk_sched_native.c rsc->container, container 1695 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->container->id, RSC_STOP, 0), container 1704 lib/pacemaker/pcmk_sched_native.c rsc->container, NULL, NULL, true, data_set); container 2699 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->container) && (!rsc->is_remote_node)) { container 2700 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Skipping %s: it is within container %s", rsc->id, rsc->container->id); container 2747 lib/pacemaker/pcmk_sched_native.c pe_resource_t *remote = node->details->remote_rsc->container; container 3219 lib/pacemaker/pcmk_sched_native.c if (parent->container) { container 3220 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); container 103 lib/pacemaker/pcmk_sched_notif.c && node->details->remote_rsc->container container 104 lib/pacemaker/pcmk_sched_notif.c && node->details->remote_rsc->container->running_on) { container 105 lib/pacemaker/pcmk_sched_notif.c node = pe__current_node(node->details->remote_rsc->container); container 160 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *guest = guest_node->details->remote_rsc->container; container 222 lib/pacemaker/pcmk_sched_promotable.c rsc->id, node->details->remote_rsc->container->id); container 243 lib/pacemaker/pcmk_sched_transition.c xmlNode *container = NULL; container 294 lib/pacemaker/pcmk_sched_transition.c container = first_named_child(lrm, XML_LRM_TAG_RESOURCES); container 295 lib/pacemaker/pcmk_sched_transition.c if (container == NULL) { container 296 lib/pacemaker/pcmk_sched_transition.c container = create_xml_node(lrm, XML_LRM_TAG_RESOURCES); container 299 lib/pacemaker/pcmk_sched_transition.c cib_resource = create_xml_node(container, XML_LRM_TAG_RESOURCE); container 327 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { container 330 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 493 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, container 497 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 663 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { container 666 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 733 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, container 815 lib/pengine/bundle.c replica->remote->container = replica->container; container 984 lib/pengine/bundle.c node = replica->container->allocated_to; container 989 lib/pengine/bundle.c node = pe__current_node(replica->container); container 1358 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); container 1464 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); container 1504 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1512 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1548 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), options, container 1549 lib/pengine/bundle.c replica->container, only_node, only_rsc); container 1577 lib/pengine/bundle.c rsc = replica->container; container 1585 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1626 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1634 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1679 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), container 1680 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); container 1698 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), container 1719 lib/pengine/bundle.c rsc = replica->container; container 1727 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1767 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1775 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1812 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), container 1813 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); container 1831 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), container 1851 lib/pengine/bundle.c rsc = replica->container; container 1859 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1866 lib/pengine/bundle.c node = pe__current_node(replica->container); container 1917 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); container 1956 lib/pengine/bundle.c if (replica->container) { container 1957 lib/pengine/bundle.c free_xml(replica->container->xml); container 1958 lib/pengine/bundle.c replica->container->xml = NULL; container 1959 lib/pengine/bundle.c replica->container->fns->free(replica->container); container 1960 lib/pengine/bundle.c replica->container = NULL; container 2048 lib/pengine/bundle.c if (replica->container) { container 2049 lib/pengine/bundle.c replica->container->fns->count(replica->container); container 2077 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { container 621 lib/pengine/common.c CRM_ASSERT(node->details->remote_rsc->container); container 623 lib/pengine/common.c if(node->details->remote_rsc->container->running_on) { container 624 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; container 630 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); container 70 lib/pengine/native.c && node->details->remote_rsc->container) { container 71 lib/pengine/native.c GList *gIter = node->details->remote_rsc->container->running_on; container 1467 lib/pengine/pe_output.c crm_xml_add(xml_node, "id_as_resource", 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 615 lib/pengine/unpack.c pe_resource_t *container = pe_find_resource(data_set->resources, container_id); container 617 lib/pengine/unpack.c if (container) { container 618 lib/pengine/unpack.c rsc->container = container; container 619 lib/pengine/unpack.c pe__set_resource_flags(container, pe_rsc_is_container); container 620 lib/pengine/unpack.c container->fillers = g_list_append(container->fillers, rsc); container 726 lib/pengine/unpack.c if (new_rsc->container == NULL) { container 1193 lib/pengine/unpack.c || (rsc->container->role != RSC_ROLE_STARTED)) { container 1284 lib/pengine/unpack.c pe_resource_t *container = item->data; container 1285 lib/pengine/unpack.c pe_node_t *node = pe__current_node(container); container 1288 lib/pengine/unpack.c stop_action(container, node, FALSE); container 1455 lib/pengine/unpack.c pe_resource_t *container = NULL; container 1467 lib/pengine/unpack.c container = rsc->container; container 1469 lib/pengine/unpack.c if (container && pcmk__list_of_1(rsc->running_on)) { container 1476 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1483 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1488 lib/pengine/unpack.c if(container && pcmk_is_set(container->flags, pe_rsc_failed)) { container 1496 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1500 lib/pengine/unpack.c || (container && container->role == RSC_ROLE_STOPPED)) { container 1503 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 2089 lib/pengine/unpack.c if (rsc->container && pe_rsc_is_bundled(rsc)) { container 2096 lib/pengine/unpack.c rsc->container); container 2097 lib/pengine/unpack.c } else if (rsc->container) { container 2098 lib/pengine/unpack.c stop_action(rsc->container, node, FALSE); container 2446 lib/pengine/unpack.c pe_resource_t *container; container 2460 lib/pengine/unpack.c container = pe_find_resource(data_set->resources, container_id); container 2461 lib/pengine/unpack.c if (container == NULL) { container 2468 lib/pengine/unpack.c rsc->container != NULL) { container 2474 lib/pengine/unpack.c rsc->container = container; container 2475 lib/pengine/unpack.c container->fillers = g_list_append(container->fillers, rsc); container 29 lib/pengine/utils.c static void unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, container 96 lib/pengine/utils.c pe_resource_t *rsc = node->details->remote_rsc->container; container 505 lib/pengine/utils.c unpack_operation(action, action->op_entry, rsc->container, data_set, container 947 lib/pengine/utils.c unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, container 1139 lib/pengine/utils.c if (container) { container 1157 lib/pengine/utils.c if (value == NULL && container) { container 50 lib/pengine/variant.h pe_resource_t *container;