Image image = new ImageImpl("ec2", "test", "testId", location, new URI("http://node"),
userMetadata, new OperatingSystem(null, null, null, null, "op", true), "description",
null, null, loginCredentials);
Hardware hardware = new HardwareImpl("ec2", "test", "testId", location, new URI("http://node"),
userMetadata, new ArrayList<Processor>(), 1, new ArrayList<Volume>(), null);
Template template = new TemplateImpl(image, hardware, location, TemplateOptions.NONE);
throw new RunNodesException("tag" + id, num, template, nodes, executionExceptions, failedNodes);
}
return nodes;
}