cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nux! <...@li.nux.ro>
Subject Re: Need with InsufficientServerCapacityException while adding instance
Date Sun, 13 Dec 2015 23:32:18 GMT
Yeah, usually it takes a bit more looking up and down the logfile to realise the cause, as
well as checking the HVs logs.
First thing to do is turn on DEBUG mode in the logging:
sed -i 's/INFO/DEBUG/g' log4j-cloud.xml

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Mike Tutkowski" <mike.tutkowski@solidfire.com>
> To: dev@cloudstack.apache.org
> Sent: Sunday, 13 December, 2015 22:48:44
> Subject: Re: Need with InsufficientServerCapacityException while adding instance

> The unfortunate part with that exception is that is could mean a lot of
> things.
> 
> Off the top of my head, I've encountered it for the following reasons:
> 
> * Not enough storage space for the root disk.
> 
> * I had not applied the free license for my XenServer 6.1 hosts.
> 
> * CloudStack couldn't find primary storage that was tagged in a way to
> satisfy the requirements of the computer or disk offering.
> 
> * Not an available IP address to assign to the VM.
> 
> Basically it's saying it couldn't secure one or more of the required
> resources to create the VM.
> 
> On Sun, Dec 13, 2015 at 1:40 PM, B Prakash <bprakg@hotmail.com> wrote:
> 
>> Hi, I might be missing something please can someone help me with this?  I
>> am using CS 4.6 host Xenserver 6.5 both on Virtual box.  I have a default
>> centos template that I am using to create an instance.  I have created a
>> basic zone, while creating instance, I get the following exception;
>>
>>
>> WARN  [o.a.c.alerts] (API-Job-Executor-12:ctx-9e35591b job-20
>> ctx-de2eef61)  alertType:: 8 // dataCenterId:: 1 // podId:: null //
>> clusterId:: null // message:: Failed to deploy Vm with Id: 4, on Host with
>> Id: null
>> INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-12:ctx-9e35591b
>> job-20 ctx-de2eef61)
>> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
>> deployment for VM[User|i-2-4-VM]Scope=interface com.cloud.dc.DataCenter;
>> id=1
>> INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-12:ctx-9e35591b
>> job-20 ctx-de2eef61) Unable to create a deployment for VM[User|i-2-4-VM]
>> com.cloud.exception.InsufficientServerCapacityException: Unable to create
>> a deployment for VM[User|i-2-4-VM]Scope=interface com.cloud.dc.DataCenter;
>> id=1
>> at
>> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:214)
>> at
>> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:200)
>> at
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3869)
>> at
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3488)
>> at
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3476)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>
>>
>>
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*

Mime
View raw message