Automatic template selection is too restrictive
-----------------------------------------------
Key: WHIRR-397
URL: https://issues.apache.org/jira/browse/WHIRR-397
Project: Whirr
Issue Type: Bug
Reporter: Andrei Savu
Fix For: 0.7.0
I'm getting the following exception when trying to start a ZooKeeper cluster
with this recipe:
{noformat}
whirr.cluster-name=zookeeper
whirr.instance-templates=1 zookeeper
# Note the hardware type selection ID
whirr.hardware-id=m1.small
{noformat}
{noformat}
Exception in thread "main" java.util.NoSuchElementException: no hardware
profiles support images matching params: [biggest=false, fastest=false,
imageName=null, imageDescription=/ubuntu-images/, imageId=null,
imagePredicate=null, imageVersion=null, location=[id=us-east-1, scope=REGION,
description=us-east-1, parent=aws-ec2, iso3166Codes=[US-VA], metadata={}],
minCores=0.0, minRam=0, osFamily=ubuntu, osName=null, osDescription=null,
osVersion=10.04, osArch=null, os64Bit=true, hardwareId=m1.small]
at
org.jclouds.compute.domain.internal.TemplateBuilderImpl.resolveSize(TemplateBuilderImpl.java:614)
at
org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:573)
at
org.apache.whirr.compute.BootstrapTemplate.build(BootstrapTemplate.java:75)
at
org.apache.whirr.actions.BootstrapClusterAction.doAction(BootstrapClusterAction.java:99)
at
org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:80)
at
org.apache.whirr.ClusterController.launchCluster(ClusterController.java:105)
at
org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:62)
at org.apache.whirr.cli.Main.run(Main.java:64)
at org.apache.whirr.cli.Main.main(Main.java:97)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira