Activity log for bug #460089

Date Who What changed Old value New value Message
2009-10-24 22:42:04 Daniel Nurmi bug added bug
2009-10-26 10:18:22 Thierry Carrez eucalyptus (Ubuntu): importance Undecided Medium
2009-10-26 10:18:22 Thierry Carrez eucalyptus (Ubuntu): status New Incomplete
2009-10-29 15:37:43 Thierry Carrez eucalyptus (Ubuntu): status Incomplete Triaged
2009-10-30 07:27:06 Thierry Carrez nominated for series Ubuntu Karmic
2009-10-30 07:27:06 Thierry Carrez bug task added eucalyptus (Ubuntu Karmic)
2009-10-30 07:27:23 Thierry Carrez eucalyptus (Ubuntu Karmic): milestone karmic-updates
2009-10-30 07:27:28 Thierry Carrez eucalyptus (Ubuntu Karmic): status New Triaged
2009-10-30 07:27:36 Thierry Carrez eucalyptus (Ubuntu Karmic): importance Undecided Medium
2009-11-02 22:23:14 Mathias Gug eucalyptus (Ubuntu Karmic): assignee Mathias Gug (mathiaz)
2009-11-02 22:30:49 Launchpad Janitor branch linked lp:~mathiaz/eucalyptus/k-keep-network-state-on-restart
2009-11-02 22:32:53 Mathias Gug eucalyptus (Ubuntu Karmic): status Triaged In Progress
2009-11-03 18:32:27 Launchpad Janitor branch linked lp:~ubuntu-core-dev/eucalyptus/ubuntu-karmic
2009-11-03 22:35:38 Mathias Gug description 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 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 =================== SRU verification Impact: If the CC is restarted or rebooted (to be exact if eucalyptus-cc is stopped) all the network configuration for running instances is lost. How the bug has been addressed: The post script of the eucalyptus-cc upstart job has been modified to only delete the network state file if the CLEAN environment variable has been set to 1. To reproduce the bug: 1. Install a CC and one NC. 2. Start an instance with a public IP and log into the running instance. 3. Reboot the CC. 4. After the CC has rebooted, the running instance cannot be accessed via its previous public IP. 5. Once the CC has been upgraded, a reboot of the CC should not prevent login into running instances using their previously assigned public IP. Regression potential: The discover-ability of the new CLEAN option may be improved. ===================
2009-11-03 22:50:54 Mathias Gug eucalyptus (Ubuntu Karmic): status In Progress Fix Committed
2009-11-03 23:13:53 Steve Langasek eucalyptus (Ubuntu Karmic): status Fix Committed In Progress
2009-11-05 17:52:21 Mathias Gug tags eucalyptus eucalyptus uec
2009-11-06 10:07:18 Martin Pitt eucalyptus (Ubuntu Karmic): status In Progress Fix Committed
2009-11-06 10:07:23 Martin Pitt tags eucalyptus uec eucalyptus uec verification-needed
2009-11-06 11:00:25 Launchpad Janitor branch linked lp:ubuntu/karmic-proposed/eucalyptus
2009-11-06 13:34:13 Thierry Carrez tags eucalyptus uec verification-needed eucalyptus uec verification-done
2009-11-23 09:46:08 Launchpad Janitor eucalyptus (Ubuntu Karmic): status Fix Committed Fix Released
2009-11-23 09:48:56 Martin Pitt eucalyptus (Ubuntu): status Triaged Fix Released
2009-11-23 09:52:18 Martin Pitt eucalyptus (Ubuntu Karmic): status Fix Released Fix Committed
2009-11-30 16:51:42 Thierry Carrez tags eucalyptus uec verification-done eucalyptus verification-failed
2009-11-30 20:15:41 Martin Pitt tags eucalyptus verification-failed eucalyptus verification-done
2009-11-30 20:16:09 Launchpad Janitor eucalyptus (Ubuntu Karmic): status Fix Committed Fix Released