Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-269

improve error msg "Key pair is encrypted"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • cli
    • None

    Description

      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)

      Attachments

        1. WHIRR-269.patch
          2 kB
          Thomas White

        Activity

          People

            tomwhite Thomas White
            phunt Patrick D. Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: