Min Chen created CLOUDSTACK-6588:
------------------------------------
Summary: 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
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.2#6252)