You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2011/03/24 23:26:05 UTC

[jira] [Created] (WHIRR-269) improve error msg "key paid is encrypted"

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

[jira] [Updated] (WHIRR-269) improve error msg "Key pair is encrypted"

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu updated WHIRR-269:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

+1 I've just committed this.

> improve error msg "Key pair 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
>            Assignee: Tom White
>            Priority: Minor
>             Fix For: 0.5.0
>
>         Attachments: WHIRR-269.patch
>
>
> 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

[jira] [Updated] (WHIRR-269) improve error msg "key paid is encrypted"

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated WHIRR-269:
----------------------------

    Assignee: Tom White
      Status: Patch Available  (was: Open)

> 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
>            Assignee: Tom White
>            Priority: Minor
>             Fix For: 0.5.0
>
>         Attachments: WHIRR-269.patch
>
>
> 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

[jira] [Updated] (WHIRR-269) improve error msg "key paid is encrypted"

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated WHIRR-269:
----------------------------

    Fix Version/s: 0.5.0

> 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
>             Fix For: 0.5.0
>
>
> 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

[jira] [Updated] (WHIRR-269) improve error msg "key paid is encrypted"

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated WHIRR-269:
----------------------------

    Attachment: WHIRR-269.patch

Here's a patch with a fix. It improves some of the other keypair-related error messages at the same time.

I tested it by manually trying an encrypted keypair.

> 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
>             Fix For: 0.5.0
>
>         Attachments: WHIRR-269.patch
>
>
> 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

[jira] [Updated] (WHIRR-269) improve error msg "Key pair is encrypted"

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu updated WHIRR-269:
------------------------------

    Summary: improve error msg "Key pair is encrypted"  (was: improve error msg "key paid is encrypted")

> improve error msg "Key pair 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
>            Assignee: Tom White
>            Priority: Minor
>             Fix For: 0.5.0
>
>         Attachments: WHIRR-269.patch
>
>
> 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