You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrew Bayer (JIRA)" <ji...@apache.org> on 2013/03/08 01:20:12 UTC

[jira] [Updated] (WHIRR-660) provide a useful error message if whirr.instance-templates is not in a cluster spec

     [ https://issues.apache.org/jira/browse/WHIRR-660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Bayer updated WHIRR-660:
-------------------------------

    Attachment: WHIRR-660.patch

Simple patch and test - throw an IllegalArgumentException if we get an empty InstanceTemplate list.
                
> provide a useful error message if whirr.instance-templates is not in a cluster spec
> -----------------------------------------------------------------------------------
>
>                 Key: WHIRR-660
>                 URL: https://issues.apache.org/jira/browse/WHIRR-660
>             Project: Whirr
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.9.0
>         Environment: ec2
>            Reporter: Steve Loughran
>            Assignee: Andrew Bayer
>            Priority: Minor
>         Attachments: WHIRR-660.patch
>
>
> If you try to bring up a cluster without {{whirr.instance-templates}} defined, you get a stack trace. This special case should be detected and converted into a human-comprehensible error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira