Re: affinity group not work
But I want to use specific vms for specific hosts. For example I want to create instance-1 to host-1. Not host-2 2014-04-22 11:17 GMT+03:00 Geoff Higginbottom < geoff.higginbot...@shapeblue.com>: > Affinity Groups are optional, If you have limited Hosts, simply do not > select an affinity group when deploying a VM > > Regards > > Geoff Higginbottom > > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 > > geoff.higginbot...@shapeblue.com > > -Original Message- > From: gokhan kocaman [mailto:gokhank...@gmail.com] > Sent: 22 April 2014 09:00 > To: users@cloudstack.apache.org > Subject: Re: affinity group not work > > I can only choose anti-affinity group as type. No other options seem. > > > 2014-04-22 10:37 GMT+03:00 Geoff Higginbottom < > geoff.higginbot...@shapeblue.com>: > > > Two things here. You say you dedicated a host to an account which has > > access to a project, this means this host is now unavailable to the > > project, and can only be used by that account directly. > > > > Secondly the error message is highlighting a problem with affinity > groups. > > If you are using an Anti-Affinity group and wish to create 3 VMs, you > > will need at least 3 hosts which are available to the Project > > (obviously excluding the one you dedicated to the account) > > > > Regards > > > > Geoff Higginbottom > > CTO / Cloud Architect > > > > D: +44 20 3603 0542 | S: +44 20 3603 0540 > +442036030540> | M: +447968161581 > > > > geoff.higginbot...@shapeblue.com<mailto:geoff.higginbottom@shapeblue.c > > om> > > | www.shapeblue.com | > > | Twitter:@cloudstackguru< > > https://twitter.com/#!/cloudstackguru> > > > > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N > > 4HS > > > > > > On 22 Apr 2014, at 06:34, "gokhan kocaman" > gokhank...@gmail.com>> wrote: > > > > I created a project and Project resources are: > > > > Max. templates5 > > Max. snapshots5 > > Max. volumes 5 > > Max. public IPs 5 > > Max. networks 5 > > Max. user VMs 5 > > Max. VPCs 5 > > Max. CPU cores 40 > > Max. primary (GiB) 200 > > Max. secondary (GiB)400 > > Max. memory (MiB) 40960 > > > > Then I dedicated my host to my account that belongs to the project I > > mentioned above. > > > > > > I created two instances that have 0.5ghz CPU, 1GB ram, 5gb hard disk ... > > I thought that I can create up to 5 instance but after creating two > > instance I can't create third one. > > > > The error is: > > > > Unable to create a deployment for VM[User|xxx19], Please check the > > affinity groups provided, there may not be sufficient capacity to > > follow them > > > > Please help... > > Need Enterprise Grade Support for Apache CloudStack? > > Our CloudStack Infrastructure Support< > > http://shapeblue.com/cloudstack-infrastructure-support/> offers the > > best > > 24/7 SLA for CloudStack Environments. > > > > Apache CloudStack Bootcamp training courses > > > > **NEW!** CloudStack 4.2.1 training< > > http://shapeblue.com/cloudstack-training/> > > 28th-29th May 2014, Bangalore. Classromm< > > http://shapeblue.com/cloudstack-training/> > > 16th-20th June 2014, Region A. Instructor led, On-line< > > http://shapeblue.com/cloudstack-training/> > > 23rd-27th June 2014, Region B. Instructor led, On-line< > > http://shapeblue.com/cloudstack-training/> > > 15th-20th September 2014, Region A. Instructor led, On-line< > > http://shapeblue.com/cloudstack-training/> > > 22nd-27th September 2014, Region B. Instructor led, On-line< > > http://shapeblue.com/cloudstack-training/> > > 1st-6th December 2014, Region A. Instructor led, On-line< > > http://shapeblue.com/cloudstack-training/> > > 8th-12th December 2014, Region B. Instructor led, On-line< > > 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 y
Insufficient capacity exception
Hi, I have enough resources on my hosts (ram,cpu ...) But I got error while try to create vm. Log is: 2014-04-22 10:58:50,555 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Successfully transitioned to start state for VM[User|yuyu] reservation id = c93b30c1-3cfa-4bbe-86cc-bd21eee7d62e 2014-04-22 10:58:50,603 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Trying to deploy VM, vm has dcId: 1 and podId: 1 2014-04-22 10:58:50,603 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Deploy avoids pods: [], clusters: [], hosts: [1, 4] 2014-04-22 10:58:50,607 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Deploy avoids pods: [], clusters: [], hosts: [1, 4] 2014-04-22 10:58:50,608 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@21a24ed3 2014-04-22 10:58:50,608 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 536870912 2014-04-22 10:58:50,608 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Is ROOT volume READY (pool already allocated)?: No 2014-04-22 10:58:50,608 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Searching resources only under specified Pod: 1 2014-04-22 10:58:50,608 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1 2014-04-22 10:58:50,610 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Removing from the clusterId list these clusters from avoid set: [] 2014-04-22 10:58:50,613 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Checking resources in Cluster: 1 under Pod: 1 2014-04-22 10:58:50,613 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1 2014-04-22 10:58:50,614 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69 FirstFitRoutingAllocator) FirstFitAllocator has 2 hosts to check for allocation: [Host[-4-Routing], Host[-1-Routing]] 2014-04-22 10:58:50,616 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69 FirstFitRoutingAllocator) Found 2 hosts for allocation after prioritization: [Host[-4-Routing], Host[-1-Routing]] 2014-04-22 10:58:50,616 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512 2014-04-22 10:58:50,616 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69 FirstFitRoutingAllocator) Host name: host2, hostId: 4 is in avoid set, skipping this and trying other available hosts 2014-04-22 10:58:50,616 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69 FirstFitRoutingAllocator) Host name: host1, hostId: 1 is in avoid set, skipping this and trying other available hosts 2014-04-22 10:58:50,616 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69 FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts 2014-04-22 10:58:50,616 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) No suitable hosts found 2014-04-22 10:58:50,616 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) No suitable hosts found under this Cluster: 1 2014-04-22 10:58:50,617 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Could not find suitable Deployment Destination for this VM under any clusters, returning. 2014-04-22 10:58:50,617 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Searching resources only under specified Pod: 1 2014-04-22 10:58:50,617 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1 2014-04-22 10:58:50,618 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) Removing from the clusterId list these clusters from avoid set: [1] 2014-04-22 10:58:50,618 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) No clusters found after removing disabled clusters and clusters in avoid list, returning. 2014-04-22 10:58:50,711 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-51:ctx-4325fdf4 ctx-86395c69) 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-04-22 10:58:50,76
Re: affinity group not work
I can only choose anti-affinity group as type. No other options seem. 2014-04-22 10:37 GMT+03:00 Geoff Higginbottom < geoff.higginbot...@shapeblue.com>: > Two things here. You say you dedicated a host to an account which has > access to a project, this means this host is now unavailable to the > project, and can only be used by that account directly. > > Secondly the error message is highlighting a problem with affinity groups. > If you are using an Anti-Affinity group and wish to create 3 VMs, you will > need at least 3 hosts which are available to the Project (obviously > excluding the one you dedicated to the account) > > Regards > > Geoff Higginbottom > CTO / Cloud Architect > > D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581 > > geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> > | www.shapeblue.com | Twitter:@cloudstackguru< > https://twitter.com/#!/cloudstackguru> > > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N > 4HS > > > On 22 Apr 2014, at 06:34, "gokhan kocaman" gokhank...@gmail.com>> wrote: > > I created a project and Project resources are: > > Max. templates5 > Max. snapshots5 > Max. volumes 5 > Max. public IPs 5 > Max. networks 5 > Max. user VMs 5 > Max. VPCs 5 > Max. CPU cores 40 > Max. primary (GiB) 200 > Max. secondary (GiB)400 > Max. memory (MiB) 40960 > > Then I dedicated my host to my account that belongs to the project I > mentioned above. > > > I created two instances that have 0.5ghz CPU, 1GB ram, 5gb hard disk ... > I thought that I can create up to 5 instance but after creating two > instance I can't create third one. > > The error is: > > Unable to create a deployment for VM[User|xxx19], Please check the affinity > groups provided, there may not be sufficient capacity to follow them > > Please help... > Need Enterprise Grade Support for Apache CloudStack? > Our CloudStack Infrastructure Support< > http://shapeblue.com/cloudstack-infrastructure-support/> offers the best > 24/7 SLA for CloudStack Environments. > > Apache CloudStack Bootcamp training courses > > **NEW!** CloudStack 4.2.1 training< > http://shapeblue.com/cloudstack-training/> > 28th-29th May 2014, Bangalore. Classromm< > http://shapeblue.com/cloudstack-training/> > 16th-20th June 2014, Region A. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 23rd-27th June 2014, Region B. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 15th-20th September 2014, Region A. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 22nd-27th September 2014, Region B. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 1st-6th December 2014, Region A. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 8th-12th December 2014, Region B. Instructor led, On-line< > 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 is a > registered trademark. >
affinity group not work
I created a project and Project resources are: Max. templates5 Max. snapshots5 Max. volumes 5 Max. public IPs 5 Max. networks 5 Max. user VMs 5 Max. VPCs 5 Max. CPU cores 40 Max. primary (GiB) 200 Max. secondary (GiB)400 Max. memory (MiB) 40960 Then I dedicated my host to my account that belongs to the project I mentioned above. I created two instances that have 0.5ghz CPU, 1GB ram, 5gb hard disk ... I thought that I can create up to 5 instance but after creating two instance I can't create third one. The error is: Unable to create a deployment for VM[User|xxx19], Please check the affinity groups provided, there may not be sufficient capacity to follow them Please help...