crm_debug_2("========= Complete Action List ========="); crm_debug("%d actions created",  g_list_length(global_action_list));
crm_debug_3("========= Complete Action List ========="); crm_debug_2("%d actions created",  g_list_length(global_action_list));
stage8(GListPtr resources, GListPtr actions, crm_data_t * *graph){	char *transition_id_s = NULL;	transition_id++;	transition_id_s = crm_itoa(transition_id);	crm_info("Creating transition graph %d.", transition_id);		*graph = create_xml_node(NULL, XML_TAG_GRAPH);	set_xml_property_copy(*graph, "global_timeout", transition_timeout);	set_xml_property_copy(*graph, "transition_id", transition_id_s);	crm_free(transition_id_s);	/* errors...	slist_iter(action, action_t, action_list, lpc,		   if(action->optional == FALSE && action->runnable == FALSE) {			   print_action("Ignoring", action, TRUE);		   }		);*/	crm_debug_2("========= Complete Action List =========");	crm_debug("%d actions created",  g_list_length(global_action_list));		slist_iter(action, action_t, global_action_list, lpc,		   print_action(NULL, action, FALSE));	slist_iter(		rsc, resource_t, resources, lpc,		crm_debug_3("processing actions for rsc=%s", rsc->id);		rsc->fns->expand(rsc, graph);		);	crm_log_xml_debug_3(*graph, "created resource-driven action list");	/* catch any non-resource specific actions */	crm_debug_3("processing non-resource actions");	slist_iter(		action, action_t, global_action_list, lpc,		graph_element_from_action(action, graph);		);	crm_log_xml_debug_3(*graph, "created generic action list");		return TRUE;}