| Ok, provisioning EC2 Classic should not matter. The error you are receiving is from this block of code ... https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/EC2Cloud.java#L334-L337
public HttpResponse doProvision(@QueryParameter String template) throws ServletException, IOException {
...
SlaveTemplate t = getTemplate(template);
if (t == null) {
throw HttpResponses.error(SC_BAD_REQUEST, "No such template: " + template);
}
...
}
The 'getTemplate' function does a lookup, based on the template name you select i.e. xxx-fedora-23-xxx, against the 'description' field for the templates you have defined. If you have the 'description' field populated then there should be no reason why it's not returning your template; the Java function equals() could be misinterpreting the hyphens in your template description so perhaps try removing them or replace with underscores. Also, have you tried forcing Jenkins to reload your config or tried a restart? |