rhtyd commented on issue #2924: deleteDomain with cleanup=true sometimes fails URL: https://github.com/apache/cloudstack/issues/2924#issuecomment-432815693 I could not reproduce the issue, however, when domain is deleted with cleanup=true there is no need to manually delete the account. The error may happen for this case when account is manually removed but not fully cleaned and marked to be cleaned up, in that case, the deleteDomain API can fail: https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/user/DomainManagerImpl.java#L549 Based on this I'll close the ticket, users should simply delete a domain with cleanup=true without manually deleting accounts. And if account deletions have been performed then they should wait for the account to be GC-ed based on the account.cleanup.interval.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
