cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeline shen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-2887) PVLAN - vmware dvswitch - destroy VM fail with VM stuck in 'Stopping' state
Date Thu, 06 Jun 2013 23:30:20 GMT
angeline shen created CLOUDSTACK-2887:
-----------------------------------------

             Summary: PVLAN - vmware dvswitch -  destroy VM fail with VM stuck in 'Stopping'
state
                 Key: CLOUDSTACK-2887
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2887
             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: Critical
             Fix For: 4.2.0


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. Destroy VMs in both PVLANs.

Result:    VMS remain in Stopping state. 

2013-06-06 15:46:57,467 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===START=== 
10.216.133.70 -- GET  command=destroyVirtualMachine&id=c27541d9-f4d2-40fc-8fab-3edfadc4067e&response=json&sessionkey=RV1iRzQ3pg636vVZIwdb
rJlAJXU%3D&_=1370559071830
2013-06-06 15:46:57,575 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-10:null) submit
async job-34, details: AsyncJobVO {id:34, userId: 2, accountId: 2, sessionKey: null, instanceType:
VirtualMachine, instanceId: 12, c
md: org.apache.cloudstack.api.command.user.vm.DestroyVMCmd, cmdOriginator: null, cmdInfo:
{"response":"json","id":"c27541d9-f4d2-40fc-8fab-3edfadc4067e","sessionkey":"RV1iRzQ3pg636vVZIwdbrJlAJXU\u003d","ctxUserId":"2","httpmeth
od":"GET","_":"1370559071830","ctxAccountId":"2","ctxStartEventId":"132"}, cmdVersion: 0,
callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result:
null, initMsid: 206915885077197, completeMsid
: null, lastUpdated: null, lastPolled: null, created: null}
2013-06-06 15:46:57,577 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-34:job-34) Executing
org.apache.cloudstack.api.command.user.vm.DestroyVMCmd for job-34
2013-06-06 15:46:57,578 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END===  10.216.133.70
-- GET  command=destroyVirtualMachine&id=c27541d9-f4d2-40fc-8fab-3edfadc4067e&response=json&sessionkey=RV1iRzQ3pg636vVZIwdbrJlAJXU%3D&_=1370559071830
2013-06-06 15:46:57,630 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-34:job-34)
Destroying vm VM[User|vm1612V61]
2013-06-06 15:46:57,667 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-34:job-34)
VM state transitted from :Running to Stopping with event: StopRequestedvm's original host
id: 1 new host id: 2 host id before state transition: 2
2013-06-06 15:46:57,702 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-34:job-34) Unexpected
exception while executing org.apache.cloudstack.api.command.user.vm.DestroyVMCmd
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.destroy(VirtualMachineManagerImpl.java:1285)
        at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.destroyVirtualMachine(VMEntityManagerImpl.java:265)
        at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.destroy(VirtualMachineEntityImpl.java:225)
        at com.cloud.vm.UserVmManagerImpl.destroyVm(UserVmManagerImpl.java:3385)
        at com.cloud.vm.UserVmManagerImpl.destroyVm(UserVmManagerImpl.java:1898)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.vm.DestroyVMCmd.execute(DestroyVMCmd.java:100)
        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 15:46:57,703 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-34:job-34) Complete
async job-34, 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 15:47:00,621 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===START=== 
10.216.133.70 -- GET  command=queryAsyncJobResult&jobId=f8a46980-8409-4ead-a209-a799e202f959&response=json&sessionkey=RV1iRzQ3pg636vVZIwdbrJlAJXU%3D&_=1370559074987
2013-06-06 15:47:00,632 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async
job-34 completed
2013-06-06 15:47:00,636 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===END===  10.216.133.70
-- GET  command=queryAsyncJobResult&jobId=f8a46980-8409-4ead-a209-a799e202f959&response=json&sessionkey=RV1iRzQ3pg636vVZIwdbrJlAJXU%3D&_=1370559074987
2013-06-06 15:47:01,599 DEBUG [cloud.server.StatsCollec


--
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