Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 762F81077E for ; Tue, 24 Sep 2013 06:28:40 +0000 (UTC) Received: (qmail 70135 invoked by uid 500); 24 Sep 2013 06:28:38 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 70030 invoked by uid 500); 24 Sep 2013 06:28:36 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 70018 invoked by uid 99); 24 Sep 2013 06:28:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 06:28:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.216.213] (HELO nm31-vm6.bullet.mail.gq1.yahoo.com) (98.136.216.213) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 06:28:28 +0000 Received: from [98.137.12.191] by nm31.bullet.mail.gq1.yahoo.com with NNFMP; 24 Sep 2013 06:28:08 -0000 Received: from [216.39.60.215] by tm12.bullet.mail.gq1.yahoo.com with NNFMP; 24 Sep 2013 06:28:08 -0000 Received: from [127.0.0.1] by omp1102.mail.gq1.yahoo.com with NNFMP; 24 Sep 2013 06:28:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 23058.70585.bm@omp1102.mail.gq1.yahoo.com Received: (qmail 77020 invoked by uid 60001); 24 Sep 2013 06:28:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1380004087; bh=vFku9mTy+DoC73Ez85KgqqFYPcgkYLuVMwQVNrzbhDI=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LPdWcegijgBDEzUG8vUNwmhFVm+UqfssxNuWc471Gx0sVJugmmTTPsobr8Nv7nMVtrHl+4+UsHodlrSiBLTh1FptXltWidhHXu7c5O2XSwrrFAEay2Czybob/e0PthEgWXcAgQMfvtu8kC9+KP2YQtaLM+5rzlm7ycdxVsxbck8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=wNq4HQVB8Zh9VgjMo1hclcCZdog7LkQcQw6dk8nZ1/YKmJcj06E5oFkoK0xJLUjSpD+UwqvkT9lkKmh2iDEj8M131YDObhrR4OSLOqcucioVubUtEE88ZyWvsy1v6rw+1jfrL0uBvUAY4H7wAZUDaBKOGTh5tUBd3SwhBF2aydo=; X-YMail-OSG: _ip4WVgVM1l8z.GWYxIAZaMYTJJILUP4KbPFz128k91q9MJ yWOtFjWWbQDHar96Ud5SJ6TG6Fp1Ox.D5bxqrKP_v.2bodFEPSAwwDFFmCj8 HlaRDF2R0dDDpPs_sMpgaLN6UP8bQ58M6wtT8zTuqrriaNHUHIPOb70PlYXG yxlWpPK1Vv1SH_FsWq6a0iW5d761rnm8ZQHCWFnScKtdBuYN9pcuTijmeCKW u3wksRmNs5scVraT232.MlSGHqgNywaHF4LS77Ss5UyaBIIzUXXdyKzNKr3C hboUQ93FtRIthThULrQKDPcN2ctgDRzbOO8hQCmcWtihGq7uLf1vmzo8HCA9 fI_bSxvCI6o343IGURuZ9nuNWc6P..uAFaPvVQeavAXwWboiLg7xR49pb8V_ OG.Pl4xBUTonbeWpuMFcrSDhgoZApNQGJS75DHDz_4jVTtXm8bl8wbAkyjgZ WMWePOD5KdguJYXHiF5iNMXRZlcqxgM3hsY_fE_XUW8syz_O_8ImTM6gfUwk wWqxAVz6qLY7HTrpzLWgMWqcdkHegXVJicCN3p.Og9n2Fq74R7Gt8WBefQIb SRKXrECawRE8PxzfHCtpmxW.aFQ-- Received: from [155.56.68.215] by web163603.mail.gq1.yahoo.com via HTTP; Mon, 23 Sep 2013 23:28:07 PDT X-Rocket-MIMEInfo: 002.001,SSBhbSB0cnlpbmcgdG8gZGVwbG95IGEgVk0gd2l0aCAzNCBHQiBSQU0gYnV0IGl0IGlzIHN0aWxsIGZhciBmcm9tIHRoZSBsaW1pdC7CoAoKTWVtb3J5QWxsb2NhdGVkOiAxLjIwIFRCIC8gMS40OCBUQjgxJQoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCiBGcm9tOiBSaWNoYXJkIENoYXR0ZXJ0b24gPHJpY2hhcmQuY2hhdHRlcnRvbkBjb250ZWdpeC5jb20.ClRvOiB1c2Vyc0BjbG91ZHN0YWNrLmFwYWNoZS5vcmc7IE5pa29sYXkgS2FiYWRqb3YgPG5pa2lrYWJAeWFob28uY29tPiAKU2VudDoBMAEBAQE- X-Mailer: YahooMailWebService/0.8.157.561 References: <1379687325.47458.YahooMailNeo@web163604.mail.gq1.yahoo.com> <1795740785.1844173.1379688085067.JavaMail.root@contegix.com> Message-ID: <1380004087.76099.YahooMailNeo@web163603.mail.gq1.yahoo.com> Date: Mon, 23 Sep 2013 23:28:07 -0700 (PDT) From: Nikolay Kabadjov Reply-To: Nikolay Kabadjov Subject: Re: InsufficientServerCapacityException: Unable to create a deployment for VM To: Richard Chatterton , "users@cloudstack.apache.org" In-Reply-To: <1795740785.1844173.1379688085067.JavaMail.root@contegix.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1090023523-2071749251-1380004087=:76099" X-Virus-Checked: Checked by ClamAV on apache.org ---1090023523-2071749251-1380004087=:76099 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I am trying to deploy a VM with 34 GB RAM but it is still far from the limi= t.=A0=0A=0AMemoryAllocated: 1.20 TB / 1.48 TB81%=0A=0A=0A__________________= ______________=0A From: Richard Chatterton =0ATo: users@cloudstack.apache.org; Nikolay Kabadjov = =0ASent: Friday, September 20, 2013 5:41 PM=0ASubject: Re: InsufficientServ= erCapacityException: Unable to create a deployment for VM=0A =0A=0AAre you = attempting to create a VM with ~60 GB of RAM? That would push the allocatio= n percentage for memory past 85%.=0A=0ARich=0A=0A----- Original Message ---= --=0AFrom: "Nikolay Kabadjov" =0ATo: users@cloudstack.ap= ache.org=0ASent: Friday, September 20, 2013 9:28:45 AM=0ASubject: Insuffici= entServerCapacityException: Unable to create a deployment for VM=0A=0AHello= ,=A0=0A=0AI am not able to deploy a VM any more with the following Exceptio= n:=A0=0A=0A=0A2013-09-20 16:14:58,252 INFO =A0[user.vm.DeployVMCmd] (Job-Ex= ecutor-8:job-1501) com.cloud.exception.InsufficientServerCapacityException:= Unable to create a deployment for VM[User|test114]Scope=3Dinterface com.cl= oud.dc.DataCenter; id=3D1=0A2013-09-20 16:14:58,253 INFO =A0[user.vm.Deploy= VMCmd] (Job-Executor-8:job-1501) Unable to create a deployment for VM[User|= test114]=0Acom.cloud.exception.InsufficientServerCapacityException: Unable = to create a deployment for VM[User|test114]Scope=3Dinterface com.cloud.dc.D= ataCenter; id=3D1=0A=A0 =A0 =A0 =A0 at org.apache.cloudstack.engine.cloud.e= ntity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.jav= a:186)=0A=A0 =A0 =A0 =A0 at org.apache.cloudstack.engine.cloud.entity.api.V= irtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:199)=0A=A0 = =A0 =A0 =A0 at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmMan= agerImpl.java:3953)=0A=A0 =A0 =A0 =A0 at com.cloud.vm.UserVmManagerImpl.sta= rtVirtualMachine(UserVmManagerImpl.java:3464)=0A=A0 =A0 =A0 =A0 at com.clou= d.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3450)=0A= =A0 =A0 =A0 =A0 at com.cloud.utils.component.ComponentInstantiationPostProc= essor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.j= ava:125)=0A=A0 =A0 =A0 =A0 at org.apache.cloudstack.api.command.user.vm.Dep= loyVMCmd.execute(DeployVMCmd.java:379)=0A=A0 =A0 =A0 =A0 at com.cloud.api.A= piDispatcher.dispatch(ApiDispatcher.java:162)=0A=A0 =A0 =A0 =A0 at com.clou= d.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)=0A=A0 =A0 = =A0 =A0 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja= va:471)=0A=A0 =A0 =A0 =A0 at java.util.concurrent.FutureTask$Sync.innerRun(= FutureTask.java:334)=0A=A0 =A0 =A0 =A0 at java.util.concurrent.FutureTask.r= un(FutureTask.java:166)=0A=A0 =A0 =A0 =A0 at java.util.concurrent.ThreadPoo= lExecutor.runWorker(ThreadPoolExecutor.java:1145)=0A=A0 =A0 =A0 =A0 at java= .util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)= =0A=A0 =A0 =A0 =A0 at java.lang.Thread.run(Thread.java:724)=0A2013-09-20 16= :14:58,254 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-8:job-1501= ) Complete async job-1501, jobStatus: 2, resultCode: 530, result: Error Cod= e: 533 Error text: Unable to create a deployment for VM[User|test114]=0A201= 3-09-20 16:14:58,335 DEBUG [cloud.async.AsyncJobManagerImpl] (ApiServer-5:n= ull) submit async job-1502, details: AsyncJobVO {id:1502, userId: 1, accoun= tId: 1, sessionKey: null, instanceType: VirtualMachine, instanceId: 455, cm= d: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: nu= ll, cmdInfo: {"id":"455","templateId":"2f39b808-3555-4132-9d29-97ed30fe1069= ","ctxUserId":"1","hypervisor":"KVM","serviceOfferingId":"11e98e7c-3c3c-482= 4-9679-337cbac3b9bc","name":"test115","account":"I030736","domainid":"59733= 218-f425-4a8d-ba1b-0897be5031ff","securitygroupids":"2d35123d-b4ef-41b0-861= e-5157ea6b3c66","ctxAccountId":"1","ctxStartEventId":"4803","zoneId":"93ea0= f21-1299-403c-a30b-99747002a671","displayname":"test115"}, cmdVersion: 0, c= allbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultC= ode: 0, result: null, initMsid: 345050729630, completeMsid: null, lastUpdat= ed: null, lastPolled: null, created: null}=0A2013-09-20 16:14:58,343 DEBUG = [cloud.async.AsyncJobManagerImpl] (Job-Executor-9:job-1502) Executing org.a= pache.cloudstack.api.command.user.vm.DeployVMCmd for job-1502=0A2013-09-20 = 16:14:58,360 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-9:job-1502) Infr= astructureEntity name is:com.cloud.offering.ServiceOffering=0A2013-09-20 16= :14:58,382 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-9:job-1502) Contro= lledEntity name is:com.cloud.template.VirtualMachineTemplate=0A2013-09-20 1= 6:14:58,391 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-9:job-1502) Contr= olledEntity name is:com.cloud.network.security.SecurityGroup=0A2013-09-20 1= 6:14:58,457 DEBUG [cloud.async.AsyncJobManagerImpl] (ApiServer-6:null) Asyn= c job-1496 completed=0A2013-09-20 16:14:58,543 DEBUG [cloud.deploy.FirstFit= Planner] (Job-Executor-9:job-1502) DeploymentPlanner allocation algorithm: = random=0A2013-09-20 16:14:58,544 DEBUG [cloud.deploy.FirstFitPlanner] (Job-= Executor-9:job-1502) Trying to allocate a host and storage pools from dc:1,= pod:null,cluster:null, requested cpu: 8000, requested ram: 36507222016=0A2= 013-09-20 16:14:58,544 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-9= :job-1502) Is ROOT volume READY (pool already allocated)?: No=0A2013-09-20 = 16:14:58,544 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-9:job-1502)= Searching all possible resources under this Zone: 1=0A2013-09-20 16:14:58,= 548 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-9:job-1502) Listing = clusters in order of aggregate capacity, that have (atleast one host with) = enough CPU and RAM capacity under this Zone: 1=0A2013-09-20 16:14:58,551 DE= BUG [cloud.deploy.FirstFitPlanner] (Job-Executor-9:job-1502) CPUOverprovisi= oningFactor considered: 2.0=0A2013-09-20 16:14:58,580 DEBUG [cloud.deploy.F= irstFitPlanner] (Job-Executor-9:job-1502) Cannot allocate cluster list [1] = for vm creation since their allocated percentage crosses the disable capaci= ty threshold: 0.85 for capacity Type : 0, skipping these clusters=0A=0A=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =0AI would agree with this Exception uless I've got in my dashboard the fol= lowing:=A0=0A=0ASystem-wide capacity=0A=0AMemoryAllocated: 1.20 TB / 1.48 T= B81%=0ACPU Allocated: 293.50 GHz / 665.86 GHz44%=0AStorage Allocated: 724.1= 0 GB / 3.00 TB23%=0APrimary Storage Allocated Allocated: 8.25 TB / 66.00 TB= 12%=0APublic IP Addresses Allocated: 0 / 0 0%=0AManagement IP Addresses All= ocated: 2 / 51 3%=0ASecondary Storage Allocated: 724.10 GB / 3.00 TB 23%=0A= VLAN Allocated: 0 / 0 0%=0AShared Network IPs Allocated: 51 / 1013 5%=0ALoc= al Storage Allocated: 0 / 00%=0A=0ARegards,=0ANiki ---1090023523-2071749251-1380004087=:76099--