You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Min Chen (JIRA)" <ji...@apache.org> on 2014/10/30 18:42:33 UTC

[jira] [Updated] (CLOUDSTACK-6588) Delete account should go through state transition, not just simply marked as removed

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

Min Chen updated CLOUDSTACK-6588:
---------------------------------
    Fix Version/s:     (was: 4.5.0)
                   Future

> Delete account should go through state transition, not just simply marked as removed
> ------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6588
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6588
>             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
>            Reporter: Min Chen
>            Priority: Critical
>             Fix For: Future
>
>
> There is a design flaw in deleting account flow. When we delete an account, if there are some failure in the process, we have marked the account as removed (removed column is set), and set cleanup_needed column to true. But account state is not changed, still enabled. This will cause problem. From UI listAccounts, this account will not show up, admin cannot do anything about this account to be cleaned up. Correct way to handle this is to set this account as Inactive, and Removed column is only set when we successfully removed the account.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)