cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <geoff.higginbot...@shapeblue.com>
Subject Re: Unable to start a VM due to insufficient capacity
Date Thu, 31 Jul 2014 19:53:23 GMT
Ugo,

Looks like CS is failing to update the VR with details for the new VM, try restarting the
VR.

Regards

Geoff Higginbottom
CTO / Cloud Architect


D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540>
| M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<mailto:geoff.higginbottom@shapeblue.com> | www.shapeblue.com<htp://www.shapeblue.com/>

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS<x-apple-data-detectors://37>



On 31 Jul 2014, at 15:40, "Ugo Vasi" <ugo.vasi@procne.it<mailto:ugo.vasi@procne.it>>
wrote:

Hi everybody,
I installed a CloudStack 4.3.0 system with a manager (in a virtual machine), two NFS primary
storage, one NFS secondary storare and two host agent on ubuntu distribution.

The cluster have one advanced zone without security group configuration with KVM hipervisors.

I create some VM but now does not allow me to create more giving the error message "Unable
to start a VM due to insufficient capacity".

I am sure that the resources (ip, ram, cpu and storage) are enough to create new instances.
In dashboard I see all ok.

>From the management-server.log I see this errors messages (see attachment for full version)
when I try to deploy a new virtual machine with 1x1GHz cpu, 1GB or RAM and 20GB disk space:

2014-07-31 14:59:11,983 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) Seq 1-684594119:
Processing:  { Ans: , MgmtId: 77916390353436, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"details":"VmDataCommand
failed, check agent logs","wait":0}}] }
2014-07-31 14:59:11,983 INFO  [c.c.v.VirtualMachineManagerImpl] (Job-Executor-26:ctx-ab3aee38
ctx-d8600c16) Unable to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable:
Unable to apply userdata and password entry on router
2014-07-31 14:59:12,453 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-26:ctx-ab3aee38 ctx-d8600c16)
VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host
id: null new host id: null host id before state transition: 7
2014-07-31 14:59:12,677 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-26:ctx-ab3aee38 ctx-d8600c16)
VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host
id: null new host id: null host id before state transition: null
2014-07-31 14:59:12,708 DEBUG [c.c.v.UserVmManagerImpl] (Job-Executor-26:ctx-ab3aee38 ctx-d8600c16)
Destroying vm VM[User|csweb2] as it failed to create on Host with Id:null
2014-07-31 14:59:12,738 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-26:ctx-ab3aee38 ctx-d8600c16)
VM state transitted from :Stopped to Error with event: OperationFailedToErrorvm's original
host id: null new host id: null host id before state transition: null
2014-07-31 14:59:12,929 WARN  [o.a.c.alerts] (Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) 
alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Failed to
deploy Vm with Id: 70, on Host with Id: null
2014-07-31 14:59:13,159 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-26:ctx-ab3aee38)
Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to insufficient
capacity
Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment
for VM[User|csweb2]Scope=interface com.cloud.dc.DataCenter; id=1
2014-07-31 14:59:13,161 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-26:ctx-ab3aee38)
Complete async job-783, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable
to start a VM due to insufficient capacity"}
2014-07-31 14:59:46,280 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-27:ctx-82be396e
ctx-41f0cf24) Stopped called on VM[User|csweb2] but the state is Error
2014-07-31 14:59:46,330 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-27:ctx-82be396e ctx-41f0cf24)
VM state transitted from :Error to Expunging with event: DestroyRequestedvm's original host
id: null new host id: null host id before state transition: null

I tried to search in others log file ("VmDataCommand failed, check agent logs"), but I don't
found nothing...

Can anyone Help me?

--

 U g o   V a s i    <ugo.vasi@procne.it<mailto:ugo.vasi@procne.it>>
 P r o c n e  s.r.l    >)
 via Cotonificio 45  33010 Tavagnacco IT
 phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed ? vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio ?
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare support@procne.it<mailto:support@procne.it>
.
Rif. D.L. 196/2003




<management-server.log>
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge - rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender if you believe
you have received this email in error. Shape Blue Ltd is a company incorporated in England
& Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by The Republic of South Africa and is traded under license from Shape Blue Ltd.
ShapeBlue is a registered trademark.

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