You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "angeline shen (JIRA)" <ji...@apache.org> on 2013/06/28 03:28:19 UTC
[jira] [Closed] (CLOUDSTACK-2881) vmware dvswitch - VM stop result
in VM remains in Stopping state
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angeline shen closed CLOUDSTACK-2881.
-------------------------------------
> vmware dvswitch - VM stop result in VM remains in Stopping state
> ----------------------------------------------------------------
>
> Key: CLOUDSTACK-2881
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2881
> 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
> Environment: MS ASF 2.0 build CloudStack-non-OSS-MASTER-452-rhel6.3.tar.gz
> vcenter ESXi 5.0 hosts
> Reporter: angeline shen
> Assignee: Venkata Siva Vijayendra Bhamidipati
> Priority: Blocker
> Fix For: 4.2.0
>
> Attachments: management-server.log.gz, Screenshot-CloudStack - Mozilla Firefox-1.png, Screenshot-CloudStack - Mozilla Firefox-2.png, Screenshot-CloudStack - Mozilla Firefox.png
>
>
> 1. zone with two PVLAN networks
> 2. deploy VMs in both PVLANs.
> Confirm VMs in same PVLAN cannot connect to each other.
> confirm VMs in 1 PVLAN can reach VMs in other PVLAN. VMs can reach outside world
> 3. Stop VMs in both PVLANs.
> Result: VMS remain in Stopping state.
> 2013-06-06 12:45:05,238 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-23:job-23) Executing org.apache.cloudstack.api.command.user.vm.StopVMCmd for job-23
> 2013-06-06 12:45:05,239 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===END=== 10.216.133.70 -- GET command=stopVirtualMachine&id=89b5f080-29ee-40b2-9fa4-e844afd2fe81&forced=false&response=json&sessionkey=KdfMcbJgtOTr1WGs4CGQD4ckw2c%3D&_=1370548159473
> 2013-06-06 12:45:05,244 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-23:job-23) ControlledEntity name is:com.cloud.vm.VirtualMachine
> 2013-06-06 12:45:05,247 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-23:job-23) ControlledEntity name is:com.cloud.uservm.UserVm
> 2013-06-06 12:45:05,248 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-23:job-23) ControlledEntity name is:com.cloud.network.router.VirtualRouter
> 2013-06-06 12:45:05,328 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-23:job-23) VM state transitted from :Running to Stopping with event: StopRequestedvm's original host id: 2 new host id: 2 host id before state transition: 2
> 2013-06-06 12:45:05,362 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-23:job-23) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.StopVMCmd
> java.lang.ClassCastException: com.cloud.vm.VMInstanceVO$$EnhancerByCGLIB$$a77eface 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 12:45:05,363 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-23:job-23) Complete async job-23, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: com.cloud.vm.VMInstanceVO$$EnhancerByCGLIB$$a77eface cannot be cast to com.cloud.vm.UserVmVO
> 2013-06-06 12:45:08,264 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===START=== 10.216.133.70 -- GET command=queryAsyncJobResult&jobId=d8c6d17e-ffd3-460f-a663-d228df90bcf7&response=json&sessionkey=KdfMcbJgtOTr1WGs4CGQD4ckw2c%3D&_=1370548162583
> 2013-06-06 12:45:08,277 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-14:null) Async job-23 completed
> 2013-06-06 12:45:08,282 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===END=== 10.216.133.70 -- GET comm
--
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