Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-397

Automatic template selection is too restrictive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      I'm getting the following exception when trying to start a ZooKeeper cluster with this recipe:

      whirr.cluster-name=zookeeper
      whirr.instance-templates=1 zookeeper
      
      # Note the hardware type selection ID 
      whirr.hardware-id=m1.small
      
      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)
      

      Attachments

        1. WHIRR-397.patch
          1 kB
          Andrei Savu
        2. WHIRR-397.patch
          1 kB
          Andrei Savu

        Activity

          People

            savu.andrei Andrei Savu
            savu.andrei Andrei Savu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: