incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nguyen Anh Tu <ng.t...@gmail.com>
Subject Re: devcloud2 issue ...again
Date Sun, 03 Mar 2013 17:26:39 GMT
I have the same problem. Thank you so much !

2013/3/3 Sebastien Goasguen <runseb@gmail.com>

> 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 <runseb@gmail.com> 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" <runseb@gmail.com> 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 <runseb@gmail.com>
> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message