templateLists.put(NODES_LIST_ALLOCATED, new ArrayList<CustomNode>());
templateLists.put(NODES_LIST_INVALID, new ArrayList<CustomNode>());
nodesListsByTemplates.put(templateName, templateLists);
}
public synchronized CustomNode createServer(final String templateName, final String serverName)
<BUG>throws InstallerException {
CustomNode node = null;</BUG>
if (org.apache.commons.lang.StringUtils.isBlank(serverName)) {
<BUG>throw new InstallerException("Failed to start cloud node, server name is missing");
</BUG>
}

templateLists.put(NODES_LIST_ALLOCATED, new ArrayList<CustomNode>());
templateLists.put(NODES_LIST_INVALID, new ArrayList<CustomNode>());
nodesListsByTemplates.put(templateName, templateLists);
