[Bug 430841] [NEW] after package install of eucalyptus-cloud, walrus, sc, only cloud service is loaded

Daniel Nurmi dnurmi at gmail.com
Wed Sep 16 17:32:46 BST 2009


Public bug reported:

The eucalyptus-cloud, -walrus, and -sc services all run as web services
under the same process if installed on the same machine.  The init
scripts, upon 'start', check if the web service file exists, and the
process is running; if both are true, the init script does nothing and
exits successfully.  However, this is a problem if one installs and runs
one service (say 'cloud'), then installs another (say 'walrus').   The
first service installs the cloud web service file, calls the init
script, which starts the process.  The second service installs the file,
but the init script doesn't restart the process since it only checks for
file/process existence, which are both true.

The workaround is to install all services (cloud, walrus, sc), then
restart any one of the services using the init script.  When the process
restarts, it has all three services loaded.

One solution would be to require that the 'start' of any service
restarts the process.

Another solution is based on how the service init scripts function.
When the init scripts are called with 'stop', the process is stopped,
the web service file is moved to '$file.disabled', and the process is
restarted.  A way around this problem may be to install the service
files from the package as '$file.disabled', so that the first 'start'
that is called on post install correctly restarts the process which will
ensure that the service is loaded.

** Affects: eucalyptus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: eucalyptus

-- 
after package install of eucalyptus-cloud, walrus, sc, only cloud service is loaded
https://bugs.launchpad.net/bugs/430841
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list