Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC333DB4A for ; Mon, 25 Jun 2012 16:18:45 +0000 (UTC) Received: (qmail 44006 invoked by uid 500); 25 Jun 2012 16:18:45 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 43996 invoked by uid 500); 25 Jun 2012 16:18:45 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 43610 invoked by uid 99); 25 Jun 2012 16:18:45 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 16:18:45 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 2C45C14283D for ; Mon, 25 Jun 2012 16:18:44 +0000 (UTC) Date: Mon, 25 Jun 2012 16:18:44 +0000 (UTC) From: "Marios Andreou (JIRA)" To: dev@deltacloud.apache.org Message-ID: <260354851.51462.1340641124183.JavaMail.jiratomcat@issues-vm> In-Reply-To: <732803915.23448.1336074529595.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (DTACLOUD-205) "Permission denied" when ssh'ing to an Openstack instance - launched through Deltacloud (no way to pass a keypair in the current API) 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/DTACLOUD-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou resolved DTACLOUD-205. ------------------------------------- Resolution: Fixed Assignee: Ronelle Landy (was: Marios Andreou) > "Permission denied" when ssh'ing to an Openstack instance - launched through Deltacloud (no way to pass a keypair in the current API) > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: DTACLOUD-205 > URL: https://issues.apache.org/jira/browse/DTACLOUD-205 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Environment: Deltacloud git commit version: c13da7b50bbbbdc529b42207f58dbe5099006ad1 > RHEL 6.2 > Openstack V2.0 > Reporter: Ronelle Landy > Assignee: Ronelle Landy > Attachments: 0001-Adds-Keys-collection-for-Openstack-driver.-Allows-sp.patch > > > I receive a "permission denied" error when ssh'ing into an instance launched through Deltacloud to my Openstack account : "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)." I used the public ip address to ssh to the instance. > When the instance was in a pending state, there was a password visible. Once the instance went to a RUNNING state, the password disappeared. Is it possible to pass a key pair? > Answer from Marios: > In the HP implementation, by default, password authentication seems to be disabled and you have to use a keypair. HOWEVER, the openstack API doesn't provide a way for passing 'key_pair' parameter into an instance during creation. Referencing API doc: (no mention of key_pair parameter under server creation at http://api-docs.hpcloud.com/hpcloud-compute/1.0/content/ch03s01s02.html ). Digging a little deeper I noticed this http://api-docs.hpcloud.com/hpcloud-compute/1.0/content/key-pairs.html and one of the examples shows a 'key_pair' parameter passed in. > This is another jira issue - not because of something we can fix directly in the deltacloud code - but rather try and get this functionality into the oOpenstack gem (i.e. accept key_pair parameter and pass onto provider, and also key_pair management) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira