Bug 747762 - update services and aeolus-restart-services for f16
Summary: update services and aeolus-restart-services for f16
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-configure
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Mo Morsi
QA Contact: Martin Kočí
URL:
Whiteboard:
: 747919 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-21 00:13 UTC by wes hayutin
Modified: 2011-12-08 13:11 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-08 13:11:42 UTC


Attachments (Terms of Use)
0001-Use-service-instead-of-relying-on-SysV-script.patch (1.06 KB, patch)
2011-11-02 18:04 UTC, James Laska
no flags Details | Diff
0001-Use-service-instead-of-relying-on-SysV-script.patch (1.58 KB, patch)
2011-11-02 18:05 UTC, James Laska
no flags Details | Diff

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.


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