Rayees Namathponnan created CLOUDSTACK-5898:
-----------------------------------------------

             Summary: [Automation] Failed to vm with error "You gave an invalid 
object reference.  The object may have recently been deleted" in Xen
                 Key: CLOUDSTACK-5898
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5898
             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
            Reporter: Rayees Namathponnan
            Assignee: Anthony Xu
            Priority: Blocker
             Fix For: 4.3.0


This issue is observed in ASF 4.3 build in ASF jenkins, there many VM stop 
operation failed with below error 


2014-01-16 20:51:43,285 DEBUG [cloud.network.NetworkModelImpl] 
(AccountChecker-1:ctx-17abd396) Service SecurityGroup is not supported in the 
network id=208
2014-01-16 20:51:43,287 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-369:ctx-38d6dbe3) Unable to hardShutdown VM(i-4-36-QA) on 
host(06c59da0-c756-4d5a-874c-17ac83f97c11) due to Task failed! Task record:     
            uuid: 785472be-1927-324f-0c64-96737bfaba2c
           nameLabel: Async.VM.clean_shutdown
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Thu Jan 16 20:51:31 UTC 2014
            finished: Thu Jan 16 20:51:42 UTC 2014
              status: failure
          residentOn: com.xensource.xenapi.Host@7cbcb56e
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [VM_BAD_POWER_STATE, 
OpaqueRef:4decc8dc-3153-031a-b145-f733ee5dc994, running, halted]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

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.shutdownVM(CitrixResourceBase.java:3755)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:3986)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:499)
        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:1146)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:701)
2014-01-16 20:51:43,291 DEBUG [engine.orchestration.NetworkOrchestrator] 
(AccountChecker-1:ctx-17abd396) Changing active number of nics for network 
id=208 on -1
2014-01-16 20:51:43,297 DEBUG [xen.resource.CitrixResourceBase] 
(DirectAgent-369:ctx-38d6dbe3) Catch exception 
com.cloud.utils.exception.CloudRuntimeExcept



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to