Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5E7210966 for ; Tue, 3 Sep 2013 17:58:06 +0000 (UTC) Received: (qmail 60646 invoked by uid 500); 3 Sep 2013 17:58:05 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 60051 invoked by uid 500); 3 Sep 2013 17:57:56 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 59913 invoked by uid 99); 3 Sep 2013 17:57:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 17:57:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rafaelweingartner@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-la0-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 17:57:49 +0000 Received: by mail-la0-f42.google.com with SMTP id ep20so4950165lab.15 for ; Tue, 03 Sep 2013 10:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7EZgu7MHoHY6F3O/4+X+ZkafjzWq9wRGNRFuOQ/NoEw=; b=hfUdmhX0BzRflO+KNRq2UlCtRP/WI9o1JJrQHRDBshYLd5c5auSEKAG2lU/OA+EyCM 9PZ8KGW7asgdN3CVTNSgKvjYK9f35L9purkWxlQwYUArDYcAOjlxVj7IB00Ch3xfEjN7 sAEAF6ouE/vg7+Wc+eCNygu8jyeJseIoM3HSPxe+t0KfICxOIYWZHwBl6twMsIxPE0gH zjCDTLEaXzs7BEusXQnmM0HaHk+fPPW1PZUeU+x4yqF82usC3njiiTMLQvcH+Lga/iiN Ra/7ffWE8TwBP5WGZhslY6jtjaEgEp2e2LzyelMprgEd91Yn0ZRV1CX564by1aiD7erG ZLqg== MIME-Version: 1.0 X-Received: by 10.112.14.102 with SMTP id o6mr7756033lbc.28.1378231048146; Tue, 03 Sep 2013 10:57:28 -0700 (PDT) Received: by 10.112.144.134 with HTTP; Tue, 3 Sep 2013 10:57:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 3 Sep 2013 14:57:28 -0300 Message-ID: Subject: Re: starting SSVM and CPVM and InsufficientServerCapacityException From: Rafael Weingartner To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a11c37aba0b148c04e57e6ca4 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c37aba0b148c04e57e6ca4 Content-Type: text/plain; charset=ISO-8859-1 I found the problem. Look the code here: http://fossies.org/dox/apache-cloudstack-4.1.1-src /XcpOssResource_8java_source.html line 86, if the CS cannot find a local SR it throws that error. So, I created a local SR on the machine and everything ran smoothly. I just do not know why the CS needs a local SR instead of using the primary SR that was configured and why this information is not written on the official installation guide. Thanks for your help Marty. 2013/9/3 Marty Sweet > Rafael, secondary storage is only mounted when required. > Please could you attach the full management log and the agent setup log? > > Thanks, > Marty > > > On Tue, Sep 3, 2013 at 2:14 AM, Rafael Weingartner < > rafaelweingartner@gmail.com> wrote: > > > I noticed something, the secondary storage was not add as a shared > storage > > on the hypervisor. I do not know, I thought it should right ? > > > > > > 2013/9/2 Rafael Weingartner > > > > > Just an update, the CS has written some vhd files on the primary > storage, > > > I guess those are the vhd for the system VMs. So, it means it is > > everything > > > ok with the NFS primary storage. > > > > > > > > > 2013/9/2 Rafael Weingartner > > > > > >> Actually that is also my doubt. I haven't set any local storage just a > > >> shared NFS storage as a primary storage and also another NFS storage > as > > >> the secondary storage. > > >> > > >> I checked, the primary storage is mounted on the hypervisor, and it is > > >> working. > > >> I have read something about a very similar error here: > > >> > https://issues.apache.org/jira/browse/CLOUDSTACK-1508#comment-13756254 > > >> > > >> they said there it could be a problem with vhd-util that was not sent > to > > >> the hypervisor, but I do not know where I should put it on a xen > server > > >> that is also using the XCP TOOLSTACK. > > >> > > >> > > >> 2013/9/2 Marty Sweet > > >> > > >>> Hi, > > >>> > > >>> It looks like your issue is with the local storage, as opposed to > > >>> resources. > > >>> Personally, I don't know exactly what 'can not find local sr' means > but > > >>> I'm > > >>> sure someone can chip in. > > >>> > > >>> In the meantime, I would check what you have defined as primary > storage > > >>> on > > >>> cloudstack and that it is functioning correctly on the hypervisor. > > >>> > > >>> Marty > > >>> > > >>> On Monday, September 2, 2013, Rafael Weingartner wrote: > > >>> > > >>> > Hi, > > >>> > I have just deployed CS and I am configuring my first host on it. > > But, > > >>> so > > >>> > far I hasn't been able to deploy the SSVM and CPVM. I keep getting > > >>> error > > >>> > such as InsufficientServerCapacityExce > > >>> > ption and something like > > >>> > "2013-09-02 17:38:47,763 DEBUG [xen.resource.CitrixResourceBase] > > >>> > (DirectAgent-25:null) VBD 91334f20-f5f9-4775-132d-26b22f4c0f34 > > created > > >>> for > > >>> > Vol[4|ROOT|b0fdba4a-0f64-46a9-9892-c2312a364f24|2147483648] > > >>> > 2013-09-02 17:38:47,763 WARN [xen.resource.CitrixResourceBase] > > >>> > (DirectAgent-25:null) Catch Exception: class > > >>> > com.cloud.utils.exception.CloudRuntimeException due to > > >>> > com.cloud.utils.exception.CloudRuntimeException: can not find local > > sr > > >>> > com.cloud.utils.exception.CloudRuntimeException: can not find local > > sr" > > >>> > > > >>> > I am actually not understanding why it is throwing those errors, > the > > >>> host > > >>> > that I added to the CS has 7GB of RAM and a Xeon quad core > processor. > > >>> So, I > > >>> > guess it shouldn't have problems with resource to deploy just > these 2 > > >>> VMs. > > >>> > > > >>> > I also attached the management server.log if you like to take a > look > > >>> > > > >>> > > > >>> > -- > > >>> > Rafael Weingartner > > >>> > > > >>> > > >> > > >> > > >> > > >> -- > > >> Rafael Weingartner > > >> > > > > > > > > > > > > -- > > > Rafael Weingartner > > > > > > > > > > > -- > > Rafael Weingartner > > > -- Rafael Weingartner --001a11c37aba0b148c04e57e6ca4--