Bug 759988

Summary: service iwhd fails to start.
Product: [Retired] CloudForms Cloud Engine Reporter: Aziza Karol <akarol>
Component: aeolus-configureAssignee: chris alfonso <calfonso>
Status: CLOSED CURRENTRELEASE QA Contact: Brad P. Crochet <brad>
Severity: high Docs Contact:
Priority: high    
Version: 1.0.0CC: akarol, calfonso, deltacloud-maint, hbrock, mkoci, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: HUDSONdone=bug759988.py
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 17:14:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Aziza Karol 2011-12-05 05:48:54 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.install aeolus-all/aeolus-configure
 
2.
[root@dell-pe1950-03 ~]# aeolus-check-services 

Checking mongod ...
 Success: mongod (pid 3464) is running...

Checking iwhd ...
 FAILURE: iwhd dead but pid file exists

Checking postgresql ...
 Success: postmaster (pid  3640) is running...

Checking httpd ...
 Success: httpd (pid  3410) is running...

Checking qpidd ...
 Success: qpidd (pid  3144) is running...

Checking deltacloud-core ...
 Success: deltacloud-core (pid  3878) is running...

Checking libvirtd ...
 Success: libvirtd (pid  3232) is running...

Checking aeolus-conductor ...
 Success: (pid  3794) is running...

Checking conductor-dbomatic ...
 Success: dbomatic (pid  3769) is running...

Checking imagefactory ...
 Success: imagefactory (pid  3708) is running...

Checking ntpd ...
 Success: ntpd (pid  3204) is running...



[root@dell-pe1950-03 ~]# ps -auxf|grep iwhd
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root      4218  0.0  0.0 103228   864 pts/0    S+   00:44   0:00  |       \_ grep iwhd



[root@dell-pe1950-03 ~]# tail -f /var/log/iwhd.log 
iwhd: /etc/iwhd/users.js: credentials are group- or world-readable or writable





Additional info:
[root@dell-pe1950-03 ~]# rpm -qa | egrep  'iwhd|aeolus'
aeolus-configure-2.4.0-1.el6.noarch
aeolus-conductor-0.7.0-2.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
rubygem-rack-mount-0.7.1-3.aeolus.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
rubygem-aeolus-cli-0.2.0-1.el6.noarch
rubygem-aeolus-image-0.2.0-1.el6.noarch
iwhd-1.1-2.el6.x86_64
aeolus-all-0.7.0-2.el6.noarch
aeolus-conductor-doc-0.7.0-2.el6.noarch
aeolus-conductor-daemons-0.7.0-2.el6.noarch

Comment 1 chris alfonso 2011-12-05 17:37:46 UTC
Sent a patch to aeolus-configure to change the mode of users.js to 700.

Comment 2 chris alfonso 2011-12-05 17:46:44 UTC
Pushed to configure repo, commit 4da2686c4a18eb12bc22431cfcaf9bbadb5e49e8

Comment 3 Aziza Karol 2011-12-07 04:55:00 UTC
service iwhd started successfully.

root@hp-bl480c-01 ~]# aeolus-check-services 

Checking mongod ...
 Success: mongod (pid 4991) is running...

Checking iwhd ...
 Success: iwhd (pid  5032) is running...

Checking postgresql ...
 Success: postmaster (pid  4639) is running...

Checking httpd ...
 Success: httpd (pid  5126) is running...

Checking qpidd ...
 Success: qpidd (pid  4753) is running...

Checking deltacloud-core ...
 Success: deltacloud-core (pid  5098) is running...

Checking libvirtd ...
 Success: libvirtd (pid  4811) is running...

Checking aeolus-conductor ...
 Success: (pid  5181) is running...

Checking conductor-dbomatic ...
 Success: dbomatic (pid  5288) is running...

Checking imagefactory ...
 Success: imagefactory (pid  4946) is running...

Checking ntpd ...
 Success: ntpd (pid  4735) is running...


[root@hp-bl480c-01 ~]# ps -auxf|grep iwhd
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root      5454  0.0  0.0 103228   840 pts/0    S+   23:52   0:00          \_ grep iwhd
root      5032  0.0  0.1 388468  6196 ?        Sl   23:47   0:00 iwhd -c /etc/iwhd/conf.js -c /etc/iwhd/conf.js -l /var/log/iwhd.log -o -u /etc/iwhd/users.js


[root@hp-bl480c-01 ~]# rpm -qa |egrep  'aeolus|iwhd'
aeolus-conductor-0.7.0-4.el6.noarch
aeolus-configure-2.4.0-3.el6.noarch
aeolus-conductor-doc-0.7.0-4.el6.noarch
aeolus-all-0.7.0-4.el6.noarch
rubygem-aeolus-cli-0.2.0-3.el6.noarch
iwhd-1.1-7.el6.x86_64
rubygem-aeolus-image-0.2.0-1.el6.noarch
aeolus-conductor-daemons-0.7.0-4.el6.noarch

Comment 4 wes hayutin 2012-01-03 14:29:41 UTC
These bugs are verified, removing from ce-sprint