Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E352188B6 for ; Fri, 12 Jun 2015 11:59:01 +0000 (UTC) Received: (qmail 69428 invoked by uid 500); 12 Jun 2015 11:59:01 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 69396 invoked by uid 500); 12 Jun 2015 11:59:01 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 69386 invoked by uid 500); 12 Jun 2015 11:59:01 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 69383 invoked by uid 99); 12 Jun 2015 11:59:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2015 11:59:01 +0000 Date: Fri, 12 Jun 2015 11:59:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8537) Duplicated SSH Keys/ deployVirtualMachine returns wrong keypair name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583309#comment-14583309 ] ASF GitHub Bot commented on CLOUDSTACK-8537: -------------------------------------------- Github user bhaisaab commented on the pull request: https://github.com/apache/cloudstack/pull/357#issuecomment-111468328 LGTM, any test results? > Duplicated SSH Keys/ deployVirtualMachine returns wrong keypair name > -------------------------------------------------------------------- > > Key: CLOUDSTACK-8537 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8537 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: API > Affects Versions: 4.3.0 > Reporter: Benjamin vickers > Assignee: Daan Hoogland > > 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 > (i) 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)