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 ABD56DB88 for ; Tue, 24 Jul 2012 04:57:30 +0000 (UTC) Received: (qmail 68656 invoked by uid 500); 24 Jul 2012 04:57:30 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 68599 invoked by uid 500); 24 Jul 2012 04:57:29 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 68552 invoked by uid 99); 24 Jul 2012 04:57:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 04:57:27 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rohit.yadav@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 04:57:23 +0000 X-IronPort-AV: E=Sophos;i="4.77,644,1336348800"; d="scan'208";a="12127937" Received: from banpmailmx01.citrite.net ([10.103.128.73]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 24 Jul 2012 04:57:01 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.72]) by BANPMAILMX01.citrite.net ([10.103.128.73]) with mapi; Tue, 24 Jul 2012 10:27:00 +0530 From: Rohit Yadav To: Edison Su CC: "cloudstack-dev@incubator.apache.org" Date: Tue, 24 Jul 2012 10:26:58 +0530 Subject: Re: Devcloud: Remote deployment fixes Thread-Topic: Devcloud: Remote deployment fixes Thread-Index: Ac1pWMHZNDWyPLNzQSyRy87UZNRCrQ== Message-ID: <9A7C9BB5-11A8-49D3-B273-175C1EEF3A6D@citrix.com> References: <1E784BE3-899B-4A9A-B64F-938CB25764B6@citrix.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, > Actually, you don't need to add primary nfs storage. By default, devcloud= is using local storage, everytime, after you add a host, the primary local= storage will be shown up in the UI. I agree the default devcloud setup does that. > Yah, of cause, if you want to add NFS primary storage by yourself, then n= eed to add /opt/storage/primary into /etc/exports. I'll update the wiki. The issue is when you rdeploy your code/build, the webapp won't let you sel= ect local storage and if you don't give it primary nfs storage, it won't pr= oceed. A dirty hack one can use would be to use the host/path values of secondary = storage for both. Thanks, Rohit >=20 >> -----Original Message----- >> From: Rohit Yadav >> Sent: Monday, July 23, 2012 3:37 AM >> To: cloudstack-dev@incubator.apache.org >> Cc: Edison Su >> Subject: Devcloud: Remote deployment fixes >>=20 >> Hi, >>=20 >> For developers: In DevCloud, after rdeploy-ing, I'm unable to attach >> primary nfs storage using the host 10.0.2.15 and path >> /opt/storage/primary. The web client throws StorageResource error. >>=20 >> Fix: >> To use /opt/storage/primary as the primary storage nfs mount point; >> specify /opt/storage/primary in /etc/exports to use the directory as >> our primary storage >>=20 >> Perhaps update the wiki page? >>=20 >> Is this a similar bug where you need to explicitly specify ifs mount >> points: http://bugs.cloudstack.org/browse/CS-14469 >>=20 >> Regards, >> Rohit Yadav >>=20 >> RDebug log: http://pastebin.com/wjgndSVp >=20