cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanteswararao Talluri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5495) [Automation] Unable to stop VM
Date Sat, 14 Dec 2013 05:45:08 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848243#comment-13848243
] 

Srikanteswararao Talluri commented on CLOUDSTACK-5495:
------------------------------------------------------

Total tests failed in Regression Suite: 51 
 List of tests: ['test_11_move_across_subdomain_vm_pfrule', 'test_04_edit_display_name', 'test_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_egress_fr7', 'test_07_egress_fr7', 'test_07_egress_fr7',
'test_09_1_egress_fr9', 'test_09_1_egress_fr9', 'test_09_egress_fr9', 'test_09_egress_fr9',
'test_10_1_egress_fr10', 'test_10_1_egress_fr10', 'test_10_egress_fr10', 'test_10_egress_fr10',
'test_11_1_egress_fr11', 'test_11_1_egress_fr11', 'test_10_project_activation', 'test_network_gc',
'ContextSuite context=TestResetSSHKeyUserRights>: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', 'test_01_createVM_snapshotTemplate', 'ContextSuite context=TestNatRuleUsage>:setup',
'ContextSuite context=TestPublicIPUsage>:setup', 'ContextSuite context=TestSnapshotUsage>:setup',
'ContextSuite context=TestTemplateUsage>:setup', 'ContextSuite context=TestVmUsage>:setup',
'ContextSuite context=TestVolumeUsage>:setup', 'ContextSuite context=TestVpnUsage>:setup',
'test_01_volume_attach_detach', 'ContextSuite context=TestVPCNetworkGc>:setup', 'test_01_network_services_upgrade',
'test_02_network_vpcvr2vr_upgrade', 'test_02_VPC_CreateLBRuleInMultipleNetworks', 'test_02_reboot_router_after_addition_of_one_guest_network',
'test_02_stop_instance_in_network', 'test_10_expunge_instance_in_network', 'test_05_destroy_instance_in_network',
'test_03_deploy_vms_delete_add_network', 'test_04_deploy_vms_delete_add_network_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-5495
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          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:
> ===END===  10.147.38.149 -- GET  signature=ObNDNvmDCDDBoa%2FJ%2BFOtWBiGH%2BA%3D&apiKey=-neX9tpPuZ8bg04MAmolZWYSQkgjXMRmPNxou5hJcwAUk9Ti3nQj2ii_W4WylGRUwOjo1PW233odZZUX0-1dbg&command=queryAsyncJobResult&response=json&jobid=144b5660-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 null
> You gave an invalid object reference.  The object may have recently been deleted.  The
class parameter gives the type of reference given, and the handle 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$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>         at com.xensource.xenapi.VM.getPowerState(VM.java:746)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:4168)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:492)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(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$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.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-375:ctx-3500a12b)
Seq 1-494866421: Response Received:
> 2013-12-14 00:52:18,161 DEBUG [c.c.a.t.Request] (DirectAgent-375:ctx-3500a12b) Seq 1-494866421:
Processing:  { Ans: , MgmtId: 6631563722783, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"platform":"viridian:true;acpi:1;apic:true;pae:true;nx:true","result":false,"details":"Stop
VM failed","wait":0}}] }
> 2013-12-14 00:52:18,161 DEBUG [c.c.a.t.Request] (Job-Executor-71:ctx-aedce201 ctx-ee5f8ea3)
Seq 1-494866421: Received:  { Ans: , MgmtId: 6631563722783, via: 1, Ver: v1, Flags: 10, {
StopAnswer } }
> 2013-12-14 00:52:18,173 WARN  [c.c.v.VirtualMachineManagerImpl] (Job-Executor-71:ctx-aedce201
ctx-ee5f8ea3) Unable to stop vm VM[User|QA-b6e685bf-4ba1-4572-8728-3bfd0106f6d7]
> 2013-12-14 00:52:18,187 DEBUG [c.c.v.d.VMInstanceDaoImpl] (Job-Executor-71:ctx-aedce201
ctx-ee5f8ea3) Unable to update VM[User|QA-b6e685bf-4ba1-4572-8728-3bfd0106f6d7]: DB Data={Host=null;
State=Stopped; updated=5; time=Sat Dec 14 00:52:17 IST 2013} New Data: {Host=1; State=Running;
updated=5; time=Sat Dec 14 00:52:17 IST 2013} Stale Data: {Host=1; State=Stopping; updated=4;
time=Sat 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.cloudstack.api.command.user.vm.StopVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to stop VM[User|QA-b6e685bf-4ba1-4572-8728-3bfd0106f6d7]
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1396)
>         at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:1256)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1228)
>         at com.cloud.vm.VirtualMachineManagerImpl.stop(VirtualMachineManagerImpl.java:1111)
>         at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.stopvirtualmachine(VMEntityManagerImpl.java:248)
>         at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.stop(VirtualMachineEntityImpl.java:214)
>         at com.cloud.vm.UserVmManagerImpl.stopVirtualMachine(UserVmManagerImpl.java:3382)
>         at sun.reflect.GeneratedMethodAccessor774.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy170.stopVirtualMachine(Unknown Source)
>         at org.apache.cloudstack.api.command.user.vm.StopVMCmd.execute(StopVMCmd.java:118)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
>                                                                                     
                                                                                         
                                           2833,64-71     5%
> I will attach management server logs 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message