Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8537

Duplicated SSH Keys/ deployVirtualMachine returns wrong keypair name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.4.4, 4.5.2, 4.6.0
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Steps:
      1. Register 2 SSH keypairs sequentially in the same account, both with identical public key text, and with names "keypair1" and "keypair2"
      2. Send deployVirtualMachine request, with the keypair parameter set to "keypair2"
      3. deployVirtualMachine response sends back value "keypair1"

      I am using this with the Terraform (IaC) project and this behaviour breaks convergence. I would expect that either
      duplicate copies of the same SSH key are not allowed to be registered
      (ii) instance must send back the same key pair name as was requested

      Attachments

        Activity

          People

            dahn Daan
            benjvi Benjamin vickers
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: