cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alena Prokharchyk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4322) Delete domain with force option is not returning failed as response incase of accounts under that domain needs cleanup.
Date Thu, 24 Jul 2014 20:58:39 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073636#comment-14073636
] 

Alena Prokharchyk commented on CLOUDSTACK-4322:
-----------------------------------------------

In the context of deleteDomain call, "force" option doesn't mean that the domain will be removed
even if corresponding details cleanup fails. It means that as a part of the call, we attempt
to cleanup the resources of the domain. Here is what API doc says:

@Parameter(name = ApiConstants.CLEANUP,
               type = CommandType.BOOLEAN,
               description = "true if all domain resources (child domains, accounts) have
to be cleaned up, false otherwise")

If something fails along the way in the domain clenaup process, it will be left in Inactive
state till account/domain cleanup process will attempt  to clenaup again (this task runs periodically).
Only after cleanup is successful, the domain resource will be marked as removed.



> Delete domain with force option is not returning failed as response incase of accounts
under that domain needs cleanup.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4322
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4322
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Sanjay Tripathi
>            Assignee: Alena Prokharchyk
>             Fix For: 4.5.0
>
>         Attachments: DomainDeleteFailed_logs.txt, del_domain_fail.JPG
>
>
> deleteDomain with cleanup = true, CS is not allowing deletion of domain if there is any
account under that domain needs clean up; though these accounts are removed and admin can't
see them in the listaccounts call. 
> From the end user perspective, CS should return success in case of force delete domain
and handle the cleanup of sub-domains/accounts internally.



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

Mime
View raw message