Bug 693514 - aeolus-cleanup need to clean up /var/tmp and /var/lib/iwhd/images
Summary: aeolus-cleanup need to clean up /var/tmp and /var/lib/iwhd/images
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: alpha
Assignee: Mo Morsi
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-04 21:01 UTC by Dave Johnson
Modified: 2012-03-05 17:16 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

Description Dave Johnson 2011-04-04 21:01:01 UTC
Description of problem:

I noticed that the these directories still consu,e a bunch of file system space after running aeolus-cleanup.  Like the database, I am assuming these directories should be purged of the data as it is ultimately orphaned with a purge of the database and runs the risk of filling up the filesystem

Version-Release number of selected component (if applicable):
aeolus-configure-2.0.0-5.fc14.20110401173241git4d62feb.noarch
aeolus-conductor-daemons-0.0.3-0.fc14.20110401225256git6800ed8.x86_64
aeolus-conductor-0.0.3-0.fc14.20110401225256git6800ed8.x86_64
aeolus-conductor-doc-0.0.3-0.fc14.20110401225256git6800ed8.x86_64

Comment 1 Mo Morsi 2011-06-29 00:48:55 UTC
/var/tmp is used by alot of things (such as rpmbuild) so am leaving as is for now. Sent a patch removing the other iwhd dirs to the list

https://fedorahosted.org/pipermail/aeolus-devel/2011-June/002723.html

Comment 3 Aziza Karol 2011-07-07 11:30:18 UTC
Before cleanup:

[root@dell-pe860-01 ~]# ll /var/lib/iwhd/images
total 16
-rw-r--r--. 1 root root 43 Jul  7 04:52 0445acea-98af-45d5-aff7-670c6742cb54
-rw-r--r--. 1 root root 43 Jul  7 04:51 2919a3b2-7d55-47ad-808b-52aad83582e1
-rw-r--r--. 1 root root 45 Jul  7 01:04 409c6d90-62e0-4f53-80d5-8f8efd9bed5f
-rw-r--r--. 1 root root 45 Jul  5 04:47 f5ac3b3c-6479-47d8-87b3-915fda339ba6
[root@dell-pe860-01 ~]# ll /var/lib/iwhd
total 24
drwxr-x---. 2 root kvm 4096 Jul  7 04:52 builds
drwxr-x---. 2 root kvm 4096 Jul  7 05:00 icicles
drwxr-x---. 2 root kvm 4096 Jul  7 04:52 images
drwxr-x---. 2 root kvm 4096 Jul  7 05:00 provider_images
drwxr-x---. 2 root kvm 4096 Jul  7 04:52 target_images
drwxr-x---. 2 root kvm 4096 Jul  7 04:52 templates

[root@dell-pe860-01 ~]# aeolus-cleanup 
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-delayed_job]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Remove_seed_data/Aeolus::Deltacloud::Disabled[ec2-us-west-1]/Service[deltacloud-ec2-us-west-1]/ensure: ensure changed 'running' to 'stopped'
notice: /File[/etc/init.d/deltacloud-ec2-us-west-1]/ensure: removed
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[aeolus-connector]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Iwhd::Disabled/Service[iwhd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Iwhd::Disabled/Service[mongod]/ensure: ensure changed 'running' to 'stopped'
notice: /File[/var/lib/iwhd]/ensure: removed
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-dbomatic]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Image-factory::Disabled/Service[imagefactory]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Image-factory::Disabled/Service[qpidd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Remove_seed_data/Aeolus::Deltacloud::Disabled[ec2-us-east-1]/Service[deltacloud-ec2-us-east-1]/ensure: ensure changed 'running' to 'stopped'
notice: /File[/etc/init.d/deltacloud-ec2-us-east-1]/ensure: removed
notice: /Stage[main]/Aeolus::Image-factory::Disabled/Exec[remove_aeolus_templates]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor::Remove_seed_data/Aeolus::Deltacloud::Disabled[mock]/Service[deltacloud-mock]/ensure: ensure changed 'running' to 'stopped'
notice: /File[/etc/init.d/deltacloud-mock]/ensure: removed
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[aeolus-conductor]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[httpd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[solr]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[condor]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor::Disabled/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: executed successfully
notice: /File[/var/lib/aeolus-conductor]/ensure: removed
notice: Finished catalog run in 20.83 seconds

After cleanup:
[root@dell-pe860-01 ~]#  ll /var/lib/iwhd/images
ls: cannot access /var/lib/iwhd/images: No such file or directory
[root@dell-pe860-01 ~]# ll /var/lib/iwhd
ls: cannot access /var/lib/iwhd: No such file or directory

aeolus-cleanup removes iwhd directory.

[root@dell-pe860-01 ~]# rpm -qa  | grep aeolus
aeolus-configure-2.0.1-0.el6.20110706084705git542b456.noarch
aeolus-conductor-0.3.0-0.el6.20110706142422git0ebf7d1.noarch
aeolus-conductor-doc-0.3.0-0.el6.20110706142422git0ebf7d1.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110706142422git0ebf7d1.noarch
rubygem-aeolus-cli-0.0.1-1.el6.20110706142422git0ebf7d1.noarch
aeolus-all-0.3.0-0.el6.20110706142422git0ebf7d1.noarch

Comment 4 wes hayutin 2011-08-01 19:58:52 UTC
release pending...

Comment 5 wes hayutin 2011-08-01 19:59:19 UTC
release pending.. 2

Comment 6 wes hayutin 2011-08-01 19:59:43 UTC
release pending...

Comment 8 wes hayutin 2011-12-08 13:56:33 UTC
perm close

Comment 9 wes hayutin 2011-12-08 13:59:31 UTC
closing out old bugs


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