Hi Gagan, I have found that the “insufficient capacity” error can be misleading. What version of CloudStack are you using and what hypervisor are your hosts?
With CS 4.5.1 + XenServer 6.5, I just saw “insufficient capacity” when trying to start a stopped instance but the problem was actually a bootloader problem on the bad instance. The best thing to do would be to tail the management log while trying to create the new instance to see what the error in the log is. That is how I found what the actual error was in my case. regards, -Carlos > On Jul 29, 2015, at 10:27 PM, gagan chhabra <gagan.13031...@gmail.com> wrote: > > I am just trying to get the Env up and running and its just private to my > Institute. There are 4 instances which are being used. There are other > stopped VMs which need not be affected during resolving the issues. So > cannot wipe everything clean and do a fresh installation. > > I had been looking into it and 3 hosts are up now. I am able to start the > old VMs but cannot create new instances(encounter insufficient capacity > error), although almost entire primary storage and secondary storage is > unused. > Major issues are now: > 1. I had management server restart once, but I found one Exception (cannot > ping mgmt-server at 9090). > 2. The primary storage usage on admin dashboard is different and in > storage_pool is different(it shows almost complete used up in database). > May be this causes insufficient capacity error. > > Gagandeep S. Chhabra > Reasearch Assitant, IITB > Mob: +91 97049 28427 > > > On Tue, Jul 28, 2015 at 7:34 PM, Daan Hoogland <daan.hoogl...@gmail.com> > wrote: > >> yeah, what Dag said but not as diplomatic ;) >> >> On Tue, Jul 28, 2015 at 4:01 PM, Dag Sonstebo >> <dag.sonst...@shapeblue.com> wrote: >>> Hi Gagan, >>> >>> Sounds like you might have a number of problems in your environment. >>> Before starting to dig too deep can you clarify what you are actually >>> trying to recover? I.e. are you just trying to get the CloudStack >>> environment up and running again or do you have production VM instances >>> running which you need to recover? >>> >>> Regards, >>> Dag Sonstebo >>> Cloud Architect >>> ShapeBlue >>> >>> >>> >>> On 28/07/2015 14:54, "gagan chhabra" <gagan.13031...@gmail.com> wrote: >>> >>>> I have been given an already set-up Cloud stack environment with 6 hosts >>>> (2 >>>> clusters with 3 hosts each) ,1 management server and one NFS storage as >>>> primary storage. So in total there are 8 physical machines (6 hosts + 1 >>>> cloudstack-mgmt-server + 1 NFS:13TBytes). Management server's storage >>>> space >>>> is used as secondary storage. >>>> >>>> I just have one host up and running in cluster-2 and there is no host >>>> working in cluster-1. People who worked before me, may have messed up >> with >>>> persistent tier changing values of states, status for hosts,vms,storage >>>> etc >>>> for their testing administering the cloudstack-setup . So now Admin UI >>>> always shows error in notifications area, unable to change state to >>>> maintenance, cannot expunge vms, cannot create VMs and what not. >>>> *One major issue is for primary storage, used_bytes in storage_pool table >>>> is set to high value in MySQL database but on admin-dashboard it shows >>>> 540GB used(total capacity being 13TB). So while creating VMs, >> insufficient >>>> capacity error is encountered. * >>>> >>>> Any suggestion where to start for this? Doing everything from the scratch >>>> will be plan-B. >>>> >>>> >>>> Gagandeep S. Chhabra >>>> Mob: +91 97049 28427 >>> >>> Find out more about ShapeBlue and our range of CloudStack related >> services >>> >>> IaaS Cloud Design & Build< >> http://shapeblue.com/iaas-cloud-design-and-build//> >>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> >>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> >>> CloudStack Software Engineering< >> http://shapeblue.com/cloudstack-software-engineering/> >>> CloudStack Infrastructure Support< >> http://shapeblue.com/cloudstack-infrastructure-support/> >>> CloudStack Bootcamp Training Courses< >> 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 SA Pty Ltd is a company registered by The Republic of >> South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is >> a registered trademark. >> >> >> >> -- >> Daan >>