whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Savu <savu.and...@gmail.com>
Subject Re: Using images from different owners.
Date Thu, 18 Aug 2011 16:29:25 GMT
See https://issues.apache.org/jira/browse/WHIRR-137

"jclouds restricts AMI owners to Amazon, Alestic, Canonical, and
Rightscale to avoid slow image ID listings. This can be changed (to
pick up your own AMIs) by setting jclouds.ec2.ami-owners to a
comma-separated list of owner IDs."

I haven't tested this approach.

-- Andrei Savu / andreisavu.ro

On Thu, Aug 18, 2011 at 12:58 AM, Karel Vervaeke <karel@outerthought.org> wrote:
> Hi, I would like to experiment with the Rightscale CentOS 6 images:
> http://thecloudmarket.com/owner/944964708905
>
> I have this in my properties file:
>
> jquery.ec2.ami-query=owner-id=944964708905
> # Rightscale CentOS 6.0, 64 bit, instance store, us-east-1
> whirr.image-id=us-east-1/ami-abc302c2
>
> Unfortunately I still get his:
>
> $ whirr launch-cluster --config recipes/lily-ec2-rpm.properties
> created new ComputeServiceContext  [id=aws-ec2,
> endpoint=https://ec2.us-east-1.amazonaws.com, apiVersion=2010-06-15,
> identity=..., iso3166Codes=[US-VA, US-CA, IE, SG, JP-13]]
> Bootstrapping cluster
> Configuring template
> Exception in thread "main" java.util.NoSuchElementException:
> imageId(us-east-1/ami-abc302c2) not found
>        at org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:567)
>        at org.apache.whirr.actions.BootstrapClusterAction.buildTemplate(BootstrapClusterAction.java:168)
>        at org.apache.whirr.actions.BootstrapClusterAction.doAction(BootstrapClusterAction.java:114)
>        at org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:80)
>        at org.apache.whirr.ClusterController.launchCluster(ClusterController.java:106)
>        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)
>
> Before I have a closer look at this problem, am I missing something obvious?
> I'm using Whirr trunk with some unrelated patches.
> Regards,
> Karel
>

Mime
View raw message