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] [Created] (CLOUDSTACK-2865) [Automation]stopVirtualMachine is failing
Date Wed, 05 Jun 2013 19:28:20 GMT
Srikanteswararao Talluri created CLOUDSTACK-2865:
----------------------------------------------------

             Summary: [Automation]stopVirtualMachine is failing 
                 Key: CLOUDSTACK-2865
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2865
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
            Reporter: Srikanteswararao Talluri
            Priority: Blocker
             Fix For: 4.2.0


Steps to reproduce:
1. Try to stop a virtual machine


 ===START===  10.151.133.42 -- GET  command=stopVirtualMachine&id=693d7075-e928-4c91-9fca-2ce3331da03a&forced=false&response=json&sessionkey=gzAU%2FyMzZz0IoXpemIT8%2Fh4mPVg%3D&_=1370460359301
2013-06-06 06:20:09,248 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-12:null) ControlledEntity
name is:com.cloud.vm.VirtualMachine
2013-06-06 06:20:09,252 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-12:null) ControlledEntity
name is:com.cloud.uservm.UserVm
2013-06-06 06:20:09,254 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-12:null) ControlledEntity
name is:com.cloud.network.router.VirtualRouter
2013-06-06 06:20:09,284 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-75:job-631)
Executing org.apache.cloudstack.api.command.user.vm.StopVMCmd for job-631
2013-06-06 06:20:09,287 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-12:null) submit
async job-631, details: AsyncJobVO {id:631, userId: 2, accountId: 2, sessionKey: null, instanceType:
VirtualMachine, instanceId: 189, cmd: org.apache.cloudstack.api.command.user.vm.StopVMCmd,
cmdOriginator: null, cmdInfo: {"id":"693d7075-e928-4c91-9fca-2ce3331da03a","response":"json","sessionkey":"gzAU/yMzZz0IoXpemIT8/h4mPVg\u003d","ctxUserId":"2","httpmethod":"GET","_":"1370460359301","ctxAccountId":"2","ctxStartEventId":"2984","forced":"false"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 7363452993625, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
2013-06-06 06:20:09,293 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) ===END===  10.151.133.42
-- GET  command=stopVirtualMachine&id=693d7075-e928-4c91-9fca-2ce3331da03a&forced=false&response=json&sessionkey=gzAU%2FyMzZz0IoXpemIT8%2Fh4mPVg%3D&_=1370460359301
2013-06-06 06:20:09,297 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-75:job-631) ControlledEntity
name is:com.cloud.vm.VirtualMachine
2013-06-06 06:20:09,300 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-75:job-631) ControlledEntity
name is:com.cloud.uservm.UserVm
2013-06-06 06:20:09,302 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-75:job-631) ControlledEntity
name is:com.cloud.network.router.VirtualRouter
2013-06-06 06:20:09,352 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-75:job-631)
VM state transitted from :Running to Stopping with event: StopRequestedvm's original host
id: 1 new host id: 1 host id before state transition: 1
2013-06-06 06:20:09,362 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-75:job-631)
Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.StopVMCmd
java.lang.ClassCastException: com.cloud.vm.VMInstanceVO$$EnhancerByCGLIB$$b6431cbe cannot
be cast to com.cloud.vm.UserVmVO
        at com.cloud.vm.UserVmManagerImpl.prepareStop(UserVmManagerImpl.java:4712)
        at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1168)
        at com.cloud.vm.VirtualMachineManagerImpl.stop(VirtualMachineManagerImpl.java:974)
        at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.stopvirtualmachine(VMEntityManagerImpl.java:257)
        at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.stop(VirtualMachineEntityImpl.java:214)
        at com.cloud.vm.UserVmManagerImpl.stopVirtualMachine(UserVmManagerImpl.java:3152)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.vm.StopVMCmd.execute(StopVMCmd.java:117)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        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(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-06-06 06:20:09,364 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-75:job-631)
Complete async job-631, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
com.cloud.vm.VMInstanceVO$$EnhancerByCGLIB$$b6431cbe cannot be cast to com.cloud.vm.UserVmVO


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message