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 C5AC710059 for ; Sat, 14 Dec 2013 05:49:15 +0000 (UTC) Received: (qmail 16603 invoked by uid 500); 14 Dec 2013 05:49:13 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 16545 invoked by uid 500); 14 Dec 2013 05:49:12 -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 16536 invoked by uid 500); 14 Dec 2013 05:49:12 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 16444 invoked by uid 99); 14 Dec 2013 05:49:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 05:49:10 +0000 Date: Sat, 14 Dec 2013 05:49:10 +0000 (UTC) From: "Srikanteswararao Talluri (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-5495) [Automation] Unable to stop VM 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-5495?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13848248#comment-13848248 ]=20 Srikanteswararao Talluri commented on CLOUDSTACK-5495: ------------------------------------------------------ #comment added by script Total tests failed in Regression Suite due to this issue: 51=20 List of tests:=20 ['test_11_move_across_subdomain_vm_pfrule', 'test_04_edit_display_name', 't= est_03_1_egress_fr3', 'test_06_1_egress_fr6', 'test_06_1_egress_fr6', 'test= _06_egress_fr6', 'test_06_egress_fr6', 'test_07_1_egress_fr7', 'test_07_1_e= gress_fr7', 'test_07_egress_fr7', 'test_07_egress_fr7', 'test_09_1_egress_f= r9', 'test_09_1_egress_fr9', 'test_09_egress_fr9', 'test_09_egress_fr9', 't= est_10_1_egress_fr10', 'test_10_1_egress_fr10', 'test_10_egress_fr10', 'tes= t_10_egress_fr10', 'test_11_1_egress_fr11', 'test_11_1_egress_fr11', 'test_= 10_project_activation', 'test_network_gc', 'ContextSuite context=3DTestRese= tSSHKeyUserRights>:setup', 'test_02_reset_ssh_key_password_enabled_template= ', 'test_04_reset_key_passwd_enabled_no_key', 'test_02_publicip_per_account= ', 'test_02_NetworkGarbageCollection', 'test_createSharedNetwork_All', 'tes= t_01_createVM_snapshotTemplate', 'ContextSuite context=3DTestNatRuleUsage>:= setup', 'ContextSuite context=3DTestPublicIPUsage>:setup', 'ContextSuite co= ntext=3DTestSnapshotUsage>:setup', 'ContextSuite context=3DTestTemplateUsag= e>:setup', 'ContextSuite context=3DTestVmUsage>:setup', 'ContextSuite conte= xt=3DTestVolumeUsage>:setup', 'ContextSuite context=3DTestVpnUsage>:setup',= 'test_01_volume_attach_detach', 'ContextSuite context=3DTestVPCNetworkGc>:= setup', 'test_01_network_services_upgrade', 'test_02_network_vpcvr2vr_upgra= de', 'test_02_VPC_CreateLBRuleInMultipleNetworks', 'test_02_reboot_router_a= fter_addition_of_one_guest_network', 'test_02_stop_instance_in_network', 't= est_10_expunge_instance_in_network', 'test_05_destroy_instance_in_network',= 'test_03_deploy_vms_delete_add_network', 'test_04_deploy_vms_delete_add_ne= twork_noLb', 'test_05_create_network_max_limit', 'test_06_delete_network_vm= _running', 'test_07_delete_network_with_rules'] > [Automation] Unable to stop VM > ------------------------------ > > Key: CLOUDSTACK-5495 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-549= 5 > 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: XenServer 6.2 > advanced zone > Reporter: Srikanteswararao Talluri > Priority: Blocker > Fix For: 4.3.0 > > Attachments: newrunmgmt.log.zip > > > Unable to Stop VM - error is hit multiple times during automation run > Here is the stack trace: > =3D=3D=3DEND=3D=3D=3D 10.147.38.149 -- GET signature=3DObNDNvmDCDDBoa%2= FJ%2BFOtWBiGH%2BA%3D&apiKey=3D-neX9tpPuZ8bg04MAmolZWYSQkgjXMRmPNxou5hJcwAUk= 9Ti3nQj2ii_W4WylGRUwOjo1PW233odZZUX0-1dbg&command=3DqueryAsyncJobResult&res= ponse=3Djson&jobid=3D144b5660-716f-449c-9b52-f18ba738ad28 > 2013-12-14 00:52:18,153 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent= -375:ctx-3500a12b) VM destroy failed in Stop i-271-491-QA Command due to nu= ll > You gave an invalid object reference. The object may have recently been = deleted. The class parameter gives the type of reference given, and the ha= ndle parameter echoes the bad value given. > at com.xensource.xenapi.Types.checkResponse(Types.java:209) > at com.xensource.xenapi.Connection.dispatch(Connection.java:368) > at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenS= erverConnection.dispatch(XenServerConnectionPool.java:909) > at com.xensource.xenapi.VM.getPowerState(VM.java:746) > at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(C= itrixResourceBase.java:4168) > at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRe= quest(CitrixResourceBase.java:492) > at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeR= equest(XenServer56Resource.java:59) > at com.cloud.hypervisor.xen.resource.XenServer610Resource.execute= Request(XenServer610Resource.java:106) > at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(D= irectAgentAttache.java:216) > 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.ScheduledThreadPoolExecutor$ScheduledFutu= reTask.access$101(ScheduledThreadPoolExecutor.java:165) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutu= reTask.run(ScheduledThreadPoolExecutor.java:266) > 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) > 2013-12-14 00:52:18,161 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent= -375:ctx-3500a12b) 10. The VM i-271-491-QA is in Running state > 2013-12-14 00:52:18,161 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-3= 75:ctx-3500a12b) Seq 1-494866421: Response Received: > 2013-12-14 00:52:18,161 DEBUG [c.c.a.t.Request] (DirectAgent-375:ctx-3500= a12b) Seq 1-494866421: Processing: { Ans: , MgmtId: 6631563722783, via: 1,= Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"platform":"viridi= an:true;acpi:1;apic:true;pae:true;nx:true","result":false,"details":"Stop V= M failed","wait":0}}] } > 2013-12-14 00:52:18,161 DEBUG [c.c.a.t.Request] (Job-Executor-71:ctx-aedc= e201 ctx-ee5f8ea3) Seq 1-494866421: Received: { Ans: , MgmtId: 66315637227= 83, via: 1, Ver: v1, Flags: 10, { StopAnswer } } > 2013-12-14 00:52:18,173 WARN [c.c.v.VirtualMachineManagerImpl] (Job-Exec= utor-71:ctx-aedce201 ctx-ee5f8ea3) Unable to stop vm VM[User|QA-b6e685bf-4b= a1-4572-8728-3bfd0106f6d7] > 2013-12-14 00:52:18,187 DEBUG [c.c.v.d.VMInstanceDaoImpl] (Job-Executor-7= 1:ctx-aedce201 ctx-ee5f8ea3) Unable to update VM[User|QA-b6e685bf-4ba1-4572= -8728-3bfd0106f6d7]: DB Data=3D{Host=3Dnull; State=3DStopped; updated=3D5; = time=3DSat Dec 14 00:52:17 IST 2013} New Data: {Host=3D1; State=3DRunning; = updated=3D5; time=3DSat Dec 14 00:52:17 IST 2013} Stale Data: {Host=3D1; St= ate=3DStopping; updated=3D4; time=3DSat Dec 14 00:51:52 IST 2013} > 2013-12-14 00:52:18,196 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor= -71:ctx-aedce201) Unexpected exception while executing org.apache.cloudstac= k.api.command.user.vm.StopVMCmd > com.cloud.utils.exception.CloudRuntimeException: Unable to stop VM[User|Q= A-b6e685bf-4ba1-4572-8728-3bfd0106f6d7] > at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMach= ineManagerImpl.java:1396) > at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(Virtual= MachineManagerImpl.java:1256) > at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMach= ineManagerImpl.java:1228) > at com.cloud.vm.VirtualMachineManagerImpl.stop(VirtualMachineMana= gerImpl.java:1111) > at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerI= mpl.stopvirtualmachine(VMEntityManagerImpl.java:248) > at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEn= tityImpl.stop(VirtualMachineEntityImpl.java:214) > at com.cloud.vm.UserVmManagerImpl.stopVirtualMachine(UserVmManage= rImpl.java:3382) > at sun.reflect.GeneratedMethodAccessor774.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:317) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInter= ceptor.java:50) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:161) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:91) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:204) > at $Proxy170.stopVirtualMachine(Unknown Source) > at org.apache.cloudstack.api.command.user.vm.StopVMCmd.execute(St= opVMCmd.java:118) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJo= bDispatcher.java:109) > = = 2833,= 64-71 5% > I will attach management server logs=20 -- This message was sent by Atlassian JIRA (v6.1.4#6159)