Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6753C10B27 for ; Mon, 6 Jan 2014 00:55:51 +0000 (UTC) Received: (qmail 5736 invoked by uid 500); 6 Jan 2014 00:55:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 5706 invoked by uid 500); 6 Jan 2014 00:55:50 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 5699 invoked by uid 500); 6 Jan 2014 00:55:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 5696 invoked by uid 99); 6 Jan 2014 00:55:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 00:55:50 +0000 Date: Mon, 6 Jan 2014 00:55:50 +0000 (UTC) From: "Animesh Chaturvedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-5727) [Automation] Inspite of VM Deployment Failure, the job reports success MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5727?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Animesh Chaturvedi updated CLOUDSTACK-5727: ------------------------------------------- Assignee: Kelven Yang > [Automation] Inspite of VM Deployment Failure, the job reports success > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-5727 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-572= 7 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.3.0 > Environment: =20 > Reporter: Chandan Purushothama > Assignee: Kelven Yang > Priority: Critical > Fix For: 4.3.0 > > Attachments: management-server.zip > > > VM Deployment failed due to InsufficientVirtualNetworkCapcityException as= shown below but the deployVM Job reported Success. > 2014-01-03 07:02:45,426 INFO [c.c.v.VirtualMachineManagerImpl] (Job-Exec= utor-156:ctx-07ca4fec ctx-1fcf6075) Insufficient capacity > com.cloud.exception.InsufficientVirtualNetworkCapcityException: Unable to= allocate vnet as a part of network Ntwk[221|Guest|8] implement Scope=3Dint= erface com.cloud.dc.DataCenter; id=3D1 > at com.cloud.network.guru.GuestNetworkGuru.allocateVnet(GuestNetw= orkGuru.java:278) > at com.cloud.network.guru.GuestNetworkGuru.implement(GuestNetwork= Guru.java:308) > at com.cloud.network.guru.ExternalGuestNetworkGuru.implement(Exte= rnalGuestNetworkGuru.java:135) > at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator= .implementNetwork(NetworkOrchestrator.java:951) > at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator= .prepare(NetworkOrchestrator.java:1221) > at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(Virtua= lMachineManagerImpl.java:941) > at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(Virtua= lMachineManagerImpl.java:4736) > at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHa= ndlerProxy.java:107) > at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(Virtual= MachineManagerImpl.java:4855) > at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.ja= va:99) > at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$= 5.runInContext(AsyncJobManagerImpl.java:522) > at org.apache.cloudstack.managed.context.ManagedContextRunnable$1= .run(ManagedContextRunnable.java:49) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt$1.call(DefaultManagedContext.java:56) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt.callWithContext(DefaultManagedContext.java:103) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt.runWithContext(DefaultManagedContext.java:53) > at org.apache.cloudstack.managed.context.ManagedContextRunnable.r= un(ManagedContextRunnable.java:46) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.= java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:= 334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-01-03 07:02:45,432 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Exec= utor-156:ctx-07ca4fec ctx-1fcf6075) Cleaning up resources for the vm VM[Use= r|QA-b2b665ef-bf62-4e17-a8eb-a6e374e2b6ca] in Starting state > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Success Report: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 2014-01-03 07:02:45,819 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Exec= utor-153:ctx-f844ef7e ctx-1fcf6075) Complete async job-149, jobStatus: SUCC= EEDED, resultCode: 0, result: org.apache.cloudstack.api.response.UserVmResp= onse/virtualmachine/{"id":"b2b665ef-bf62-4e17-a8eb-a6e374e2b6ca","name":"QA= -b2b665ef-bf62-4e17-a8eb-a6e374e2b6ca","displayname":"testVM","account":"te= st-TestCreateTemplate-NH42Z1","domainid":"6165446e-740f-11e3-b905-060808000= 01f","domain":"ROOT","created":"2014-01-03T07:02:43+0530","state":"Error","= haenable":false,"zoneid":"21ea361a-95fc-456f-aa87-b7f37361c8e0","zonename":= "Sandbox-XenServer","templateid":"616a2830-740f-11e3-b905-06080800001f","te= mplatename":"CentOS 5.6(64-bit) no GUI (XenServer)","templatedisplaytext":"= CentOS 5.6(64-bit) no GUI (XenServer)","passwordenabled":false,"serviceoffe= ringid":"8a9847a7-ae0b-4a8e-b6ab-58e625bd0a04","serviceofferingname":"Tiny = Instance","cpunumber":1,"cpuspeed":100,"memory":128,"guestosid":"617271a2-7= 40f-11e3-b905-06080800001f","rootdeviceid":0,"rootdevicetype":"ROOT","secur= itygroup":[],"nic":[{"id":"ae221e41-813d-451f-a99d-32722bca77f9","networkid= ":"df33ec3b-fa5e-47cf-9c52-c557d22392ba","networkname":"test-TestCreateTemp= late-NH42Z1-network","netmask":"255.255.255.0","gateway":"10.1.1.1","ipaddr= ess":"10.1.1.141","traffictype":"Guest","type":"Isolated","isdefault":true,= "macaddress":"02:00:52:1a:00:01"}],"hypervisor":"XenServer","instancename":= "i-18-33-QA","tags":[],"affinitygroup":[],"displayvm":true,"isdynamicallysc= alable":true,"jobid":"13bd7917-137c-4fe7-921a-084938d58d5d","jobstatus":0} > 2014-01-03 07:02:45,828 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Exec= utor-153:ctx-f844ef7e) Done executing org.apache.cloudstack.api.command.use= r.vm.DeployVMCmd for job-149 -- This message was sent by Atlassian JIRA (v6.1.5#6160)