XML_CIB_TAG_NODE" (%s) does not exist, cannot be added to " XML_CIB_TAG_RESOURCE " (%s).", node_id, res_id);
"Node (%s) does not exist, cannot be added " "to Resource (%s).", node_id, res_id);
add_xmlnode_to_cibToResource(xmlNodePtr cib,							 const char *res_id,							 const char *node_id,							 const char *weight){    xmlNodePtr resource = findResource(cib, res_id);    if (resource != NULL)    {		if (findHaNode(cib, node_id) == NULL)		{			cl_log(LOG_CRIT,				   XML_CIB_TAG_NODE" (%s) does not exist, cannot be added to "				   XML_CIB_TAG_RESOURCE " (%s).", node_id, res_id);				FNRET(-1);		}		CRM_DEBUG3("Attempting to add allowed " XML_CIB_TAG_NODE				   " (%s) to " XML_CIB_TAG_RESOURCE " (%s).",				   node_id, res_id);			xmlNodePtr node_entry = find_entity(resource, "node", node_id, FALSE);		if (node_entry == NULL)			node_entry = create_xml_node(resource, "node");		else			CRM_DEBUG3("Allowed " XML_CIB_TAG_NODE " (%s) already present for "					   XML_CIB_TAG_RESOURCE " (%s), updating.", node_id, res_id);			set_xml_property_copy(node_entry, XML_ATTR_ID, node_id);		set_xml_property_copy(node_entry, XML_CIB_ATTR_WEIGHT, weight);		set_xml_property_copy(node_entry, XML_ATTR_TSTAMP, getNow());    }    else    {		cl_log(LOG_CRIT,			   XML_CIB_TAG_RESOURCE " (%s) does not exist, cannot add allowed "			   XML_CIB_TAG_NODE" (%s).", res_id, node_id);		FNRET(-2);    }    FNRET(0);}