improve error msg "key paid is encrypted"
-----------------------------------------

                 Key: WHIRR-269
                 URL: https://issues.apache.org/jira/browse/WHIRR-269
             Project: Whirr
          Issue Type: Improvement
          Components: cli
    Affects Versions: 0.4.0
            Reporter: Patrick Hunt
            Priority: Minor


The following error took me some time to resolve. It would have been useful if 
this were more actionable (even referencing which key pair it's talking about 
would have been useful). Eventually I figured out that must use a passwordless 
pair.

~/w/whirr-0.4.0-incubating$ bin/whirr launch-cluster --config 
~/whirr-zk.properties
Exception in thread "main" 
org.apache.commons.configuration.ConfigurationException: Key pair is encrypted
        at org.apache.whirr.service.ClusterSpec.<init>(ClusterSpec.java:424)
        at org.apache.whirr.service.ClusterSpec.<init>(ClusterSpec.java:390)
        at 
org.apache.whirr.cli.command.AbstractClusterSpecCommand.getClusterSpec(AbstractClusterSpecCommand.java:103)
        at 
org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:59)
        at org.apache.whirr.cli.Main.run(Main.java:67)
        at org.apache.whirr.cli.Main.main(Main.java:104)


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to