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 0FC4918ED6 for ; Fri, 24 Jul 2015 09:30:05 +0000 (UTC) Received: (qmail 64948 invoked by uid 500); 24 Jul 2015 09:30:04 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 64918 invoked by uid 500); 24 Jul 2015 09:30:04 -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 64908 invoked by uid 500); 24 Jul 2015 09:30:04 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 64905 invoked by uid 99); 24 Jul 2015 09:30:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2015 09:30:04 +0000 Date: Fri, 24 Jul 2015 09:30:04 +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-8649) Register SSH keypair is broken 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-8649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640203#comment-14640203 ] ASF subversion and git services commented on CLOUDSTACK-8649: ------------------------------------------------------------- Commit 8dc8e9b8f31ef249a553cb20fb5be617a74cfbba in cloudstack's branch refs/heads/4.5 from [~boris@pcextreme.nl] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8dc8e9b ] CLOUDSTACK-8649: Fixed unnecessary double url decoding in registerSSHKeyPair. Signed-off-by: wilderrodrigues This closes #615 (cherry picked from commit 2e79c628e052ebdaf782458cfe4c4ef6e95545c6) Signed-off-by: Rohit Yadav Conflicts: server/src/com/cloud/server/ManagementServerImpl.java > Register SSH keypair is broken > ------------------------------ > > Key: CLOUDSTACK-8649 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8649 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.5.0, 4.5.1 > Reporter: Lennert den Teuling > > It seems that when we upgraded form CS 4.3 to 4.5 the register SSH keypair functionality broke. > Registering keypairs work, but deployments with these newly registered keypair fails because they are not correctly put into the database. > It seems that at least half of the public key data is missing in the database. We have tried this with multiple keys, even with keys that worked before. Keys that were registered before the upgrade still work. > It is simple to reproduce, just register a SSH key and you will see the key will to be correctly put into the "ssh_keypairs" table and encrypting the VM password with the key will fail on deployment. -- This message was sent by Atlassian JIRA (v6.3.4#6332)