Cloud/Walrus/SC init script confusing

Bug #430163 reported by Colin Watson
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Wishlist
Thierry Carrez

Bug Description

The eucalyptus-{cloud,walrus,sc} init scripts are very confusing. They all operate on more or less the one daemon process, copying different .jar files into place as appropriate. Starting each of the components involves repeatedly restarting the Java front-end.

It would be a lot simpler and more robust, and certainly more efficient at boot, to have a single init script that starts all the locally-installed components at once.

Tags: eucalyptus
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu):
status: New → Triaged
tags: added: eucalyptus
Changed in eucalyptus (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Thierry Carrez (ttx) wrote :

We could have a single eucalyptus-java-ws init script (shipped in eucalyptus-java-common) and have eucalyptus-{cloud,walrus,sc} install a file in /etc/eucalyptus/ws.d. That init script would start eucalyptus-cloud once, enabling all installed ws in one pass, then wait the thing to really come up (timeouting after one minute), and try to register services if needed.

Postinst would just restart eucalyptus-java-ws, solving bug 430841 in the process.

Changed in eucalyptus (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Marking wishlist. I agree wholeheartedly this needs to be fixed, though.

:-Dustin

Changed in eucalyptus (Ubuntu):
importance: Medium → Wishlist
Revision history for this message
Thierry Carrez (ttx) wrote :

Rather than using a file in /etc/eucalyptus/ws.d it is possible to start all installed services by looking at installed jar files.

Remark: the current design (multiple initscripts) was there to enable the possibility to stop just one service without affecting all the installed services. Basically it would stop all services then restart without the one you stopped. That doesn't invalidate the single-initscript-for-all-eucalyptus-ws approach, its just that we need to provide a "/etc/init.d/eucalyptus-java-ws stop walrus" that would allow that.

Revision history for this message
Thierry Carrez (ttx) wrote :

Fixed by the upstartification of the scripts, as of 1.6~bzr854-0ubuntu10

Changed in eucalyptus (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.