Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A887E8DA for ; Mon, 11 Feb 2013 11:15:16 +0000 (UTC) Received: (qmail 65341 invoked by uid 500); 11 Feb 2013 11:15:14 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 65205 invoked by uid 500); 11 Feb 2013 11:15:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 65195 invoked by uid 99); 11 Feb 2013 11:15:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 11:15:13 +0000 Date: Mon, 11 Feb 2013 11:15:12 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-710) Host addition fails if /root/.ssh does not exist 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-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575729#comment-13575729 ] ASF subversion and git services commented on CLOUDSTACK-710: ------------------------------------------------------------ Commit 5eb767f5637084c25fcfcb8290a97a8cec90d33d in branch refs/heads/4.1 from [~bhaisaab] [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=5eb767f ] CLOUDSTACK-710: mkdir -p destination before scp-ing file in CitrixResourceBase - Assumption is that mkdir is available on xen host - We don't know what kind of file we're copying, dirs would have 0777 permission by default Signed-off-by: Rohit Yadav > Host addition fails if /root/.ssh does not exist > ------------------------------------------------ > > Key: CLOUDSTACK-710 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-710 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.0.0 > Environment: Ubuntu 12.04.1 + xen-hypervisor 4.1.2-2ubuntu2 > cloud-client 1:4.0.0 Ubuntu Pkg > Reporter: Shanker Balan > Priority: Trivial > > While adding a new Xen host to my test cloudstack 4.0 setup, I ran into this failure: > 2012-12-26 14:19:13,483 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-1:null) Copying /usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/xcposs/../../../systemvm/id_rsa.cloud to /root/.ssh on 192.168.55.42 with permission 0600 > 2012-12-26 14:19:13,497 WARN [agent.manager.DirectAgentAttache] (DirectAgent-1:null) Seq 1-2072969217: Exception Caught while executing command > It is easily fixed with a mkdir /root/.ssh && chmod 700 /root/.ssh/. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira