Bug 773244 - Instances created by a user should be automatically stopped and deleted when the user is deleted
Summary: Instances created by a user should be automatically stopped and deleted when ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Matt Wagner
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-11 10:23 UTC by Shveta
Modified: 2014-08-17 22:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Shveta 2012-01-11 10:23:46 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Created a user
2. launched few instances with that user
3. log in as admin and delete that user
4. Instances launched by user shows running
  
Actual results:


Expected results:
Instances should be stopped and deleted .

Additional info:

rpm -qa|grep aeolus
aeolus-conductor-0.8.0-4.el6.noarch
aeolus-configure-2.5.0-2.el6.noarch
aeolus-conductor-doc-0.8.0-4.el6.noarch
aeolus-all-0.8.0-4.el6.noarch
rubygem-aeolus-cli-0.3.0-3.el6.noarch
rubygem-aeolus-image-0.3.0-2.el6.noarch
aeolus-conductor-daemons-0.8.0-4.el6.noarch

Comment 1 wes hayutin 2012-01-11 13:49:18 UTC
Angus, 
Shveta has an interesting point here.. can you comment?

Comment 2 wes hayutin 2012-01-12 16:34:51 UTC
adding to ce-sprint

Comment 3 wes hayutin 2012-01-12 16:41:10 UTC
removing ce-sprint-next tracker

Comment 4 Angus Thomas 2012-01-13 14:41:02 UTC
For 1.0, we should ask the admin to confirm that the user's instances will be terminated as part of deleting the user.

Beyond that, we should develop UI around reassigning ownership of the user's assets.

Comment 5 Matt Wagner 2012-01-18 19:09:45 UTC
Doesn't this overlap a good deal with https://bugzilla.redhat.com/show_bug.cgi?id=771599 in which we disallowed deletion of users if they had instances? Or are we saying we should reverse course?

Comment 6 Shveta 2012-01-19 09:36:14 UTC
Verified .

User cannot be deleted now if it has running instance associated with it.
If all instances launched by user are stopped , user can be deleted.

rpm -qa|grep aeolus
aeolus-conductor-0.8.0-8.el6.noarch
aeolus-all-0.8.0-8.el6.noarch
aeolus-conductor-daemons-0.8.0-8.el6.noarch
rubygem-aeolus-image-0.3.0-3.el6.noarch
aeolus-configure-2.5.0-5.el6.noarch
rubygem-aeolus-cli-0.3.0-4.el6.noarch
aeolus-conductor-doc-0.8.0-8.el6.noarch


Note You need to log in before you can comment on or make changes to this bug.