You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Erik Weber <te...@gmail.com> on 2014/12/11 08:25:21 UTC

Re: Failed to migrate VM from old CS

2014-12-11 09:50:21,638 DEBUG [c.c.c.CapacityManagerImpl]
(API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
FirstFitRoutingAllocator) Host: 1 doesn't have cpu capability (cpu:16,
speed:2399) to support requested CPU: 1 and requested speed: 2400


lower your compute offering to 2399MHz (or lower) and it should work. I've
been bitten by this a couple of times, somehow, somewhere the number is
rounded down.


-- 
Erik

On Thu, Dec 11, 2014 at 8:17 AM, Amir Abbasi <ab...@tebyanidc.ir> wrote:

> I receive following message firstly (before message I've mentioned in last
> e-mail):
>
> -- GET  command=createNe
>
> twork&response=json&sessionkey=XstW326WNiJ3%2FEdkzOjoFKEJWk4%3D&networkOffer
> ingId=2171422f-26aa-418c-bfc0-6f2227f9fcde&name=tebtest&
>
> displayText=tebtest&zoneId=0d46010d-4212-4cab-8b93-cc9e2ba306bc&_=1418280962
> 433
> 2014-12-11 10:26:38,710 DEBUG [o.a.c.a.BaseCmd]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Ignoring paremeter
> displaynetwork as the
>  caller is not authorized to pass it in
> 2014-12-11 10:26:38,715 DEBUG [o.a.c.a.BaseCmd]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Ignoring paremeter
> displaynetwork as the
>  caller is not authorized to pass it in
> 2014-12-11 10:26:38,771 DEBUG [o.a.c.n.c.m.ContrailGuru]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Refusing to design this network
> 2014-12-11 10:26:38,771 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) design called
> 2014-12-11 10:26:38,772 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Refusing to design this
> network, the physical isolation type is not MIDO
> 2014-12-11 10:26:38,774 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Refusing to design thi
> s network
> 2014-12-11 10:26:38,775 DEBUG [o.a.c.n.o.OpendaylightGuestNetworkGuru]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Refusing to desig
> n this network
> 2014-12-11 10:26:38,777 DEBUG [c.c.n.g.OvsGuestNetworkGuru]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Refusing to design this netw
> ork
> 2014-12-11 10:26:38,811 DEBUG [o.a.c.n.g.SspGuestNetworkGuru]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) SSP not configured to be a
> ctive
> 2014-12-11 10:26:38,812 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (catalina-exec-5:ctx-f03b1c6b ctx-2a568b23) Releasing lock for Acct[1d
> c8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest]
>
> -----Original Message-----
> From: Amir Abbasi [mailto:abbasi@tebyanidc.ir]
> Sent: Thursday, December 11, 2014 10:03 AM
> To: users@cloudstack.apache.org
> Cc: geoff.higginbottom@shapeblue.com
> Subject: Failed to migrate VM from old CS
>
> Hello,
>
>
>
> I tried to move a VM from old "CS 3.0" to my new "CS 4.4.1" installation
> but
> it failed, here is log messages. Also old public templates can't be used on
> this new CS. Hypervisor was ESX5.0 on old one and ESX5.1 on new
> installation.
>
>
>
>
>
> -- GET
>
> command=deployVirtualMachine&response=json&sessionkey=qH3a6K5YjssqcJ0rKnshCg
>
> muXFk%3D&zoneid=0d46010d-4212-4cab-8b93-cc9e2ba306bc&templateid=6b46ae18-ecb
>
> 3-4b50-8d76-46d6aa2d4723&hypervisor=VMware&serviceofferingid=4c4cb9e2-07c2-4
>
> bea-a696-0c16964c813a&diskofferingid=4b9db6b8-8193-467e-ac31-079db8a97ad3&ip
>
> tonetworklist%5B0%5D.networkid=09b98bb1-7541-4418-9915-ddc4630e0566&displayn
> ame=hasibi&name=hasibi&_=1418278784937
>
> 2014-12-11 09:50:21,190 DEBUG [o.a.c.a.BaseCmd]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Ignoring paremeter displayvm as
> the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,190 DEBUG [o.a.c.a.BaseCmd]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Ignoring paremeter
> deploymentplanner as the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,208 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Access to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,217 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Access to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,228 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Access to
> Tmpl[221-OVA-221-6-0aedd0a4-48b1-3538-bb5e-73dca23fbda5 granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,228 DEBUG [o.a.c.a.BaseCmd]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Ignoring paremeter displayvm as
> the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,228 DEBUG [o.a.c.a.BaseCmd]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Ignoring paremeter
> deploymentplanner as the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,239 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Access to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,255 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Access to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,312 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Access to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,319 DEBUG [c.c.n.NetworkModelImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Service SecurityGroup is not
> supported in the network id=213
>
> 2014-12-11 09:50:21,337 DEBUG [c.c.v.UserVmManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Allocating in the DB for vm
>
> 2014-12-11 09:50:21,351 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Allocating entries for VM:
> VM[User|i-6-55-VM]
>
> 2014-12-11 09:50:21,352 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Allocating nics for
> VM[User|i-6-55-VM]
>
> 2014-12-11 09:50:21,353 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Allocating nic for vm
> VM[User|i-6-55-VM] in network
> Ntwk[09b98bb1-7541-4418-9915-ddc4630e0566|Guest|8] with requested profile
> NicProfile[0-0-null-null-null
>
> 2014-12-11 09:50:21,370 DEBUG [c.c.n.NetworkModelImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Service SecurityGroup is not
> supported in the network id=213
>
> 2014-12-11 09:50:21,371 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Allocating disks for
> VM[User|i-6-55-VM]
>
> 2014-12-11 09:50:21,405 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Allocation completed for VM:
> VM[User|i-6-55-VM]
>
> 2014-12-11 09:50:21,405 DEBUG [c.c.v.UserVmManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Successfully allocated DB entry
> for VM[User|i-6-55-VM]
>
> 2014-12-11 09:50:21,441 DEBUG [c.c.n.NetworkModelImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Service SecurityGroup is not
> supported in the network id=213
>
> 2014-12-11 09:50:21,447 DEBUG [c.c.n.NetworkModelImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) Service SecurityGroup is not
> supported in the network id=213
>
> 2014-12-11 09:50:21,479 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) submit async job-443, details:
> AsyncJobVO {id:443, userId: 6, accountId: 6, instanceType: VirtualMachine,
> instanceId: 55, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd,
> cmdInfo:
>
> {"sessionkey":"qH3a6K5YjssqcJ0rKnshCgmuXFk\u003d","serviceofferingid":"4c4cb
>
> 9e2-07c2-4bea-a696-0c16964c813a","cmdEventType":"VM.CREATE","ctxUserId":"6",
>
> "zoneid":"0d46010d-4212-4cab-8b93-cc9e2ba306bc","httpmethod":"GET","template
>
> id":"6b46ae18-ecb3-4b50-8d76-46d6aa2d4723","id":"55","response":"json","ctxD
>
> etails":"{\"com.cloud.template.VirtualMachineTemplate\":\"6b46ae18-ecb3-4b50
>
> -8d76-46d6aa2d4723\",\"com.cloud.vm.VirtualMachine\":\"8afa8d90-8577-4770-b5
>
> 1d-66a8e43e8f71\",\"com.cloud.offering.DiskOffering\":\"4b9db6b8-8193-467e-a
>
> c31-079db8a97ad3\",\"com.cloud.dc.DataCenter\":\"0d46010d-4212-4cab-8b93-cc9
>
> e2ba306bc\",\"com.cloud.offering.ServiceOffering\":\"4c4cb9e2-07c2-4bea-a696
>
> -0c16964c813a\"}","hypervisor":"VMware","iptonetworklist[0].networkid":"09b9
>
> 8bb1-7541-4418-9915-ddc4630e0566","name":"hasibi","_":"1418278784937","uuid"
>
> :"8afa8d90-8577-4770-b51d-66a8e43e8f71","ctxAccountId":"6","diskofferingid":
>
> "4b9db6b8-8193-467e-ac31-079db8a97ad3","ctxStartEventId":"1100","displayname
> ":"hasibi"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0,
> resultCode: 0, result: null, initMsid: 52239450489, completeMsid: null,
> lastUpdated: null, lastPolled: null, created: null}
>
> 2014-12-11 09:50:21,484 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> (API-Job-Executor-64:ctx-a9322275 job-443) Add job-443 into job monitoring
>
> 2014-12-11 09:50:21,484 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443) Executing AsyncJobVO {id:443,
> userId: 6, accountId: 6, instanceType: VirtualMachine, instanceId: 55, cmd:
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdInfo:
>
> {"sessionkey":"qH3a6K5YjssqcJ0rKnshCgmuXFk\u003d","serviceofferingid":"4c4cb
>
> 9e2-07c2-4bea-a696-0c16964c813a","cmdEventType":"VM.CREATE","ctxUserId":"6",
>
> "zoneid":"0d46010d-4212-4cab-8b93-cc9e2ba306bc","httpmethod":"GET","template
>
> id":"6b46ae18-ecb3-4b50-8d76-46d6aa2d4723","id":"55","response":"json","ctxD
>
> etails":"{\"com.cloud.template.VirtualMachineTemplate\":\"6b46ae18-ecb3-4b50
>
> -8d76-46d6aa2d4723\",\"com.cloud.vm.VirtualMachine\":\"8afa8d90-8577-4770-b5
>
> 1d-66a8e43e8f71\",\"com.cloud.offering.DiskOffering\":\"4b9db6b8-8193-467e-a
>
> c31-079db8a97ad3\",\"com.cloud.dc.DataCenter\":\"0d46010d-4212-4cab-8b93-cc9
>
> e2ba306bc\",\"com.cloud.offering.ServiceOffering\":\"4c4cb9e2-07c2-4bea-a696
>
> -0c16964c813a\"}","hypervisor":"VMware","iptonetworklist[0].networkid":"09b9
>
> 8bb1-7541-4418-9915-ddc4630e0566","name":"hasibi","_":"1418278784937","uuid"
>
> :"8afa8d90-8577-4770-b51d-66a8e43e8f71","ctxAccountId":"6","diskofferingid":
>
> "4b9db6b8-8193-467e-ac31-079db8a97ad3","ctxStartEventId":"1100","displayname
> ":"hasibi"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0,
> resultCode: 0, result: null, initMsid: 52239450489, completeMsid: null,
> lastUpdated: null, lastPolled: null, created: null}
>
> 2014-12-11 09:50:21,485 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-4:ctx-5ff3f7b4 ctx-fbe98be9) ===END=== xx.xx.xx.xx  -- GET
>
> command=deployVirtualMachine&response=json&sessionkey=qH3a6K5YjssqcJ0rKnshCg
>
> muXFk%3D&zoneid=0d46010d-4212-4cab-8b93-cc9e2ba306bc&templateid=6b46ae18-ecb
>
> 3-4b50-8d76-46d6aa2d4723&hypervisor=VMware&serviceofferingid=4c4cb9e2-07c2-4
>
> bea-a696-0c16964c813a&diskofferingid=4b9db6b8-8193-467e-ac31-079db8a97ad3&ip
>
> tonetworklist%5B0%5D.networkid=09b98bb1-7541-4418-9915-ddc4630e0566&displayn
> ame=hasibi&name=hasibi&_=1418278784937
>
> 2014-12-11 09:50:21,488 DEBUG [o.a.c.a.BaseCmd]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Ignoring paremeter
> displayvm as the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,488 DEBUG [o.a.c.a.BaseCmd]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Ignoring paremeter
> deploymentplanner as the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,503 DEBUG [c.c.u.AccountManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Access to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,512 DEBUG [c.c.u.AccountManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Access to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,523 DEBUG [c.c.u.AccountManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Access to
> Tmpl[221-OVA-221-6-0aedd0a4-48b1-3538-bb5e-73dca23fbda5 granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,523 DEBUG [o.a.c.a.BaseCmd]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Ignoring paremeter
> displayvm as the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,523 DEBUG [o.a.c.a.BaseCmd]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Ignoring paremeter
> deploymentplanner as the caller is not authorized to pass it in
>
> 2014-12-11 09:50:21,540 DEBUG [c.c.u.AccountManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Access to
> VM[User|i-6-55-VM] granted to
> Acct[1dc8b18f-8d39-46b2-b04c-6b3f7f049ee1-tebtest] by DomainChecker
>
> 2014-12-11 09:50:21,563 DEBUG [c.c.n.NetworkModelImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Service
> SecurityGroup is not supported in the network id=213
>
> 2014-12-11 09:50:21,569 DEBUG [c.c.n.NetworkModelImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Service
> SecurityGroup is not supported in the network id=213
>
> 2014-12-11 09:50:21,593 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Deploy avoids pods:
> [], clusters: [], hosts: []
>
> 2014-12-11 09:50:21,595 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) DeploymentPlanner
> allocation algorithm: com.cloud.deploy.FirstFitPlanner@332b5211
>
> 2014-12-11 09:50:21,595 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Trying to allocate
> a
> host and storage pools from dc:1, pod:null,cluster:null, requested cpu:
> 2400, requested ram: 2147483648
>
> 2014-12-11 09:50:21,595 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Is ROOT volume
> READY
> (pool already allocated)?: No
>
> 2014-12-11 09:50:21,595 DEBUG [c.c.d.FirstFitPlanner]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Searching all
> possible resources under this Zone: 1
>
> 2014-12-11 09:50:21,596 DEBUG [c.c.d.FirstFitPlanner]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Listing clusters in
> order of aggregate capacity, that have (atleast one host with) enough CPU
> and RAM capacity under this Zone: 1
>
> 2014-12-11 09:50:21,601 DEBUG [c.c.d.FirstFitPlanner]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Removing from the
> clusterId list these clusters from avoid set: []
>
> 2014-12-11 09:50:21,614 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Checking resources
> in Cluster: 1 under Pod: 1
>
> 2014-12-11 09:50:21,616 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Looking for hosts in dc: 1  pod:1  cluster:1
>
> 2014-12-11 09:50:21,620 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for
> allocation: [Host[-1-Routing]]
>
> 2014-12-11 09:50:21,627 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Found 1 hosts for allocation after
> prioritization:
> [Host[-1-Routing]]
>
> 2014-12-11 09:50:21,627 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Looking for speed=2400Mhz, Ram=2048
>
> 2014-12-11 09:50:21,638 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Host: 1 doesn't have cpu capability (cpu:16,
> speed:2399) to support requested CPU: 1 and requested speed: 2400
>
> 2014-12-11 09:50:21,639 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for
> requested CPU: 2400 and requested RAM: 2147483648 ,
> cpuOverprovisioningFactor: 8.0
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Hosts's actual total CPU: 38384 and CPU after
> applying overprovisioning: 307072
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Free CPU: 293272 , Requested CPU: 2400
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Free RAM: 173393149952 , Requested RAM:
> 2147483648
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Host has enough CPU and RAM available
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 13800,
> reserved: 0, actual total: 38384, total with overprovisioning: 307072;
> requested cpu:2400,alloc_from_last_host?:false ,considerReservedCapacity?:
> true
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used:
> 6979321856, reserved: 0, total: 180372471808; requested mem:
> 2147483648,alloc_from_last_host?:false ,considerReservedCapacity?: true
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Not using host 1; host has cpu capability? false,
> host has capacity?true
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153
> FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
>
> 2014-12-11 09:50:21,642 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) No suitable hosts
> found
>
> 2014-12-11 09:50:21,643 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) No suitable hosts
> found under this Cluster: 1
>
> 2014-12-11 09:50:21,645 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Could not find
> suitable Deployment Destination for this VM under any clusters, returning.
>
> 2014-12-11 09:50:21,645 DEBUG [c.c.d.FirstFitPlanner]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Searching all
> possible resources under this Zone: 1
>
> 2014-12-11 09:50:21,647 DEBUG [c.c.d.FirstFitPlanner]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Listing clusters in
> order of aggregate capacity, that have (atleast one host with) enough CPU
> and RAM capacity under this Zone: 1
>
> 2014-12-11 09:50:21,652 DEBUG [c.c.d.FirstFitPlanner]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Removing from the
> clusterId list these clusters from avoid set: [1]
>
> 2014-12-11 09:50:21,658 DEBUG [c.c.d.FirstFitPlanner]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) No clusters found
> after removing disabled clusters and clusters in avoid list, returning.
>
> 2014-12-11 09:50:21,662 DEBUG [c.c.v.UserVmManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Destroying vm
> VM[User|i-6-55-VM] as it failed to create on Host with Id:null
>
> 2014-12-11 09:50:21,677 DEBUG [c.c.c.CapacityManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) 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-12-11 09:50:21,770 WARN  [o.a.c.alerts]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153)  alertType:: 8 //
> dataCenterId:: 1 // podId:: null // clusterId:: null // message:: Failed to
> deploy Vm with Id: 55, on Host with Id: null
>
> 2014-12-11 09:50:21,810 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153)
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM[User|i-6-55-VM]Scope=interface com.cloud.dc.DataCenter;
> id=1
>
> 2014-12-11 09:50:21,810 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
> (API-Job-Executor-64:ctx-a9322275 job-443 ctx-1b238153) Unable to create a
> deployment for VM[User|i-6-55-VM]
>
> 2014-12-11 09:50:21,811 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443) Complete async job-443,
> jobStatus: FAILED, resultCode: 530, result:
>
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"er
> rorcode":533,"errortext":"Unable to create a deployment for
> VM[User|i-6-55-VM]"}
>
> 2014-12-11 09:50:21,818 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-64:ctx-a9322275 job-443) Done executing
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-443
>
> 2014-12-11 09:50:21,823 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> (API-Job-Executor-64:ctx-a9322275 job-443) Remove job-443 from job
> monitoring
>
>
>