The bug is scarce on details. Assuming I understand what is asked correctly, this should not be done at all. A deletion of an account triggers an expunge of the all resources. Suppose someone made a mistake and removed all users from an account and cs automatically deleted the account and automatically cleaned out the resources. Not a good idea. Better to specifically delete the account.
--Alex > -----Original Message----- > From: Sowmya Krishnan [mailto:sowmya.krish...@citrix.com] > Sent: Saturday, July 27, 2013 6:52 AM > To: dev@cloudstack.apache.org > Subject: RE: Do we delete an account after all users are deleted? > > > > > -----Original Message----- > > From: Sowmya Krishnan [mailto:sowmya.krish...@citrix.com] > > Sent: Saturday, July 27, 2013 7:05 PM > > To: dev@cloudstack.apache.org > > Subject: RE: Do we delete an account after all users are deleted? > > > > > > > > > -----Original Message----- > > > From: Prasanna Santhanam [mailto:t...@apache.org] > > > Sent: Saturday, July 27, 2013 6:55 PM > > > To: dev@cloudstack.apache.org > > > Subject: Re: Do we delete an account after all users are deleted? > > > > > > On Sat, Jul 27, 2013 at 12:19:31PM +0000, Sowmya Krishnan wrote: > > > > Do we perform any cleanup of an account if all users in that > > > > account are deleted? I don't find that is the current behavior. > > > > I was going through test_accounts.py and figured that's one of the > > > > tests. Here's the description of that test: > > > > > > > > # Validate the following > > > > # 1. Remove both the users from the account. > > > > # 2. Verify account is removed > > > > # 3. Verify all VMs associated with that account got > > > > removed > > > > > > > > I don't think we remove an account or its resources automatically > > > > if all users are removed in that account... Wondering if this is a > > > > valid test at all. > > > > > > > > > > Yes the test is invalid. It had been skipped earlier with ("Open > > > Questions") in the reason. Probably something that was in a test > > > plan but didn't have clarity at the time it was written. I removed > > > all skips in the tests so we'll find those invalid ones now. > > > > Ok. This one evidently failed cleanup and surfaced here: > > https://issues.apache.org/jira/browse/CLOUDSTACK-3746 > > It's this one in fact: https://issues.apache.org/jira/browse/CLOUDSTACK- > 3745 > > > We have a list of "to-be-skipped" tests? Just wondering how many more > > we have. > > > > > > > > -- > > > Prasanna., > > > > > > ------------------------ > > > Powered by BigRock.com