Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A90F0112EA for ; Tue, 2 Sep 2014 06:10:48 +0000 (UTC) Received: (qmail 31688 invoked by uid 500); 2 Sep 2014 06:10:48 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 31639 invoked by uid 500); 2 Sep 2014 06:10:48 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 31613 invoked by uid 99); 2 Sep 2014 06:10:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 06:10:47 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harikrishna.patnala@citrix.com designates 103.14.252.240 as permitted sender) Received: from [103.14.252.240] (HELO SMTP.CITRIX.COM.AU) (103.14.252.240) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 06:10:43 +0000 X-IronPort-AV: E=Sophos;i="5.04,447,1406592000"; d="scan'208";a="9411966" From: Harikrishna Patnala To: "" , Giri Prasad CC: Erik Weber Subject: Re: Unable to start a VM due to insufficient capacity Thread-Topic: Unable to start a VM due to insufficient capacity Thread-Index: AQHPxedWeCeKQem0dEOpdMEjf7PREJvrwB8AgAD9AwCAABoSgA== Date: Tue, 2 Sep 2014 06:10:20 +0000 Message-ID: <8C4BA856-C764-4B2E-8392-55AB08D2F4A2@citrix.com> References: <1409577516.59654.YahooMailNeo@web194003.mail.sg3.yahoo.com> <1409632616.16345.YahooMailNeo@web194006.mail.sg3.yahoo.com> In-Reply-To: <1409632616.16345.YahooMailNeo@web194006.mail.sg3.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP: SIN1 X-Virus-Checked: Checked by ClamAV on apache.org You can use http://pastebin.com/ to upload the logs and provide the link. -Harikrishna On 02-Sep-2014, at 10:06 am, Giri Prasad wrote: > Thanks. >=20 > The error occurs at line 20400th line in the management server log. Pleas= e let me know, where I can upload these 20400 lines (or a few 1000 lines b= efore the error message) from the log. >=20 > Btw, I have a cs 4.1 on ubuntu 12.04 LTS, which is on a different hdd par= tition, on the same hardware, working without any problem. >=20 > Regards, >=20 >=20 >=20 > ________________________________ > From: Erik Weber > To: dev ; Giri Prasad =20 > Sent: Monday, 1 September 2014 7:01 PM > Subject: Re: Unable to start a VM due to insufficient capacity >=20 >=20 >=20 > Give us more of the logs. Preferably everything from the moment you press= launch until the exception occurs. >=20 > --=20 > Erik >=20 >=20 >=20 >=20 > On Mon, Sep 1, 2014 at 3:18 PM, Giri Prasad wr= ote: >=20 > Hello, >>=20 >> I have installed cs 4.3 on Ubuntu 14.04 LTS. >>=20 >>=20 >> Created the usual infra, registered a couple of ISO's, and tried to crea= ted a instance using the ISO, via the gui. Comes out with some error. Any i= deas on how to fix this? >>=20 >> Thanks & Regards, >> Giri >> 2014-09-01 17:21:26,551 DEBUG [c.c.a.ApiServlet] (catalina-exec-6:ctx-70= 3486f7 ctx-ee65bd67) =3D=3D=3DEND=3D=3D=3D XXX.XXX.XXX.5 -- GET command= =3DqueryAsyncJobResult&jobId=3D1b7d53c6-256a-4721-b69c-d68c1f6d7d42&respons= e=3Djson&sessionkey=3De6F89zbOUS4dR2%2FmrkznQBxeQ%2BM%3D&_=3D1409572286355 >> 2014-09-01 17:21:26,733 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executo= r-6:ctx-d1e72afb) Unexpected exception while executing org.apache.cloudstac= k.api.command.user.vm.DeployVMCmd >> com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM du= e to insufficient capacity >> at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerI= mpl.java:605) >> at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.d= eployVirtualMachine(VMEntityManagerImpl.java:237) >> at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityI= mpl.deploy(VirtualMachineEntityImpl.java:207) >> at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImp= l.java:3581) >> at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImp= l.java:3161) >> at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImp= l.java:3147) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:57) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:622) >> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflec= tion(AopUtils.java:317) >> at org.springframework.aop.framework.ReflectiveMethodInvocation.invoke= Joinpoint(ReflectiveMethodInvocation.java:183) >> at org.springframework.aop.framework.ReflectiveMethodInvocation.procee= d(ReflectiveMethodInvocation.java:150) >> at com.cloud.event.ActionEventInterceptor.invoke(ActionEventIntercepto= r.java:50) >> at org.springframework.aop.framework.ReflectiveMethodInvocation.procee= d(ReflectiveMethodInvocation.java:161) >> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.inv= oke(ExposeInvocationInterceptor.java:91) >> at org.springframework.aop.framework.ReflectiveMethodInvocation.procee= d(ReflectiveMethodInvocation.java:172) >> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyna= micAopProxy.java:204) >> at com.sun.proxy.$Proxy169.startVirtualMachine(Unknown Source) >> at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(Deplo= yVMCmd.java:443) >> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) >> at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDisp= atcher.java:109) >> at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.jav= a:66) >> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.= call(DefaultManagedContext.java:56) >> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.ca= llWithContext(DefaultManagedContext.java:103) >> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.ru= nWithContext(DefaultManagedContext.java:53) >> at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.ja= va:63) >> at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run= InContext(AsyncJobManagerImpl.java:509) >> at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(= ManagedContextRunnable.java:49) >> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.= call(DefaultManagedContext.java:56) >> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.ca= llWithContext(DefaultManagedContext.java:103) >> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.ru= nWithContext(DefaultManagedContext.java:53) >> at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Ma= nagedContextRunnable.java:46) >> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:= 471) >> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >> at java.util.concurrent.FutureTask.run(FutureTask.java:166) >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1146) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:615) >> at java.lang.Thread.run(Thread.java:701) >> Caused by: com.cloud.exception.InsufficientServerCapacityException: Unab= le to create a deployment for VM[User|ubuntu-12-04-64bit-admin-Instance]Sco= pe=3Dinterface com.cloud.dc.DataCenter; id=3D1 >> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMach= ineManagerImpl.java:921) >> at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineM= anagerImpl.java:761) >> at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerI= mpl.java:601) >> ... 38 more >> 2014-09-01 17:21:26,736 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Exe= cutor-6:ctx-d1e72afb) Complete async job-27, jobStatus: FAILED, resultCode:= 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"u= uidList":[],"errorcode":530,"errortext":"Unable to start a VM due to insuff= icient capacity"}