Whirr
  1. Whirr
  2. WHIRR-464

Do not fail if whirr.cluster-user already exists on the remote machine

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.7.2
    • Component/s: None
    • Labels:
      None

      Description

      I think we should not fail if whirr.cluster-user already exists on the remote machine unless it's root. This becomes a critical issue when starting a new cluster from inside Amazon as ec2-user.

      1. WHIRR-464_2.patch
        3 kB
        Rodrigo Duarte Sousa
      2. WHIRR-464.patch
        2 kB
        Rodrigo Duarte Sousa

        Activity

        Andrei Savu created issue -
        Andrei Savu made changes -
        Field Original Value New Value
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        Fix Version/s 0.8.0 [ 12318880 ]
        Andrei Savu made changes -
        Fix Version/s 0.7.1 [ 12319462 ]
        Fix Version/s 0.8.0 [ 12318880 ]
        Andrei Savu made changes -
        Fix Version/s 0.8.0 [ 12318880 ]
        Fix Version/s 0.7.1 [ 12319462 ]
        Andrei Savu made changes -
        Assignee Andrei Savu [ savu.andrei ]
        Rodrigo Duarte Sousa made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.8.0 [ 12318880 ]
        Rodrigo Duarte Sousa made changes -
        Attachment WHIRR-464.patch [ 12519168 ]
        Andrei Savu made changes -
        Comment [ Here are a few improvement ideas:

        * rename createUserWithPublicAndPrivateKey to something like ensureUserExistsWithPublicAndPrivateKey
        * copy the public key to .ssh/id_rsa.pub
        * implement lock sshd. See:
        https://github.com/jclouds/jclouds/blob/master/scriptbuilder/src/main/java/org/jclouds/scriptbuilder/statements/ssh/SshStatements.java

        ps: make sure you mark the attachment for inclusion on upload ]
        Rodrigo Duarte Sousa made changes -
        Attachment WHIRR-464_2.patch [ 12519236 ]
        Andrei Savu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Andrei Savu [ savu.andrei ] Rodrigo Duarte Sousa [ rodrigods ]
        Fix Version/s 0.7.2 [ 12320175 ]
        Resolution Fixed [ 1 ]
        Andrei Savu made changes -
        Fix Version/s 0.8.0 [ 12318880 ]
        Tom White made changes -
        Affects Version/s 0.8.0 [ 12321649 ]
        Affects Version/s 0.8.0-alpha.1 [ 12318880 ]

          People

          • Assignee:
            Rodrigo Duarte Sousa
            Reporter:
            Andrei Savu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development