Bug 828515 - [RFE] Verify aeolus-cleanup command should be run
Summary: [RFE] Verify aeolus-cleanup command should be run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-configure
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
Assignee: Steve Linabery
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-04 20:12 UTC by james labocki
Modified: 2012-12-04 15:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
This enhancement adds an 'Are you sure?' verification step to aeolus-cleanup command and a command line options -y|--assumeyes to force operation. If not provided, aeolus-cleanup prompts the user for confirmation.
Clone Of:
Environment:
Last Closed: 2012-12-04 15:10:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:1516 0 normal SHIPPED_LIVE CloudForms Cloud Engine 1.1 update 2012-12-04 19:51:45 UTC

Description james labocki 2012-06-04 20:12:35 UTC
Description of problem:
Add a 'Are you sure?' verification step to aeolus-cleanup command. It is to easy to remove everything. seriously.

Comment 2 Dave Johnson 2012-09-06 15:48:37 UTC
This should include specifing confirmation on the commandline with '-y'

Comment 4 Steve Linabery 2012-09-11 21:03:13 UTC
on master as 0b3dad6867fda2556376e17d0e420e7804a9be00
on 1.1 as 7ed26735ec17993c9d41281a7421ea5d904a078a

Comment 5 pushpesh sharma 2012-09-17 12:28:05 UTC
Verified on :

[root@dhcp201-113 ~]# rpm -qa|grep aeolus
aeolus-conductor-0.13.7-1.el6cf.noarch
aeolus-all-0.13.7-1.el6cf.noarch
aeolus-conductor-daemons-0.13.7-1.el6cf.noarch
aeolus-configure-2.8.6-1.el6cf.noarch
aeolus-conductor-doc-0.13.7-1.el6cf.noarch
rubygem-aeolus-cli-0.7.1-1.el6cf.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch






[root@dhcp201-113 ~]# aeolus-cleanup -y
notice: /Stage[main]/Aeolus::Deltacloud::Disabled/Exec[remove_deltacloud_tmp_files]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor::Disabled/Aeolus::Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor::Disabled/Postgres::User[aeolus]/Exec[drop_aeolus_postgres_user]/returns: could not change directory to "/root"




[root@dhcp201-113 ~]# aeolus-cleanup 
aeolus-cleanup will delete local aeolus installations.
Are you sure you wish to proceed? [y/N]: y
notice: /File[/var/lib/aeolus-conductor]/ensure: removed
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[aeolus-conductor]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Image-factory::Disabled/Exec[remove_aeolus_templates]/returns: executed successfully
notice: /Stage[main]/Aeolus::Deltacloud::Disabled/Service[deltacloud-core]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[ma

Comment 7 errata-xmlrpc 2012-12-04 15:10:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-1516.html


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