Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-367

Proper use of create_node and NodeAuthSSHKey

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0-beta3
    • Component/s: Compute
    • Labels:
      None

      Description

      I've read through the documentation and code and it's not clear to me the proper way to do this.

      My wishful thinking is that I can pass NodeAuthSSHKey to a Driver's create_node function as the 'auth' argument... if driver.features['create_node'] contains 'ssh_key'. Likewise NodeAuthPassword is used to set the initial password when the 'create_node' feature contains 'password'.

      However the code doesn't really back that up, and EC2 in particular doesn't support that.

      Is there an interface to determine if I can pass NodeAuth* to create_node? If there is, what is it? I will then submit patches to advertise support for NodeAuth* on drivers that do and try and improve the docs.

      If there isn't, I would like to add one. The one I described would be the ideal one, i think, but it would have side effects on EC2/deploy_node?

        Attachments

          Activity

            People

            • Assignee:
              kami Tomaz Muraus
              Reporter:
              jc2k John Carr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: