Bug 692923 - imgfactory is not stopped by aeolus-cleanup
Summary: imgfactory is not stopped by aeolus-cleanup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Mike Orazi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: ce-beta
TreeView+ depends on / blocked
 
Reported: 2011-04-01 17:25 UTC by wes hayutin
Modified: 2012-01-26 12:23 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description wes hayutin 2011-04-01 17:25:47 UTC
Morazi already has a fix for this, just documenting the issue.

recreate:
0. ps -ef | grep imgfac; should return nothing.. /etc/init.d/imagefactory status; should be stopped 
1. execute aeolus-configure
2. exexcute aeolus-cleanup

/etc/init.d/imagefactory status; will show running
ps -ef | grep imgfac ; will find a process

expected results:
imagefactory is stopped by the cleanup script
imgfac process is not running after cleanup script

Comment 1 Mike Orazi 2011-04-01 20:44:16 UTC
aeolus-configure commit 4d62feb79ba3d4692e28649784b01e73f289ce96

imagefactory daemonizes a process with a different name.  Puppet was looking to match imagefactory in the process table to determine if there was something to be killed.  I updated the puppet manifest to indicate that the init script has status information, and puppet should determine whether or not imagefactory is active based on information from status instead of the process table.

Comment 2 wes hayutin 2011-04-18 19:32:09 UTC
[root@ip-10-80-242-101 logrotate.d]# rpm -qa  | grep aeolus
aeolus-conductor-doc-0.0.3-6.el6.x86_64
aeolus-conductor-0.0.3-6.el6.x86_64
aeolus-conductor-daemons-0.0.3-6.el6.x86_64
aeolus-configure-2.0.0-8.el6.noarch
[root@ip-10-80-242-101 logrotate.d]# ^C
[root@ip-10-80-242-101 logrotate.d]# 
[root@ip-10-80-242-101 logrotate.d]# 
[root@ip-10-80-242-101 logrotate.d]# 
[root@ip-10-80-242-101 logrotate.d]# /etc/init.d/imagefactory status
imagefactory (pid  3929) is running...
[root@ip-10-80-242-101 logrotate.d]# aeolus-cleanup 
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: /Stage[main]/Aeolus::Image-factory::Disabled/Exec[remove_aeolus_templates]/returns: executed successfully
notice: /Stage[main]//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[conductor-dbomatic]/enable: enable changed 'true' to 'false'
notice: /Stage[main]//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::Conductor::Disabled/Service[aeolus-connector]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[aeolus-conductor]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[solr]/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: /File[/var/lib/aeolus-conductor]/ensure: removed
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-condor_refreshd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-warehouse_sync]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]//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[conductor-delayed_job]/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/Service[httpd]/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: Finished catalog run in 30.19 seconds
[root@ip-10-80-242-101 logrotate.d]# 
[root@ip-10-80-242-101 logrotate.d]# /etc/init.d/imagefactory status
imagefactory is stopped
[root@ip-10-80-242-101 logrotate.d]# 
[root@ip-10-80-242-101 logrotate.d]#

Comment 3 wes hayutin 2011-08-01 19:57:24 UTC
release pending...

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

Comment 6 wes hayutin 2011-12-08 13:54:17 UTC
perm close

Comment 7 wes hayutin 2011-12-08 13:56:33 UTC
closing out old bugs


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