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 8F38A11E75 for ; Mon, 1 Sep 2014 13:31:52 +0000 (UTC) Received: (qmail 1950 invoked by uid 500); 1 Sep 2014 13:31:52 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 1902 invoked by uid 500); 1 Sep 2014 13:31:52 -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 1890 invoked by uid 99); 1 Sep 2014 13:31:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2014 13:31:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of terbolous@gmail.com designates 209.85.219.42 as permitted sender) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2014 13:31:24 +0000 Received: by mail-oa0-f42.google.com with SMTP id m1so3796581oag.15 for ; Mon, 01 Sep 2014 06:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pyOyKrOgSTPNb1bhM1YzHl/FE270strGNfwYpBxiCGs=; b=SPskpbJmO6Onpds4E1Lq5IxiWlmB5UgvtlY8R/HpREG7P/UrczEhD1Sf012s+LKaDS E2SDYAxbSArMZtTMaq+ssQ/JyarTsXbVEeEpFXuZ/43XbBP1WV9Wa8nWZZwxfsHiS6Pi 2PKC9QucjXR2g2KWx0pjZrwevVmDiRIPdKNwFAjpuaYEUAt5QcH0Z919yq9MrlI3ERtL nhXRAaxoR8PI+rRwid96gtGWQUSGX74RAdRnIi/qGoFzNz4c393WFk3ejgQh6l6RxNFE 2qyi38cAP/0AH7N6k/Z+DPEHcpSFfCo9Bj7bWTc/KHy9hP5hkbmLdZiyeRTjmjRNJfqd VoSw== MIME-Version: 1.0 X-Received: by 10.60.52.208 with SMTP id v16mr27100999oeo.15.1409578283029; Mon, 01 Sep 2014 06:31:23 -0700 (PDT) Received: by 10.76.173.38 with HTTP; Mon, 1 Sep 2014 06:31:22 -0700 (PDT) In-Reply-To: <1409577516.59654.YahooMailNeo@web194003.mail.sg3.yahoo.com> References: <1409577516.59654.YahooMailNeo@web194003.mail.sg3.yahoo.com> Date: Mon, 1 Sep 2014 15:31:22 +0200 Message-ID: Subject: Re: Unable to start a VM due to insufficient capacity From: Erik Weber To: dev , Giri Prasad Content-Type: multipart/alternative; boundary=001a1133450ad886b805020104ea X-Virus-Checked: Checked by ClamAV on apache.org --001a1133450ad886b805020104ea Content-Type: text/plain; charset=UTF-8 Give us more of the logs. Preferably everything from the moment you press launch until the exception occurs. -- Erik On Mon, Sep 1, 2014 at 3:18 PM, Giri Prasad wrote: > Hello, > > I have installed cs 4.3 on Ubuntu 14.04 LTS. > > > Created the usual infra, registered a couple of ISO's, and tried to > created a instance using the ISO, via the gui. Comes out with some error. > Any ideas on how to fix this? > > Thanks & Regards, > Giri > 2014-09-01 17:21:26,551 DEBUG [c.c.a.ApiServlet] > (catalina-exec-6:ctx-703486f7 ctx-ee65bd67) ===END=== XXX.XXX.XXX.5 -- > GET > command=queryAsyncJobResult&jobId=1b7d53c6-256a-4721-b69c-d68c1f6d7d42&response=json&sessionkey=e6F89zbOUS4dR2%2FmrkznQBxeQ%2BM%3D&_=1409572286355 > 2014-09-01 17:21:26,733 ERROR [c.c.a.ApiAsyncJobDispatcher] > (Job-Executor-6:ctx-d1e72afb) 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 > at > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:605) > at > org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:237) > at > org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:207) > at > com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3581) > at > com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3161) > at > com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3147) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:622) > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at > com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > at com.sun.proxy.$Proxy169.startVirtualMachine(Unknown Source) > at > org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:443) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at > com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109) > at > com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > at > com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63) > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(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.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > at > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.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(ThreadPoolExecutor.java:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:701) > Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable > to create a deployment for > VM[User|ubuntu-12-04-64bit-admin-Instance]Scope=interface > com.cloud.dc.DataCenter; id=1 > at > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:921) > at > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761) > at > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:601) > ... 38 more > 2014-09-01 17:21:26,736 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Job-Executor-6:ctx-d1e72afb) Complete async job-27, 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"} --001a1133450ad886b805020104ea--