[Bug 460089] [NEW] network state is lost if the cluster controller (CC) is stopped

Daniel Nurmi dnurmi at gmail.com
Sat Oct 24 23:42:04 BST 2009


Public bug reported:

in the eucalyptus-cc upstart script, the line:

        rm -f /var/lib/eucalyptus/CC/*

will always clear all CC state when the service is stopped.  The
upstream init scripts use:

stop/start/restart

to control the service while maintaining CC state (stored in
/var/lib/eucalyptus/CC/), while:

cleanstop/cleanstart/cleanrestart

will remove the state.  With upstart, an idea is to wrap the above line
in a conditional that will only be true if a variable is defined on the
cmdline (i.e. the default behavior would be to leave the state, and if
an admin really wanted to start from a clean state, or re-read the
config file, they would have to set the variable on the cmdline):

start eucalyptus-cc CLEAN=1
stop eucalyptus-cc CLEAN=1
restart eucalyptus-cc CLEAN=1

and in the file:

if ( test "$CLEAN" == "1" ); then
  	rm -f /var/lib/eucalyptus/CC/*
fi

-Dan

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


** Tags: eucalyptus

-- 
network state is lost if the cluster controller (CC) is stopped
https://bugs.launchpad.net/bugs/460089
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