whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Cole (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WHIRR-107) Test failing due to not matching Amazon Linux AMI on EC2
Date Fri, 01 Oct 2010 09:20:32 GMT

    [ https://issues.apache.org/jira/browse/WHIRR-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916838#action_12916838

Adrian Cole commented on WHIRR-107:

The default template for ec2 in jclouds-1.0-beta-7, is fixed at amazon linux.  The only thing
that could explain this would be a classpath problem.


   protected TemplateBuilder provideTemplate(Injector injector, TemplateBuilder template)
      String provider = injector.getInstance(Key.get(String.class, Provider.class));
      if ("eucalyptus".equals(provider))
         return template.osFamily(CENTOS);
      else if ("nova".equals(provider))
         return template.osFamily(UBUNTU);
         return template.osFamily(AMZN_LINUX).os64Bit(true);

I don't recommend committing this patch.  I do recommend investigating the setup that produced
ubuntu, as this hints strongly of beta-6 classes in the classpath.

> Test failing due to not matching Amazon Linux AMI on EC2
> --------------------------------------------------------
>                 Key: WHIRR-107
>                 URL: https://issues.apache.org/jira/browse/WHIRR-107
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.2.0
>         Attachments: WHIRR-107.patch
> When I run the Hadoop tests on trunk I get a failure because the ubuntu-alphas-us/karmic-i386-alpha5.manifest.xml
AMI is being selected, rather than the Amazon Linux AMI.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message