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 57050EE35 for ; Sun, 3 Mar 2013 17:27:07 +0000 (UTC) Received: (qmail 72915 invoked by uid 500); 3 Mar 2013 17:27:06 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 72873 invoked by uid 500); 3 Mar 2013 17:27:06 -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 72864 invoked by uid 99); 3 Mar 2013 17:27:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2013 17:27:06 +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 (nike.apache.org: domain of ng.tuna@gmail.com designates 209.85.215.53 as permitted sender) Received: from [209.85.215.53] (HELO mail-la0-f53.google.com) (209.85.215.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2013 17:27:00 +0000 Received: by mail-la0-f53.google.com with SMTP id fr10so4260083lab.40 for ; Sun, 03 Mar 2013 09:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=ZaHHL+MXNy4EZLOd8qDTaUyHiOjUHz3E+yAdrYd0z5s=; b=KiE0pdDgk6HsvSIhAJ3ItfZrr4vke1dSpDq1E5a6Dnhyl/nESDTiArMNF8cSKkCkRy Mp3MyM3GTcub7MKFXAwdYMWUnxp2LD3WzYt0fxoGwVkWJup647sJIIQPqbgQBJe13HQu HwYJtJle54edqjiXgrLdM1vVKrfmmPPpGC9Ix1JmXDzUQC9VmQO/EvWoKitj3q0YzX83 4CfTgYjTXtMfiqmh7wi4/gqx6b9PqIohZg0yuRMPuXfHl6o9MkAF6Llm0orMLnpma16+ PKRhkvVwC99VphOPv80NPjB0UGXk6F4zWx34UqFg86lskL1Pf1foDlS7b4IcGsIwxTAn UQ0w== MIME-Version: 1.0 X-Received: by 10.152.105.244 with SMTP id gp20mr15291565lab.34.1362331599671; Sun, 03 Mar 2013 09:26:39 -0800 (PST) Received: by 10.112.34.103 with HTTP; Sun, 3 Mar 2013 09:26:39 -0800 (PST) In-Reply-To: References: <1534AF1D-02EF-474C-BE33-1BB5C46F7E88@gmail.com> Date: Mon, 4 Mar 2013 00:26:39 +0700 Message-ID: Subject: Re: devcloud2 issue ...again From: Nguyen Anh Tu To: cloudstack-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0408387711269204d7088bcc X-Virus-Checked: Checked by ClamAV on apache.org --f46d0408387711269204d7088bcc Content-Type: text/plain; charset=ISO-8859-1 I have the same problem. Thank you so much ! 2013/3/3 Sebastien Goasguen > To close this thread: > > I fixed this with help from Chiradeep at ApacheCon. > > Basically the 4.0.1 branch does not have the devcloud.sql statements that > are now in tools/devcloud, that led to wrong entries for systemvm offerings > in the database. > > Once some of the updates in devcloud.sql were applied, everything started > to run smoothly using devcloud2 as a host and running 4.0.1 on my localhost. > > -sebastien > > > On Feb 27, 2013, at 12:55 AM, Sebastien Goasguen wrote: > > > > > On Feb 27, 2013, at 12:45 AM, Chiradeep Vittal < > Chiradeep.Vittal@citrix.com> wrote: > > > >> Isn't this CLOUDSTACK-587 ? > >> Do you need the cpvm? You could set consoleproxy.capacity.standby to 0 > > > > It looks like it, but I don't understand why I am running into this now. > > > > I just tried with 4.0.0 and I get the same UnsufficientServerCapacity > exception, but I don't get the MEMORY_CONSTRAINT error. > > > > > > > > -sebastien > > > > > >> On 2/26/13 9:33 PM, "Sebastien Goasguen" wrote: > >> > >>> Very strange. > >>> > >>> I set systemvm.use.local.storage to true and the ssvm started, but the > >>> cpvm did not and I get a new type of error now: > >>> > >>> [java] INFO [storage.secondary.SecondaryStorageManagerImpl] > >>> (secstorage-1:) No stopped secondary storage vm is available, need to > >>> allocate a new secondary storage vm > >>> [java] INFO [cloud.consoleproxy.ConsoleProxyManagerImpl] > >>> (consoleproxy-1:) Found a stopped console proxy, bring it up to running > >>> pool. proxy vm id : 2 > >>> [java] WARN [network.element.VpcVirtualRouterElement] > >>> (consoleproxy-1:) Network Ntwk[204|Guest|6] is not associated with any > VPC > >>> [java] WARN [network.element.VpcVirtualRouterElement] > >>> (secstorage-1:) Network Ntwk[204|Guest|6] is not associated with any > VPC > >>> [java] WARN [network.element.VpcVirtualRouterElement] > >>> (secstorage-1:) Network Ntwk[202|Control|3] is not associated with any > VPC > >>> [java] WARN [network.element.VpcVirtualRouterElement] > >>> (secstorage-1:) Network Ntwk[201|Management|2] is not associated with > any > >>> VPC > >>> [java] WARN [network.element.VpcVirtualRouterElement] > >>> (secstorage-1:) Network Ntwk[203|Storage|4] is not associated with any > VPC > >>> [java] WARN [network.element.VpcVirtualRouterElement] > >>> (consoleproxy-1:) Network Ntwk[202|Control|3] is not associated with > any > >>> VPC > >>> [java] WARN [network.element.VpcVirtualRouterElement] > >>> (consoleproxy-1:) Network Ntwk[201|Management|2] is not associated with > >>> any VPC > >>> [java] INFO [storage.secondary.SecondaryStorageManagerImpl] > >>> (secstorage-1:) Secondary storage vm s-9-TEST is started > >>> [java] INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] > >>> (secstorage-1:) Primary secondary storage is not even started, wait > until > >>> next turn > >>> [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-15:) > >>> Catch Exception: class com.xensource.xenapi.Types$XenAPIException due > to > >>> MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: static_min ? > >>> dynamic_min ? dynamic_max ? static_max > >>> [java] MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: > >>> static_min ? dynamic_min ? dynamic_max ? static_max > >>> [java] at > com.xensource.xenapi.Types.checkResponse(Types.java:1732) > >>> [java] at > >>> com.xensource.xenapi.Connection.dispatch(Connection.java:368) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnect > >>> ion.dispatch(XenServerConnectionPool.java:909) > >>> [java] at com.xensource.xenapi.VM.setMemoryStaticMin(VM.java:3450) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.setMemory(CitrixResou > >>> rceBase.java:3116) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate( > >>> CitrixResourceBase.java:985) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc > >>> eBase.java:1278) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.ja > >>> va:142) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix > >>> ResourceBase.java:497) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssReso > >>> urce.java:136) > >>> [java] at > >>> > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.jav > >>> a:191) > >>> [java] at > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>> [java] at > >>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>> [java] at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>> [java] at > >>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acces > >>> s$301(ScheduledThreadPoolExecutor.java:98) > >>> [java] at > >>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S > >>> cheduledThreadPoolExecutor.java:206) > >>> [java] at > >>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor. > >>> java:886) > >>> [java] at > >>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java > >>> :908) > >>> [java] at java.lang.Thread.run(Thread.java:680) > >>> [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-15:) > >>> Unable to start v-2-TEST due to > >>> [java] MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: > >>> static_min ? dynamic_min ? dynamic_max ? static_max > >>> [java] at > com.xensource.xenapi.Types.checkResponse(Types.java:1732) > >>> [java] at > >>> com.xensource.xenapi.Connection.dispatch(Connection.java:368) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnect > >>> ion.dispatch(XenServerConnectionPool.java:909) > >>> [java] at com.xensource.xenapi.VM.setMemoryStaticMin(VM.java:3450) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.setMemory(CitrixResou > >>> rceBase.java:3116) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate( > >>> CitrixResourceBase.java:985) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc > >>> eBase.java:1278) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.ja > >>> va:142) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix > >>> ResourceBase.java:497) > >>> [java] at > >>> > com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssReso > >>> urce.java:136) > >>> [java] at > >>> > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.jav > >>> a:191) > >>> [java] at > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>> [java] at > >>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>> [java] at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>> [java] at > >>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acces > >>> s$301(ScheduledThreadPoolExecutor.java:98) > >>> [java] at > >>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S > >>> cheduledThreadPoolExecutor.java:206) > >>> [java] at > >>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor. > >>> java:886) > >>> [java] at > >>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java > >>> :908) > >>> [java] at java.lang.Thread.run(Thread.java:680) > >>> [java] INFO [cloud.vm.VirtualMachineManagerImpl] (consoleproxy-1:) > >>> Unable to start VM on Host[-1-Routing] due to Unable to start v-2-TEST > >>> due to > >>> [java] WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] > >>> (consoleproxy-1:) Exception while trying to start console proxy > >>> [java] com.cloud.exception.InsufficientServerCapacityException: > >>> Unable to create a deployment for > >>> VM[ConsoleProxy|v-2-TEST]Scope=interface com.cloud.dc.DataCenter; id=1 > >>> [java] at > >>> > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerI > >>> mpl.java:734) > >>> [java] at > >>> > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.jav > >>> a:472) > >>> [java] at > >>> > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.jav > >>> a:465) > >>> [java] at > >>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyMana > >>> gerImpl.java:627) > >>> [java] at > >>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyM > >>> anagerImpl.java:1164) > >>> [java] at > >>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMana > >>> gerImpl.java:1981) > >>> [java] at > >>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMana > >>> gerImpl.java:173) > >>> [java] at > >>> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:113) > >>> [java] at > >>> > com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34) > >>> [java] at > >>> > com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83) > >>> [java] at > >>> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73) > >>> [java] at > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>> [java] at > >>> > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > >>> [java] at > >>> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > >>> [java] at > >>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acces > >>> s$101(ScheduledThreadPoolExecutor.java:98) > >>> [java] at > >>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPe > >>> riodic(ScheduledThreadPoolExecutor.java:180) > >>> [java] at > >>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S > >>> cheduledThreadPoolExecutor.java:204) > >>> [java] at > >>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor. > >>> java:886) > >>> [java] at > >>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java > >>> :908) > >>> > >>> I had the same error last week, using the 4.0.1 packages on physical > >>> hosts (ubuntu 12.04 with xapi) > >>> > >>> > >>> On Feb 27, 2013, at 12:25 AM, Sebastien Goasguen > wrote: > >>> > >>>> Hi folks, > >>>> > >>>> I am preping for a demo at apache con tomorrow. > >>>> I imported devcloud2 in vbox (fresh start). > >>>> I downloaded 4.0.1 source release, built and run via ant debug. > >>>> I can access the mgt server ui, empty configuration, nothing in the > db. > >>>> All is well. > >>>> > >>>> I build marvin and configure the db using the > >>>> /tools/devcloud/devcloud.cfg from master. > >>>> > >>>> check the ui, the infrastructure is setup, but the systemvms don't > >>>> start. > >>>> > >>>> I get a: > >>>> > >>>> [java] INFO [storage.secondary.SecondaryStorageManagerImpl] > >>>> (secstorage-1:) Unable to start secondary storage vm for standby > >>>> capacity, secStorageVm vm Id : 4, will recycle it and start a new one > >>>> [java] INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] > >>>> (secstorage-1:) Primary secondary storage is not even started, wait > >>>> until next turn > >>>> [java] WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] > >>>> (consoleproxy-1:) Exception while trying to start console proxy > >>>> [java] com.cloud.exception.InsufficientServerCapacityException: > >>>> Unable to create a deployment for > >>>> VM[ConsoleProxy|v-2-TEST]Scope=interface com.cloud.dc.DataCenter; id=1 > >>>> [java] at > >>>> > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManager > >>>> Impl.java:734) > >>>> [java] at > >>>> > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja > >>>> va:472) > >>>> [java] at > >>>> > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja > >>>> va:465) > >>>> [java] at > >>>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyMan > >>>> agerImpl.java:627) > >>>> [java] at > >>>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxy > >>>> ManagerImpl.java:1164) > >>>> [java] at > >>>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMan > >>>> agerImpl.java:1981) > >>>> [java] at > >>>> > com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMan > >>>> agerImpl.java:173) > >>>> [java] at > >>>> > com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:113) > >>>> [java] at > >>>> > com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34) > >>>> [java] at > >>>> > com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83) > >>>> [java] at > >>>> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73) > >>>> [java] at > >>>> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>>> [java] at > >>>> > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317 > >>>> ) > >>>> [java] at > >>>> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > >>>> [java] at > >>>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acce > >>>> ss$101(ScheduledThreadPoolExecutor.java:98) > >>>> [java] at > >>>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runP > >>>> eriodic(ScheduledThreadPoolExecutor.java:180) > >>>> [java] at > >>>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run( > >>>> ScheduledThreadPoolExecutor.java:204) > >>>> [java] at > >>>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor > >>>> .java:886) > >>>> [java] at > >>>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav > >>>> a:908) > >>>> [java] at java.lang.Thread.run(Thread.java:680) > >>>> > >>>> The devcloud2 vm has 2 GB ram. > >>>> > >>>> What could it be ? > >>>> > >>>> -Sebastien > >>> > >> > > > > -- N.g.U.y.e.N.A.n.H.t.U --f46d0408387711269204d7088bcc--