cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <ch0...@gmail.com>
Subject Re: MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy:
Date Tue, 04 Dec 2012 20:44:36 GMT
BTW if I define different a compute offering with the following config, I
get the following error message. Is it also related to the same problem ?

--> Offering : 200MB, 200 Hz, Local Storage to create an instance of CentOS
6.3

WARN  [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to start
i-2-13-VM due to
com.cloud.utils.exception.CloudRuntimeException: Unable to start
VM(i-2-13-VM) on host(9d4c9db8-32f7-25c3-0435-eab4bf3adcea) due to Task
failed! Task record:                 uuid:
56466789-c4bd-d26d-5bee-47b240316b4f
           nameLabel: Async.VM.start_on
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Tue Dec 04 18:52:11 CET 2012
            finished: Tue Dec 04 18:52:11 CET 2012
              status: FAILURE
          residentOn: com.xensource.xenapi.Host@3ba61fa8
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [VM_HVM_REQUIRED,
OpaqueRef:6ae4a574-e4af-7cb8-a7d7-fd30de95cc0c]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3269)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1292)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.java:142)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:136)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to clean
up VBD due to
You gave an invalid object reference.  The object may have recently been
deleted.  The class parameter gives the type of reference given, and the
handle parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:207)
at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1092)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.java:142)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:136)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to clean
up VBD due to
You gave an invalid object reference.  The object may have recently been
deleted.  The class parameter gives the type of reference given, and the
handle parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:207)
at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1092)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.java:142)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:136)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to cleanup
VIF
You gave an invalid object reference.  The object may have recently been
deleted.  The class parameter gives the type of reference given, and the
handle parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:207)
at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VIF.unplug(VIF.java:804)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1100)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.java:142)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:136)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-7:job-19) Unable
to start VM on Host[-1-Routing] due to Unable to start i-2-13-VM due to
INFO  [xen.resource.CitrixResourceBase] (DirectAgent-92:) VM does not exist
on XenServer9d4c9db8-32f7-25c3-0435-eab4bf3adcea
INFO  [api.commands.DeployVMCmd] (Job-Executor-7:job-19)
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|6d31c26c-c559-4393-b772-d557c3143381]Scope=interface
com.cloud.dc.DataCenter; id=1

Regards,

Charles



On Tue, Dec 4, 2012 at 9:38 PM, Charles Moulliard <ch007m@gmail.com> wrote:

> I'm using last code build (4.1.0-SNAPSHOT) from Git repo to run local
> management server and devcloud2 (VB). What should I do on DevCloud2 to
> upgrade xapi ?
>
>
>
>
> On Tue, Dec 4, 2012 at 6:10 PM, Anthony Xu <Xuefei.Xu@citrix.com> wrote:
>
>> What's Cloudstack version you are using?
>> Looks like your are using a very old version.  This issue is fixed in new
>> version.
>>
>> setMemoryStaticMin API is not used in new version.
>>
>>
>> Please upgrade to a newer version.
>>
>>
>> Anthony
>>
>>
>>
>> > -----Original Message-----
>> > From: Charles Moulliard [mailto:ch007m@gmail.com]
>> > Sent: Tuesday, December 04, 2012 4:56 AM
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy:
>> >
>> > Hi,
>> >
>> > How can I figure out this exception when I try to create a new instance
>> > using by example Centos 6.3 ISO (compute offering = 500MHertz, 500MB,
>> > local
>> > storage) ?
>> >
>> > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-36:) Catch
>> > Exception:
>> > class com.xensource.xenapi.Types$XenAPIException due to
>> > MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: static_min ?
>> > dynamic_min ? dynamic_max ? static_max
>> > MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: static_min ?
>> > dynamic_min ? dynamic_max ? static_max
>> > at com.xensource.xenapi.Types.checkResponse(Types.java:1732)
>> > at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>> > at
>> > com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConn
>> > ection.dispatch(XenServerConnectionPool.java:909)
>> > at com.xensource.xenapi.VM.setMemoryStaticMin(VM.java:3450)
>> > at
>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.setMemory(CitrixRe
>> > sourceBase.java:3116)
>> > at
>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTempla
>> > te(CitrixResourceBase.java:985)
>> > at
>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixReso
>> > urceBase.java:1278)
>> > at
>> > com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource
>> > .java:142)
>> > at
>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Cit
>> > rixResourceBase.java:497)
>> > at
>> > com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssR
>> > esource.java:136)
>> > at
>> > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.
>> > java:191)
>> > at
>> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>> > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> > at
>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac
>> > cess$301(ScheduledThreadPoolExecutor.java:98)
>> > at
>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru
>> > n(ScheduledThreadPoolExecutor.java:206)
>> > at
>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecut
>> > or.java:886)
>> > at
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j
>> > ava:908)
>> > at java.lang.Thread.run(Thread.java:680)
>> >
>> > Regards,
>> >
>> > --
>> > Charles Moulliard
>> > Apache Committer / Sr. Enterprise Architect (RedHat)
>> > Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>>
>
>
>
> --
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>
>
>


-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

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