incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Goasguen <run...@gmail.com>
Subject Re: devcloud2 issue ...again
Date Wed, 27 Feb 2013 05:33:47 GMT
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$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
     [java] 	at com.xensource.xenapi.VM.setMemoryStaticMin(VM.java:3450)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.setMemory(CitrixResourceBase.java:3116)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:985)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1278)
     [java] 	at com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.java:142)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
     [java] 	at com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:136)
     [java] 	at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java: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.access$301(ScheduledThreadPoolExecutor.java:98)
     [java] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.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$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
     [java] 	at com.xensource.xenapi.VM.setMemoryStaticMin(VM.java:3450)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.setMemory(CitrixResourceBase.java:3116)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:985)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1278)
     [java] 	at com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.java:142)
     [java] 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
     [java] 	at com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:136)
     [java] 	at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java: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.access$301(ScheduledThreadPoolExecutor.java:98)
     [java] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.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(VirtualMachineManagerImpl.java:734)
     [java] 	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
     [java] 	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:627)
     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1164)
     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1981)
     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.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.access$101(ScheduledThreadPoolExecutor.java:98)
     [java] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(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.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(VirtualMachineManagerImpl.java:734)
>     [java] 	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
>     [java] 	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
>     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:627)
>     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1164)
>     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1981)
>     [java] 	at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.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.access$101(ScheduledThreadPoolExecutor.java:98)
>     [java] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(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.java:908)
>     [java] 	at java.lang.Thread.run(Thread.java:680)
> 
> The devcloud2 vm has 2 GB ram.
> 
> What could it be ?
> 
> -Sebastien


Mime
View raw message