Hide Forgot
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
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.
[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]#
release pending...
perm close
closing out old bugs