Whirr
  1. Whirr
  2. WHIRR-378

Auth fail when creating a cluster from an EC2 instance

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Invalid
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.8.0
    • Component/s: service/hadoop
    • Labels:
      None

      Description

      There is a ssh auth problem when creating a hadoop cluster from an EC2 ubuntu instance.

      I've been using the same configuration file from an EC2 computer an a physical one, everything works fine in the physical one, but I keep getting this error in EC2:

      Running configuration script on nodes: [us-east-1/i-c7fde5a6, us-east-1/i-c9fde5a8, us-east-1/i-cbfde5aa]
      <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: publickey auth failed
      <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: publickey auth failed

      The user in the virtual machine is new and with valid .ssh keys.

      The hadoop config file is (omitting commented lines):

      whirr.cluster-name=hadoop
      whirr.instance-templates=1 hadoop-namenode+hadoop-jobtracker,3 hadoop-datanode+hadoop-tasktracker
      whirr.provider=aws-ec2
      whirr.identity=****
      whirr.credential=****
      whirr.hardware-id=c1.xlarge
      whirr.image-id=us-east-1/ami-da0cf8b3
      whirr.location-id=us-east-1

      1. setup-whirr.sh
        0.9 kB
        Adrian Cole
      2. run-test.sh
        0.6 kB
        Adrian Cole

        Activity

        Tom White made changes -
        Fix Version/s 0.8.0 [ 12321649 ]
        Fix Version/s 0.8.0-alpha.1 [ 12318880 ]
        Andrei Savu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Andrei Savu made changes -
        Fix Version/s 0.8.0 [ 12318880 ]
        Priority Major [ 3 ] Critical [ 2 ]
        Adrian Cole (Inactive) made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Adrian Cole (Inactive) made changes -
        Attachment run-test.sh [ 12496220 ]
        Attachment setup-whirr.sh [ 12496221 ]
        Adrian Cole (Inactive) made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Adrian Cole (Inactive) made changes -
        Field Original Value New Value
        Assignee Adrian Cole [ adrian@jclouds.org ]
        Marc de Palol created issue -

          People

          • Assignee:
            Adrian Cole (Inactive)
            Reporter:
            Marc de Palol
          • Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development