History | View | Annotate | Download (3 kB)
ganeti.initd: Pass $*_ARGS to programs when restarting them
Signed-off-by: Michael Hanselmann <hansmi@google.com>Reviewed-by: Iustin Pop <iustin@google.com>
Pass optional arguments to the daemons
These can be set in the defaults file, default to no arguments beingpassed, and make it easy for local installation to customize the way theganeti daemons are called.
Signed-off-by: Guido Trotter <ultrotter@google.com>...
ganeti.initd: include defaults file, if present
In the example init script we'll execute an optional defaults file tomake it easier to add local customizations to the ganeti startup.
Signed-off-by: Guido Trotter <ultrotter@google.com>Reviewed-by: Iustin <iustin@google.com>
Fix ;; indentation in the main initd loop
Currently two of the ;; ending the case bodies are not indented withanything. Reindent all of them to the body of the loop, as it's donesomewhere else in the init script.
A bunch of doc and other small fixes
This patch adds a couple of both externally and internally reportedissues: - missing SGML tags (Issue 54), report and patch by superdupont - wrong variable used in the init.d script, report and patch by Karsten Keil <karsten-keil@t-online.de>...
Small improvement to the init.d example file
The start_action function is changed so that it can be called witharguments - this could be used to parse a defaults file, etc.
Reviewed-by: imsnah
Get rid of node daemon password
With the new SSL client certificate stuff it's no longer needed.
Reviewed-by: iustinp
Rework master startup/shutdown/failover
This (big) patch reworks the master startup/shutdown and the fixes themaster failover.
What does the patch do?
For master start/stop: - remove the old ganeti-master script and its associated man page - moves the ip start/stop directly into the backend.(Start|Stop)Master...
Use pidfiles in example init script
Rather than searching for the ganeti daemons by name we'll use thepidfile they create to stop them. This change also adds the --oknodooption to start-stop-daemon when stopping ganeti (which means it won'tgive an error if it wasn't started)....
Make the init script start the master daemon too
Reviewed-by: ultrotter
Make ganeti-noded create BDEV_CACHE_DIR automatically
Currently in order to deal with tmpfs /var/run, we create theBDEV_CACHE_DIR in the init script. However, that does not cover all thecases, and it's not a proper place to deal with it: for example, dealing...
Fix the init.d script
The script (which is geared towards Debian) is actually not fullycompliant, as lintian generates a warning on it - the S runlevel is nota valid one in the "Stop" stanza. This patch removes "S" from the stoplist.
Create /var/run/ganeti before noded startup
The /var/run directory can be a tmpfs mount, so even if we make it atinstall time (or include it in the package) it can go away. Therefore,test for its existence and create it in the startup script.
Integrate Leonardo's LSB init script patch
Reviewed-By: imsnah
Use configure's paths in the init script example.
Reviewed-by: schreiberal