cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5827) [Automation] Destroy VM failed, while deleting account
Date Tue, 07 Jan 2014 20:19:50 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rayees Namathponnan updated CLOUDSTACK-5827:
--------------------------------------------

    Attachment: KVM_Jan_07_14.rar

> [Automation] Destroy VM failed, while deleting account 
> -------------------------------------------------------
>
>                 Key: CLOUDSTACK-5827
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5827
>             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: KVM (RHEL 6.3)
> branch 4.3
>            Reporter: Rayees Namathponnan
>            Priority: Blocker
>             Fix For: 4.3.0
>
>         Attachments: KVM_Jan_07_14.rar
>
>
> Steps to reproduce 
> Step 1 : Create account 
> Step 2 : Deploy an VM "ryzVM"
> Step 3 : Destroy the account 
> Expected result 
> Account should be deleted, and "ryzVM" should destroyed as part of account clean up 
> Actual Result 
> Observed below vm destroy failures, during account clean up 
> 2014-01-07 11:47:44,415 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-14:ctx-09b76f87
ctx-f3d83b99) release cpu from host: 1, old used: 7100,reserved: 0, actual total: 9040, total
with
> overprovisioning: 9040; new used: 7000,reserved:100; movedfromreserved: false,moveToReserveredtrue
> 2014-01-07 11:47:44,415 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-14:ctx-09b76f87
ctx-f3d83b99) release mem from host: 1, old used: 7247757312,reserved: 0, total: 16713302016;
new u
> sed: 7113539584,reserved:134217728; movedfromreserved: false,moveToReserveredtrue
> 2014-01-07 11:47:44,441 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-14:ctx-09b76f87
ctx-f3d83b99) Unable to destroy the vm because it is not in the correct state: VM[User|ryzVM]
> 2014-01-07 11:47:44,455 WARN  [c.c.u.AccountManagerImpl] (Job-Executor-14:ctx-09b76f87
ctx-f3d83b99) Failed to cleanup account Acct[404ac830-cab8-4506-ba47-2964dc386adb-ryz] due
to
> com.cloud.utils.exception.CloudRuntimeException: Unable to destroy VM[User|ryzVM]
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:469)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:448)
>         at com.cloud.vm.UserVmManagerImpl.expunge(UserVmManagerImpl.java:1704)
>         at sun.reflect.GeneratedMethodAccessor390.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 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 $Proxy169.expunge(Unknown Source)
>         at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:629)
>         at com.cloud.user.AccountManagerImpl.deleteAccount(AccountManagerImpl.java:561)
>         at com.cloud.user.AccountManagerImpl.deleteUserAccount(AccountManagerImpl.java:1308)
>         at sun.reflect.GeneratedMethodAccessor511.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 $Proxy82.deleteUserAccount(Unknown Source)
>         at org.apache.cloudstack.region.RegionManagerImpl.deleteUserAccount(RegionManagerImpl.java:193)
>         at org.apache.cloudstack.region.RegionServiceImpl.deleteUserAccount(RegionServiceImpl.java:118)
>         at org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd.execute(DeleteAccountCmd.java:101)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
>         at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
>         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 com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:524)
>         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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new state
from Running via ExpungeOperation
>         at com.cloud.utils.fsm.StateMachine2.getNextState(StateMachine2.java:83)
>         at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:100)
>         at com.cloud.vm.VirtualMachineManagerImpl.stateTransitTo(VirtualMachineManagerImpl.java:1511)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:462)
>         ... 49 more
> 2014-01-07 11:47:44,484 INFO  [c.c.u.AccountManagerImpl] (Job-Executor-14:ctx-09b76f87
ctx-f3d83b99) Cleanup for account 529 is needed.



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

Mime
View raw message