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 51D6E117DE for ; Thu, 11 Sep 2014 07:28:48 +0000 (UTC) Received: (qmail 16020 invoked by uid 500); 11 Sep 2014 07:28:47 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 15970 invoked by uid 500); 11 Sep 2014 07:28:47 -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 15954 invoked by uid 99); 11 Sep 2014 07:28:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 07:28:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of geoff.higginbottom@shapeblue.com designates 157.56.112.146 as permitted sender) Received: from [157.56.112.146] (HELO emea01-am1-obe.outbound.protection.outlook.com) (157.56.112.146) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 07:28:39 +0000 Received: from AMXPR07MB070.eurprd07.prod.outlook.com (10.242.70.148) by AMXPR07MB070.eurprd07.prod.outlook.com (10.242.70.148) with Microsoft SMTP Server (TLS) id 15.0.1024.12; Thu, 11 Sep 2014 07:28:15 +0000 Received: from AMXPR07MB070.eurprd07.prod.outlook.com ([169.254.16.119]) by AMXPR07MB070.eurprd07.prod.outlook.com ([169.254.16.119]) with mapi id 15.00.1024.012; Thu, 11 Sep 2014 07:28:15 +0000 From: Geoff Higginbottom To: "" Subject: Re: Unable to start a VM due to insufficient capacity Thread-Topic: Unable to start a VM due to insufficient capacity Thread-Index: AQHPrM1cFK6EW4Hp8UGhwMpWf6C9cJu6mJFYgADMrgCAABuPZIBARmGAgAADHPA= Date: Thu, 11 Sep 2014 07:28:15 +0000 Message-ID: <152B12C7-7947-4A33-A7F9-33ACDB87FBE8@shapeblue.com> References: <53DA552C.5010909@procne.it> ,<53DB4A66.1050309@procne.it> <94B6896A-874A-4D65-B7A7-734726E2DB77@shapeblue.com>,<54114C73.4040906@procne.it> In-Reply-To: <54114C73.4040906@procne.it> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [81.174.246.160] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;UriScan:; x-forefront-prvs: 03319F6FEF x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(13734003)(479174003)(199003)(53754006)(189002)(24454002)(377424004)(24434003)(106356001)(95666004)(19617315012)(16236675004)(99396002)(50986999)(15395725005)(107046002)(107886001)(83322001)(19580405001)(19580395003)(90102001)(110136001)(46102001)(15202345003)(105586002)(106116001)(575784001)(79102001)(4396001)(74662001)(33656002)(86362001)(76176999)(101416001)(77982001)(74502001)(31966008)(54356999)(81342001)(16601075003)(87936001)(80022001)(15975445006)(82746002)(92566001)(64706001)(85852003)(92726001)(83072002)(66066001)(20776003)(2656002)(36756003)(21056001)(83716003)(77096002)(93886004)(85306004)(76482001)(97736003)(551544002)(81542001)(104396001)(491001)(579004);DIR:OUT;SFP:1102;SCL:1;SRVR:AMXPR07MB070;H:AMXPR07MB070.eurprd07.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: multipart/alternative; boundary="_000_152B12C779474A33A7F933ACDB87FBE8shapebluecom_" MIME-Version: 1.0 X-OriginatorOrg: shapeblue.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_152B12C779474A33A7F933ACDB87FBE8shapebluecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Ugo, Did restarting the network with cleanup option resolve your issue last time= , if yes have you tried the same on this network? Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbottom@shapeblue.com |= www.shapeblue.com | Twitter:@cloudstackguru ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 11 Sep 2014, at 08:17, "Ugo Vasi" > wrote: Hi Geoff, I still have the problem creating new VMs but in another isolated network. = The problem seems to be the same: 2014-09-11 08:55:27,048 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) VM is being created in podId: 1 2014-09-11 08:55:27,050 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor= -55:ctx-b5c34ec7 ctx-3715f5de) Network id=3D212 is already implemented 2014-09-11 08:55:27,118 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-55:ctx= -b5c34ec7 ctx-3715f5de) Service SecurityGroup is not supported in the netwo= rk id=3D212 2014-09-11 08:55:27,122 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor= -55:ctx-b5c34ec7 ctx-3715f5de) Changing active number of nics for network i= d=3D212 on 1 2014-09-11 08:55:27,174 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor= -55:ctx-b5c34ec7 ctx-3715f5de) Asking VirtualRouter to prepare for Nic[116-= 86-8429f13f-7c3b-4b8a-aea3-9b8e9a3f4c03-10.1.1.19] 2014-09-11 08:55:27,181 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] = (Job-Executor-55:ctx-b5c34ec7 ctx-3715f5de) Lock is acquired for network id= 212 as a part of router startup in Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(= Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Ho= st(7)-Storage(Volume(98|ROOT-->Pool(6))] 2014-09-11 08:55:27,183 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] = (Job-Executor-55:ctx-b5c34ec7 ctx-3715f5de) Lock is released for network id= 212 as a part of router startup in Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(= Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Ho= st(7)-Storage(Volume(98|ROOT-->Pool(6))] 2014-09-11 08:55:27,189 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-55:ctx= -b5c34ec7 ctx-3715f5de) Service SecurityGroup is not supported in the netwo= rk id=3D212 2014-09-11 08:55:27,198 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-55:ctx= -b5c34ec7 ctx-3715f5de) Service SecurityGroup is not supported in the netwo= rk id=3D212 2014-09-11 08:55:27,202 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] = (Job-Executor-55:ctx-b5c34ec7 ctx-3715f5de) Applying dhcp entry in network = Ntwk[212|Guest|8] 2014-09-11 08:55:27,215 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304056: Sending { Cmd , MgmtId: 77916390353436, = via: 7(csh1b), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.routing.DhcpE= ntryCommand":{"vmMac":"02:00:15:76:00:0e","vmIpAddress":"10.1.1.19","vmName= ":"giannitest","defaultRouter":"10.1.1.1","defaultDns":"10.1.1.1","duid":"0= 0:03:00:01:02:00:15:76:00:0e","isDefault":true,"executeInSequence":false,"a= ccessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced",= "router.name":"r-60-VM","router.ip":"169.254.1.230"},"wait":0}}] } 2014-09-11 08:55:27,941 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secsto= rage-1:ctx-327037b2) Zone 1 is ready to launch secondary storage VM 2014-09-11 08:55:28,022 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy= -1:ctx-a8ba3b1e) Zone 1 is ready to launch console proxy 2014-09-11 08:55:28,820 DEBUG [c.c.a.ApiServlet] (catalina-exec-16:ctx-58e9= 2382) =3D=3D=3DSTART=3D=3D=3D 192.168.130.89 -- GET command=3DqueryAsyncJo= bResult&jobId=3D195bf80a-9823-4ec3-add4-8907b98fbaf0&response=3Djson&sessio= nkey=3DqGZA6KYoc1SB%2Bq2k70HoM%2BBBQTU%3D&_=3D1410418528731 2014-09-11 08:55:29,069 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:nu= ll) Seq 7-564304056: Processing: { Ans: , MgmtId: 77916390353436, via: 7, = Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}= }] } 2014-09-11 08:55:29,069 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304056: Received: { Ans: , MgmtId: 7791639035343= 6, via: 7, Ver: v1, Flags: 10, { Answer } } 2014-09-11 08:55:29,075 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-55:ctx= -b5c34ec7 ctx-3715f5de) Service SecurityGroup is not supported in the netwo= rk id=3D212 2014-09-11 08:55:29,078 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] = (Job-Executor-55:ctx-b5c34ec7 ctx-3715f5de) Applying userdata and password = entry in network Ntwk[212|Guest|8] 2014-09-11 08:55:29,089 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304057: Sending { Cmd , MgmtId: 77916390353436, = via: 7(csh1b), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.routing.SaveP= asswordCommand":{,"vmIpAddress":"10.1.1.19","vmName":"giannitest","executeI= nSequence":false,"accessDetails":{"router.guest.ip":"10.1.1.1","zone.networ= k.type":"Advanced","router.ip":"169.254.1.230","router.name":"r-60-VM"},"wa= it":0}},{"com.cloud.agent.api.routing.VmDataCommand":{"vmIpAddress":"10.1.1= .19","vmName":"giannitest","executeInSequence":false,"accessDetails":{"rout= er.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"169.254= .1.230","router.name":"r-60-VM"},"wait":0}}] } 2014-09-11 08:55:29,399 DEBUG [c.c.a.t.Request] (AgentManager-Handler-10:nu= ll) Seq 7-564304057: Processing: { Ans: , MgmtId: 77916390353436, via: 7, = Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}= },{"com.cloud.agent.api.Answer":{"result":false,"details":"VmDataCommand fa= iled, check agent logs","wait":0}}] } 2014-09-11 08:55:29,491 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304057: Received: { Ans: , MgmtId: 7791639035343= 6, via: 7, Ver: v1, Flags: 10, { Answer, Answer } } 2014-09-11 08:55:29,491 INFO [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Unable to contact resource. com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] i= s unreachable: Unable to apply userdata and password entry on router at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.apply= Rules(VirtualNetworkApplianceManagerImpl.java:3915) at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.apply= UserData(VirtualNetworkApplianceManagerImpl.java:3118) at sun.reflect.GeneratedMethodAccessor472.invoke(Unknown Source) ... 2014-09-11 08:55:29,755 DEBUG [c.c.a.ApiServlet] (catalina-exec-16:ctx-58e9= 2382 ctx-ad8ddf67) =3D=3D=3DEND=3D=3D=3D 192.168.130.89 -- GET command=3Dqu= eryAsyncJobResult&jobId=3D195bf80a-9823-4ec3-add4-8907b98fbaf0&response=3Dj= son&sessionkey=3DqGZA6KYoc1SB%2Bq2k70HoM%2BBBQTU%3D&_=3D1410418528731 2014-09-11 08:55:29,798 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Cleaning up resources for the vm VM[User|g= iannitest] in Starting state 2014-09-11 08:55:29,800 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304058: Sending { Cmd , MgmtId: 77916390353436, = via: 7(csh1b), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":= {"isProxy":false,"executeInSequence":false,"vmName":"i-2-86-VM","wait":0}}]= } 2014-09-11 08:55:29,950 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:nul= l) Seq 7-564304058: Processing: { Ans: , MgmtId: 77916390353436, via: 7, V= er: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"wait"= :0}}] } 2014-09-11 08:55:29,950 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304058: Received: { Ans: , MgmtId: 7791639035343= 6, via: 7, Ver: v1, Flags: 10, { StopAnswer } } 2014-09-11 08:55:29,955 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-55:ctx= -b5c34ec7 ctx-3715f5de) Service SecurityGroup is not supported in the netwo= rk id=3D212 2014-09-11 08:55:29,957 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor= -55:ctx-b5c34ec7 ctx-3715f5de) Changing active number of nics for network i= d=3D212 on -1 2014-09-11 08:55:30,051 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor= -55:ctx-b5c34ec7 ctx-3715f5de) Asking VirtualRouter to release NicProfile[1= 16-86-8429f13f-7c3b-4b8a-aea3-9b8e9a3f4c03-10.1.1.19-null 2014-09-11 08:55:30,051 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Successfully released network resources fo= r the vm VM[User|giannitest] 2014-09-11 08:55:30,051 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Successfully cleanued up resources for the= vm VM[User|giannitest] in Starting state 2014-09-11 08:55:30,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) Deploy avoids pods: [], clusters: [], = hosts: [7] 2014-09-11 08:55:30,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) DataCenter id =3D '1' provided is in a= void set, DeploymentPlanner cannot allocate the VM, returning. 2014-09-11 08:55:30,214 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) VM state transitted from :Starting to Stopped wi= th event: OperationFailedvm's original host id: null new host id: null host= id before state transition: 7 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) Hosts's actual total CPU: 36256 and CPU after ap= plying overprovisioning: 36256 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) Hosts's actual total RAM: 50639785984 and RAM af= ter applying overprovisioning: 50639785984 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) release cpu from host: 7, old used: 26500,reserv= ed: 0, actual total: 36256, total with overprovisioning: 36256; new used: 2= 6000,reserved:0; movedfromreserved: false,moveToReserveredfalse 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) release mem from host: 7, old used: 21072183296,= reserved: 0, total: 50639785984; new used: 20535312384,reserved:0; movedfro= mreserved: false,moveToReserveredfalse 2014-09-11 08:55:30,302 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) VM state transitted from :Stopped to Starting wi= th event: StartRequestedvm's original host id: null new host id: null host = id before state transition: null 2014-09-11 08:55:30,302 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Successfully transitioned to start state f= or VM[User|giannitest] reservation id =3D 4b6c2f8d-a34c-4b86-a0d4-acd5ea873= 53a 2014-09-11 08:55:30,340 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Trying to deploy VM, vm has dcId: 1 and po= dId: 1 2014-09-11 08:55:30,340 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Deploy avoids pods: [], clusters: [], host= s: [7] 2014-09-11 08:55:30,348 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) Deploy avoids pods: [], clusters: [], = hosts: [7] 2014-09-11 08:55:30,348 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) DataCenter id =3D '1' provided is in a= void set, DeploymentPlanner cannot allocate the VM, returning. 2014-09-11 08:55:30,435 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) VM state transitted from :Starting to Stopped wi= th event: OperationFailedvm's original host id: null new host id: null host= id before state transition: null 2014-09-11 08:55:30,477 DEBUG [c.c.v.UserVmManagerImpl] (Job-Executor-55:ct= x-b5c34ec7 ctx-3715f5de) Destroying vm VM[User|giannitest] as it failed to = create on Host with Id:null 2014-09-11 08:55:30,609 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) 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-09-11 08:55:29,755 DEBUG [c.c.a.ApiServlet] (catalina-exec-16:ctx-58e9= 2382 ctx-ad8ddf67) =3D=3D=3DEND=3D=3D=3D 192.168.130.89 -- GET command=3Dqu= eryAsyncJobResult&jobId=3D195bf80a-9823-4ec3-add4-8907b98fbaf0&response=3Dj= son&sessionkey=3DqGZA6KYoc1SB%2Bq2k70HoM%2BBBQTU%3D&_=3D1410418528731 2014-09-11 08:55:29,798 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Cleaning up resources for the vm VM[User|g= iannitest] in Starting state 2014-09-11 08:55:29,800 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304058: Sending { Cmd , MgmtId: 77916390353436, = via: 7(csh1b), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":= {"isProxy":false,"executeInSequence":false,"vmName":"i-2-86-VM","wait":0}}]= } 2014-09-11 08:55:29,950 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:nul= l) Seq 7-564304058: Processing: { Ans: , MgmtId: 77916390353436, via: 7, V= er: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"wait"= :0}}] } 2014-09-11 08:55:29,950 DEBUG [c.c.a.t.Request] (Job-Executor-55:ctx-b5c34e= c7 ctx-3715f5de) Seq 7-564304058: Received: { Ans: , MgmtId: 7791639035343= 6, via: 7, Ver: v1, Flags: 10, { StopAnswer } } 2014-09-11 08:55:29,955 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-55:ctx= -b5c34ec7 ctx-3715f5de) Service SecurityGroup is not supported in the netwo= rk id=3D212 2014-09-11 08:55:29,957 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor= -55:ctx-b5c34ec7 ctx-3715f5de) Changing active number of nics for network i= d=3D212 on -1 2014-09-11 08:55:30,051 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor= -55:ctx-b5c34ec7 ctx-3715f5de) Asking VirtualRouter to release NicProfile[1= 16-86-8429f13f-7c3b-4b8a-aea3-9b8e9a3f4c03-10.1.1.19-null 2014-09-11 08:55:30,051 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Successfully released network resources fo= r the vm VM[User|giannitest] 2014-09-11 08:55:30,051 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Successfully cleanued up resources for the= vm VM[User|giannitest] in Starting state 2014-09-11 08:55:30,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) Deploy avoids pods: [], clusters: [], = hosts: [7] 2014-09-11 08:55:30,058 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) DataCenter id =3D '1' provided is in a= void set, DeploymentPlanner cannot allocate the VM, returning. 2014-09-11 08:55:30,214 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) VM state transitted from :Starting to Stopped wi= th event: OperationFailedvm's original host id: null new host id: null host= id before state transition: 7 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) Hosts's actual total CPU: 36256 and CPU after ap= plying overprovisioning: 36256 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) Hosts's actual total RAM: 50639785984 and RAM af= ter applying overprovisioning: 50639785984 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) release cpu from host: 7, old used: 26500,reserv= ed: 0, actual total: 36256, total with overprovisioning: 36256; new used: 2= 6000,reserved:0; movedfromreserved: false,moveToReserveredfalse 2014-09-11 08:55:30,218 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) release mem from host: 7, old used: 21072183296,= reserved: 0, total: 50639785984; new used: 20535312384,reserved:0; movedfro= mreserved: false,moveToReserveredfalse 2014-09-11 08:55:30,302 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) VM state transitted from :Stopped to Starting wi= th event: StartRequestedvm's original host id: null new host id: null host = id before state transition: null 2014-09-11 08:55:30,302 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Successfully transitioned to start state f= or VM[User|giannitest] reservation id =3D 4b6c2f8d-a34c-4b86-a0d4-acd5ea873= 53a 2014-09-11 08:55:30,340 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Trying to deploy VM, vm has dcId: 1 and po= dId: 1 2014-09-11 08:55:30,340 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-55:ctx-b5c34ec7 ctx-3715f5de) Deploy avoids pods: [], clusters: [], host= s: [7] 2014-09-11 08:55:30,348 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) Deploy avoids pods: [], clusters: [], = hosts: [7] 2014-09-11 08:55:30,348 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Ex= ecutor-55:ctx-b5c34ec7 ctx-3715f5de) DataCenter id =3D '1' provided is in a= void set, DeploymentPlanner cannot allocate the VM, returning. 2014-09-11 08:55:30,435 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) VM state transitted from :Starting to Stopped wi= th event: OperationFailedvm's original host id: null new host id: null host= id before state transition: null 2014-09-11 08:55:30,477 DEBUG [c.c.v.UserVmManagerImpl] (Job-Executor-55:ct= x-b5c34ec7 ctx-3715f5de) Destroying vm VM[User|giannitest] as it failed to = create on Host with Id:null 2014-09-11 08:55:30,609 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-55:= ctx-b5c34ec7 ctx-3715f5de) 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-09-11 08:55:30,809 WARN [o.a.c.alerts] (Job-Executor-55:ctx-b5c34ec7 = ctx-3715f5de) alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:= : null // message:: Failed to deploy Vm with Id: 86, on Host with Id: null 2014-09-11 08:55:30,932 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Hand= ler-1:null) Ping from 6 2014-09-11 08:55:31,078 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-5= 5:ctx-b5c34ec7) Unexpected exception while executing org.apache.cloudstack.= api.command.user.vm.DeployVMCmd com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due t= o insufficient capacity at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManage= rImpl.java:605) at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl= .deployVirtualMachine(VMEntityManagerImpl.java:237) at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntit= yImpl.deploy(VirtualMachineEntityImpl.java:207) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerI= mpl.java:3581) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerI= mpl.java:3161) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerI= mpl.java:3147) at sun.reflect.GeneratedMethodAccessor587.invoke(Unknown Source) ... Il 01/08/2014 11:44, Geoff Higginbottom ha scritto: Ugo, Login to the VR and tail the messages log then attempt to start the VM, you= should see various messages re DHCP updating etc in the VR. If you don't = see the VR update try restarting the network Iain the 'cleanup' option, thi= s will create a new VR. Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbottom@shapeblue.com | www.shapeblue.com | Twitter:@cloudstackguru ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 1 Aug 2014, at 09:06, "Ugo Vasi" > wrote: Hi Geoff, I tried restarting r-29-VM but the problem is still blocking creation of ne= w VM in that isolated network. Creating a new VM in another isolated network, it works. Where can I look a= t to find the problem? Il 31/07/2014 21:53, Geoff Higginbottom ha scritto: Ugo, Looks like CS is failing to update the VR with details for the new VM, try = restarting the VR. Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbottom@shapeblue.com | www.shapeblue.com ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 31 Jul 2014, at 15:40, "Ugo Vasi" > wrote: Hi everybody, I installed a CloudStack 4.3.0 system with a manager (in a virtual machine)= , two NFS primary storage, one NFS secondary storare and two host agent on = ubuntu distribution. The cluster have one advanced zone without security group configuration wit= h KVM hipervisors. I create some VM but now does not allow me to create more giving the error = message "Unable to start a VM due to insufficient capacity". I am sure that the resources (ip, ram, cpu and storage) are enough to creat= e new instances. In dashboard I see all ok. >From the management-server.log I see this errors messages (see attachment = for full version) when I try to deploy a new virtual machine with 1x1GHz cp= u, 1GB or RAM and 20GB disk space: 2014-07-31 14:59:11,983 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:nu= ll) Seq 1-684594119: Processing: { Ans: , MgmtId: 77916390353436, via: 1, = Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}= },{"com.cloud.agent.api.Answer":{"result":false,"details":"VmDataCommand fa= iled, check agent logs","wait":0}}] } 2014-07-31 14:59:11,983 INFO [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-26:ctx-ab3aee38 ctx-d8600c16) Unable to contact resource. com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] i= s unreachable: Unable to apply userdata and password entry on router 2014-07-31 14:59:12,453 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-26:= ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting to Stopped wi= th event: OperationFailedvm's original host id: null new host id: null host= id before state transition: 7 2014-07-31 14:59:12,677 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-26:= ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting to Stopped wi= th event: OperationFailedvm's original host id: null new host id: null host= id before state transition: null 2014-07-31 14:59:12,708 DEBUG [c.c.v.UserVmManagerImpl] (Job-Executor-26:ct= x-ab3aee38 ctx-d8600c16) Destroying vm VM[User|csweb2] as it failed to crea= te on Host with Id:null 2014-07-31 14:59:12,738 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-26:= ctx-ab3aee38 ctx-d8600c16) 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-07-31 14:59:12,929 WARN [o.a.c.alerts] (Job-Executor-26:ctx-ab3aee38 = ctx-d8600c16) alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:= : null // message:: Failed to deploy Vm with Id: 70, on Host with Id: null 2014-07-31 14:59:13,159 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-2= 6:ctx-ab3aee38) Unexpected exception while executing org.apache.cloudstack.= api.command.user.vm.DeployVMCmd com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due t= o insufficient capacity Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable = to create a deployment for VM[User|csweb2]Scope=3Dinterface com.cloud.dc.Da= taCenter; id=3D1 2014-07-31 14:59:13,161 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Execut= or-26:ctx-ab3aee38) Complete async job-783, jobStatus: FAILED, resultCode: = 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uu= idList":[],"errorcode":530,"errortext":"Unable to start a VM due to insuffi= cient capacity"} 2014-07-31 14:59:46,280 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Execut= or-27:ctx-82be396e ctx-41f0cf24) Stopped called on VM[User|csweb2] but the = state is Error 2014-07-31 14:59:46,330 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-27:= ctx-82be396e ctx-41f0cf24) VM state transitted from :Error to Expunging wit= h event: DestroyRequestedvm's original host id: null new host id: null host= id before state transition: null I tried to search in others log file ("VmDataCommand failed, check agent lo= gs"), but I don't found nothing... Can anyone Help me? -- U g o V a s i > P r o c n e s.r.l >) via Cotonificio 45 33010 Tavagnacco IT phone: +390432486523 fax: +390432486523 Le informazioni contenute in questo messaggio sono riservate e confidenziali ed ? vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio ? destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene gentilmente comunicazione. Per qualsiasi informazione si prega di contattare support@procne.it . Rif. D.L. 196/2003 Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build CSForge - rapid IaaS deployment framework CloudStack Consulting CloudStack Infrastructure Support CloudStack Bootcamp Training Courses This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended 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 y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny 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 c= ompany registered by The Republic of South Africa and is traded under licen= se from Shape Blue Ltd. ShapeBlue is a registered trademark. -- U g o V a s i > P r o c n e s.r.l >) via Cotonificio 45 33010 Tavagnacco IT phone: +390432486523 fax: +390432486523 Le informazioni contenute in questo messaggio sono riservate e confidenziali ed ? vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio ? destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene gentilmente comunicazione. Per qualsiasi informazione si prega di contattare support@procne.it . Rif. D.L. 196/2003 Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build CSForge - rapid IaaS deployment framework CloudStack Consulting CloudStack Infrastructure Support CloudStack Bootcamp Training Courses This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended 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 y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny 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 c= ompany registered by The Republic of South Africa and is traded under licen= se from Shape Blue Ltd. ShapeBlue is a registered trademark. -- U g o V a s i > P r o c n e s.r.l >) via Cotonificio 45 33010 Tavagnacco IT phone: +390432486523 fax: +390432486523 Le informazioni contenute in questo messaggio sono riservate e confidenziali ed ? vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio ? destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene gentilmente comunicazione. Per qualsiasi informazione si prega di contattare support@procne.it . Rif. D.L. 196/2003 Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build CSForge - rapid IaaS deployment framework CloudStack Consulting CloudStack Infrastructure Support CloudStack Bootcamp Training Courses This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended 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 y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny 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 c= ompany registered by The Republic of South Africa and is traded under licen= se from Shape Blue Ltd. ShapeBlue is a registered trademark. --_000_152B12C779474A33A7F933ACDB87FBE8shapebluecom_--