[
https://issues.apache.org/jira/browse/WHIRR-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996892#comment-12996892
]
Andrei Savu commented on WHIRR-198:
-----------------------------------
I wanted to commit this patch but unfortunately I'm unable to run the
integration tests:
{code}
2011-02-19 23:58:08,452 ERROR
[org.apache.whirr.cluster.actions.BootstrapClusterAction] (pool-1-thread-1)
Unexpected error while starting 2 nodes, minimum 2 nodes for [zookeeper] of
cluster zkclustertest
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException:
Resource must be an image (for EC2)
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at
org.apache.whirr.cluster.actions.BootstrapClusterAction$StartupProcess.waitForOutcomes(BootstrapClusterAction.java:270)
at
org.apache.whirr.cluster.actions.BootstrapClusterAction$StartupProcess.call(BootstrapClusterAction.java:223)
at
org.apache.whirr.cluster.actions.BootstrapClusterAction$StartupProcess.call(BootstrapClusterAction.java:184)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: Resource must be an image (for
EC2)
at
com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at
org.jclouds.ec2.compute.strategy.EC2PopulateDefaultLoginCredentialsForImageStrategy.execute(EC2PopulateDefaultLoginCredentialsForImageStrategy.java:50)
at
org.jclouds.ec2.compute.functions.CredentialsForInstance.getLoginAccountFor(CredentialsForInstance.java:75)
at
org.jclouds.ec2.compute.functions.CredentialsForInstance.apply(CredentialsForInstance.java:62)
at
org.jclouds.ec2.compute.functions.CredentialsForInstance.apply(CredentialsForInstance.java:43)
at
org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.populateCredentials(EC2CreateNodesInGroupThenAddToSet.java:121)
at
org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.execute(EC2CreateNodesInGroupThenAddToSet.java:111)
at
org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:215)
at
org.apache.whirr.cluster.actions.NodeStarter.call(BootstrapClusterAction.java:350)
at
org.apache.whirr.cluster.actions.NodeStarter.call(BootstrapClusterAction.java:325)
... 5 more
{code}
> support user-defined images
> ---------------------------
>
> Key: WHIRR-198
> URL: https://issues.apache.org/jira/browse/WHIRR-198
> Project: Whirr
> Issue Type: New Feature
> Reporter: Adrian Cole
> Assignee: Adrian Cole
> Attachments: WHIRR-198.patch, WHIRR-198.patch, WHIRR-198.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Whirr should be able to operate on user supplied images. Currently, this
> only works if the image has a default root login.
> Please add a new property: whirr.login-user
> if defined, override the default login user with this value.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira