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 D42AF18BEC for ; Wed, 17 Jun 2015 20:05:05 +0000 (UTC) Received: (qmail 41518 invoked by uid 500); 17 Jun 2015 20:05:03 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 41476 invoked by uid 500); 17 Jun 2015 20:05:03 -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 41428 invoked by uid 500); 17 Jun 2015 20:05:03 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 41422 invoked by uid 99); 17 Jun 2015 20:05:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2015 20:05:03 +0000 Date: Wed, 17 Jun 2015 20:05:03 +0000 (UTC) From: "ASF subversion and git services (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=14590474#comment-14590474 ] ASF subversion and git services commented on CLOUDSTACK-8537: ------------------------------------------------------------- Commit f0cc5c510ccaf83241b9a2ef750aad00ee355f10 in cloudstack's branch refs/heads/4.4 from [~dahn] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f0cc5c5 ] CLOUDSTACK-8537 test for the sake of testing the fix seems so trivial but no testing is available for it at all. when bugs arise test extension should be the start point here. Signed-off-by: Daan Hoogland This closes #357 > 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)