cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Chen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6584) IAM - Deletion of domain fails.
Date Wed, 07 May 2014 00:44:17 GMT

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

Min Chen resolved CLOUDSTACK-6584.
----------------------------------

    Resolution: Not a Problem

> IAM - Deletion of domain fails.
> -------------------------------
>
>                 Key: CLOUDSTACK-6584
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6584
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: IAM
>    Affects Versions: 4.4.0
>         Environment: Build from 4.4
>            Reporter: Sangeetha Hariharan
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.4.0
>
>         Attachments: logs.rar
>
>
> IAM - Deletion of domain fails.
> Created the following set of domains:
> ROOT
>  d1
>     d1/d11
>      d1/d11/d111
>  d2
> Shared networks were created for domain d11 
> Shared networks were created for  an account under domain d111.
>  
> Accounts are created under each of the domains.
> Deploy Vms as these accounts using the shared networks.
> I delete all the accounts which resulted in all the Vms being Expunged.
> Now I tried to delete the domain - d1 (D1-PM76WG) which always fails with force delete
option.
> Following exception seen in management server logs:
> 61-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:204-$Proxy47.remove:-1-DomainManagerImpl.cleanupDomain:443-DomainM
> anagerImpl.deleteDomain:272-DomainManagerImpl.deleteDomain:257
> 2014-05-06 11:03:30,586 ERROR [c.c.u.DomainManagerImpl] (API-Job-Executor-15:job-733
ctx-343d4b67) Exception deleting domain with id 112
> com.cloud.utils.exception.CloudRuntimeException: Failed to clean up domain resources
and sub domains, delete failed on domain D1-PM76WG (id: 112).
>         at com.cloud.user.DomainManagerImpl.deleteDomain(DomainManagerImpl.java:274)
>         at com.cloud.user.DomainManagerImpl.deleteDomain(DomainManagerImpl.java:257)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         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.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>         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 com.sun.proxy.$Proxy110.deleteDomain(Unknown Source)
>         at org.apache.cloudstack.region.RegionManagerImpl.deleteDomain(RegionManagerImpl.java:242)
>         at org.apache.cloudstack.region.RegionServiceImpl.deleteDomain(RegionServiceImpl.java:169)
>         at org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd.execute(DeleteDomainCmd.java:103)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:495)
>         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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:452)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-05-06 11:03:30,596 DEBUG [c.c.u.DomainManagerImpl] (API-Job-Executor-15:job-733
ctx-343d4b67) Changing domain id=112 state back to Active because it can't be removed due
to resources referencing to it



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message