Bug 747762

Summary: update services and aeolus-restart-services for f16
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-configureAssignee: Mo Morsi <mmorsi>
Status: CLOSED NEXTRELEASE QA Contact: Martin Kočí <mkoci>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, dajohnso, deltacloud-maint, dgao, jlaska, mkoci, mmorsi, rmarko, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-08 13:11:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
0001-Use-service-instead-of-relying-on-SysV-script.patch
none
0001-Use-service-instead-of-relying-on-SysV-script.patch none

Description wes hayutin 2011-10-21 00:13:19 UTC
oot@qeblade32 ~]# aeolus-restart-services 

Stoping ntpd ...
/usr/sbin/aeolus-restart-services:48: command not found: /etc/init.d/ntpd stop
 FAILURE: 

Stoping imagefactory ...
 Success: Stopping imagefactory (via systemctl):           [  OK  ]

Stoping conductor-dbomatic ...
 Success: Stopping conductor-dbomatic (via systemctl):     [  OK  ]

Stoping aeolus-conductor ...
 Success: Stopping aeolus-conductor (via systemctl):       [  OK  ]

Stoping libvirtd ...
 Success: Stopping libvirtd (via systemctl):               [  OK  ]

Stoping deltacloud-core ...
 Success: Stopping deltacloud-core (via systemctl):        [  OK  ]

Stoping qpidd ...
 Success: Stopping qpidd (via systemctl):                  [  OK  ]

Stoping httpd ...
 Success: Stopping httpd (via systemctl):                  [  OK  ]

Stoping postgresql ...
/usr/sbin/aeolus-restart-services:48: command not found: /etc/init.d/postgresql stop
 FAILURE: 

Stoping iwhd ...
 Success: Stopping iwhd (via systemctl):                   [  OK  ]

Stoping mongod ...
/usr/sbin/aeolus-restart-services:48: command not found: /etc/init.d/mongod stop
 FAILURE: 

Starting mongod ...
/usr/sbin/aeolus-restart-services:48: command not found: /etc/init.d/mongod start
 FAILURE: 

Starting iwhd ...
 Success: Starting iwhd (via systemctl):                   [  OK  ]

Starting postgresql ...
/usr/sbin/aeolus-restart-services:48: command not found: /etc/init.d/postgresql start
 FAILURE: 

Starting httpd ...
 Success: Starting httpd (via systemctl):                  [  OK  ]

Starting qpidd ...
 Success: Starting qpidd (via systemctl):                  [  OK  ]

Starting deltacloud-core ...
 Success: Starting deltacloud-core (via systemctl):        [  OK  ]

Starting libvirtd ...
 Success: Starting libvirtd (via systemctl):               [  OK  ]

Starting aeolus-conductor ...
 Success: Starting aeolus-conductor (via systemctl):       [  OK  ]

Starting conductor-dbomatic ...
 Success: Starting conductor-dbomatic (via systemctl):     [  OK  ]

Starting imagefactory ...
 Success: Starting imagefactory (via systemctl):           [  OK  ]

Starting ntpd ...
/usr/sbin/aeolus-restart-services:48: command not found: /etc/init.d/ntpd start
 FAILURE: 

Statusing mongod ...
/usr/sbin/aeolus-restart-services:48: command not found: /etc/init.d/mongod status
 FAILURE: 
[root@qeblade32 ~]# 



[root@qeblade32 ~]# rpm -qa | grep aeolus
rubygem-aeolus-image-0.1.0-3.fc16.noarch
aeolus-conductor-0.4.0-1.fc16.noarch
rubygem-aeolus-cli-0.1.0-5.fc16.noarch
aeolus-conductor-doc-0.4.0-1.fc16.noarch
aeolus-all-0.4.0-1.fc16.noarch
aeolus-configure-2.1.0-1.fc16.noarch
aeolus-conductor-daemons-0.4.0-1.fc16.noarch

Comment 1 Richard Marko 2011-10-21 11:46:14 UTC
*** Bug 747919 has been marked as a duplicate of this bug. ***

Comment 2 James Laska 2011-11-02 18:04:00 UTC
Created attachment 531416 [details]
0001-Use-service-instead-of-relying-on-SysV-script.patch

The problem here is that aeolus-check-services relies on the no longer available SystemV script.  To resolve this problem, call 'service $foo status' instead.  The attached patch will resolve that issue.

Comment 3 James Laska 2011-11-02 18:05:51 UTC
Created attachment 531417 [details]
0001-Use-service-instead-of-relying-on-SysV-script.patch

Comment 4 James Laska 2011-11-09 18:59:55 UTC
(In reply to comment #3)
> Created attachment 531417 [details]
> 0001-Use-service-instead-of-relying-on-SysV-script.patch

Any updates?

Comment 5 Mo Morsi 2011-11-10 18:16:11 UTC
The patch doesn't apply against the git repo for me, but applying the changes manually it seems to work as intended so ACK.

Comment 6 Martin Kočí 2011-11-16 08:39:12 UTC
Confirmed that proposed patch works. Waiting when it will be in repository so I can test it against current release.

Comment 7 wes hayutin 2011-11-28 01:16:09 UTC
removing bugs from ce-sprint from the tracker.. you can find these bugs by querying the "qa whiteboard" for ce-sprint-60

Comment 8 Mo Morsi 2011-12-08 13:11:42 UTC
This patch has been pushed and is in the next release. Closing this out.