eucalyptus CLEAN=1 should also be supported in start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eucalyptus (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland | ||
Karmic |
Fix Released
|
High
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
High
|
Dustin Kirkland |
Bug Description
CLEAN=1 support has been implemented as part of bug 460089, to avoid cleaning up the CC network state at each restart. A CLEAN=1 option was added to the post-stop in eucalyptus-cc.conf. A similar option should be added to the pre-start so that CLEAN=1 is also supported at start. That will mimic what the eucalyptus init script provides (cleanstart and cleanstop).
===============
SRU Testing
MINIMAL PATCH:
http://
IMPACT:
When we converted the Eucalyptus init scripts to upstart jobs, we lost some functionality. The initscripts supported a few additional actions, namely: cleanstop, cleanstart, cleanrestart. These "clean" action would actually clear out the CC's state from /var/lib/
TEST CASE:
After installing/
1) Open a window on the CLC/CC, and watch the contents of /var/lib/
$ watch -n1 sudo ls -alF /var/lib/
2) Perform each of the following actions, ensuring that the files in /var/lib/
$ sudo restart eucalyptus
$ sudo stop eucalyptus
$ sudo start eucalyptus
$ sudo restart eucalyptus-cc
$ sudo stop eucalyptus-cc
$ sudo start eucalytus-cc
3) Now perform each of the following actions, ensure that the files in /var/lib/
$ sudo restart eucalyptus CLEAN=1
$ sudo stop eucalyptus CLEAN=1
$ sudo start eucalyptus CLEAN=1
$ sudo restart eucalyptus-cc CLEAN=1
$ sudo stop eucalyptus-cc CLEAN=1
$ sudo start eucalyptus-cc CLEAN=1
REGRESSION POTENTIAL:
Regression potential is rather low. The behavior is only changed when CLEAN=1 is passed to any of the eucalyptus scripts. We have only recently documented this behavior. It is intended to restore some functionality that was lost as of 9.10 GA when the eucalyptus init scripts were replaced by upstart jobs.
===============
Changed in eucalyptus (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in eucalyptus (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in eucalyptus (Ubuntu Karmic): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in eucalyptus (Ubuntu Lucid): | |
status: | Triaged → In Progress |
importance: | Wishlist → High |
Changed in eucalyptus (Ubuntu Karmic): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
milestone: | none → karmic-updates |
description: | updated |
Changed in eucalyptus (Ubuntu Karmic): | |
status: | In Progress → Fix Committed |
Changed in eucalyptus (Ubuntu Lucid): | |
status: | In Progress → Fix Committed |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
This bug was fixed in the package eucalyptus - 1.6.1~bzr1083- 0ubuntu2
--------------- bzr1083- 0ubuntu2) lucid; urgency=low
eucalyptus (1.6.1~
* debian/ patches/ 06-symlinked- jars.patch: drop patch from source; this patches/ axis2c_ home_init. diff: s-cc.in part of this patch, since s-nc.in patch should be dropped as soon as patches/ 02-rely- on-libvirt- defaults. patch: add some documentation patches/ var_lib_ eucalyptus. diff: drop patch from source; this patches/ euca_conf- error-output. diff, debian/series, euca_conf. in: patches/ 05-axis- alternative- repository. patch, patches/ series: patches/ 03-DESTDIR. patch: Eucalyptus will take this upstream; eucalyptus- cc.upstart, debian/ eucalyptus- common. eucalyptus. upstart: euclayptus- cc; export
patch hasn't been in the series file for a while now
* debian/
- Dropping the httpd.conf part of this patch, since our upstart
script handles this properly. +
- Dropping the tools/eucalyptu
we no longer use the eucalyptus-cc init script.
- The tools/eucalyptu
it's converted to an upstart script (which will need to handle
AXIS2C_HOME correctly), see lp#438631
* debian/
in this patches headers
* debian/
patch hasn't been in the series file for a while now
* debian/
tools/
- drop this patch from our series
- apply directly to the branch, cleaning up wget error printing
- upstream has agreed to take this, and fix this globally in their
source
* aclocal.m4, debian/
debian/
- drop this patch from our series
- apply directly to the branch, to support pkg-config
- upstream cannot take this because not all distros will be able to
depend on pkg-config
* debian/
should be dropped from the Ubuntu branch as soon as they do
* debian/
support CLEAN=1 on start/stop/restart of eucalyptus/
the CLEAN env variable in eucalyptus.init, and handle it in both the
pre-start and post-stop sections of eucalyptus-cc, (LP: #491254)
-- Dustin Kirkland <email address hidden> Thu, 03 Dec 2009 07:29:32 -0600