[ https://issues.apache.org/jira/browse/WHIRR-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405316#comment-13405316 ]
Cosmin Dumitrache commented on WHIRR-593: ----------------------------------------- Here's a quick summary with some of the stuff I've been trying in the hopes that it might be useful for people: * PhaseExecutionBarrierTest passes on AWS but no VM ever shows up in the AWS web console. I tried this in different regions and the result is the same. Here's the test [output|https://gist.github.com/f2c5b11937a4283f2796]. * Running this on rackspace produces "Exhausted available authentication methods". Here's the test [output|https://gist.github.com/85f7a0b51990346a81c2]. * Was able to tell it to use my ssh key from ~/.ssh as opposed to the random one but still no luck. Looking in the debugger, it seems like it's using the correct key. Also, I was able to ssh to the rackspace machine after the test failed so this kind of indicates that the key it was using was indeed correct even though it's complaining. * Not having a catch clause [here|https://github.com/apache/whirr/blob/trunk/core/src/test/java/org/apache/whirr/actions/integration/PhaseExecutionBarrierTest.java#L158] seems a bit worrying but testing showed that no exception was being thrown anyway. > Upgrade to jclouds 1.5.0 > ------------------------ > > Key: WHIRR-593 > URL: https://issues.apache.org/jira/browse/WHIRR-593 > Project: Whirr > Issue Type: Improvement > Reporter: Andrei Savu > Assignee: Adrian Cole > Fix For: 0.8.0 > > Attachments: WHIRR-593+fix-zookeeper-test.patch, WHIRR-593.patch > > > Jclouds 1.5.0 brings a lot of improvements and a set of new providers we can > use. > Adrian added on the discussion list: > "Jclouds 1.5 has a concept called TemplateBuilderSpec which allows you to > declare a String representation of TemplateBuilder mechanics. > This allows you to set a property to override the default templates used in > jclouds. > For ex. > aws-ec2.template=imageId=ami-foo,hardwareId=m1.large,locationId=eu-west-1 > Importantly, these are just strings, so you can publish a series per > operating system family, and choose at runtime with > templateBuilder.from(spec) > Ex. You can make your own Map<String, TemplateBuilderSpec> with your > favorite choices, perhaps locking in templates by id so you don't have to > maintain the brittle java install scripts. > Ex. > templates.get("oneiric-java-ec2"); > Regardless of how this is used, the important part is that the constant > complaints of automatic selection can now be over, as we can provide a > properties syntax to afford users a means to supply their preferences > declaratively." -- 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