- Sep 02, 2009
-
-
Luca Bigliardi authored
Enable creation and dist for IPsec hook. Signed-off-by:
Luca Bigliardi <shammash@google.com>
-
Luca Bigliardi authored
This hook is a simple example which automatically configures a basic IPsec link among all the nodes of a cluster. Signed-off-by:
Luca Bigliardi <shammash@google.com>
-
- Aug 31, 2009
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
They were cut&paste from the first example queries, rather than documenting the current ones. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
When confd is disabled we don't want to be noticed every timer interval. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
We haven't had that config file entry for a while. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
* commit 'origin/next': Return cluster tags from LUQueryClusterInfo Conflicts: lib/cmdlib.py: Trivial
-
Luca Bigliardi authored
Add bindir to the list of variables replaced at make time. Signed-off-by:
Luca Bigliardi <shammash@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
- Aug 28, 2009
-
-
Michael Hanselmann authored
* next: Add script to clean archived jobs after 21 days rapi: export more static node information Pass the correct signal to handlers cli: Use ToStdout/ToStderr instead of print Fix small typo in gnt-node Simplify handling of boolean args in rapi Fix checks in LUSetNodeParms for the master node Improve the example startup script Fix insserv dependencies Conflicts: Makefile.am: added ganeti-cleaner doc/examples/ganeti.initd.in: Iustin's init script improvements lib/cli.py: Trivial (ToStderr changes)
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
Michael Hanselmann authored
This makes the output file quite a bit smaller and is needed in preparation for non-static option completion (e.g. list of nodes). Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
Michael Hanselmann authored
That is with the equal sign. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
$2 doesn't contain the correct value when completing something like "--disk-template=…". Getting it via COMP_WORDS is better. Short options (e.g. -I) can't have an equal sign. Also add useful debugging commands for development. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Olivier Tharan <olive@google.com>
-
Michael Hanselmann authored
Before the arguments weren't valid. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Rather than quitting we'll just continue to poll the config at a slow rate, hoping that sooner or later we'll get it back. This allows also working on non-MC nodes, and smoothly transitioning from MC to non-MC, other than dealing with a few temporary breakages. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
This allows us not to enable the inotify handler immediately, and thus to make it easier for us should the config file not exist at all. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
This is a state the processor will get in, if it fails to load the config. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
This will be useful to make ConfdProcessor aware of a config failure, without quitting confd. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
In a case we don't encounter frequently (file modified but not overwritten) the notify handler we use is called with a wrong name. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Timers are used both for checking for inotify failures, and for polling, should inotify notices become too frequent. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Rather than raising ConfdFatalError directly ConfdInotifyEventHandler.enable raises InotifyError should it not be able to configure inotify, allowing the caller to decide what to do. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
ConfdInotifyEventHandler used to reload the config whenever a notification arrived. Moving to a callback system, so that ConfdConfigurationReloader can be responsible for that functionality. Additionally the inotify class no longer reenables itself automatically, but just notifies the callback if it's been disabled, and waits for its call to enable(). This allows, should ConfdConfigurationReloader decide it wants to move to polling, to avoid having a double enable()/disable() call. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
This class will be responsible for managing inotify notifications, timers, and rate-limiting reloads. For now none of these features is implemented. :) Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Make possible to enable and disable the inotify event handler. The inotify handler will remain enabled, unless explicitely told to disable itself. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Also, catch EnvironmentError, rather than IOError, when trying to read the file. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 27, 2009
-
-
Iustin Pop authored
Currently, the actual exception raised during an LU execution (one of OpPrereqError, OpExecError, HooksError, etc.) is lost because the jqueue.py code simply sets that to a str(err), and the code in cli.py simply passes that string to OpExecError. This patch moves to encoding the errors as per errors.EncodeError and changes the cli code to parse and raise that (if possible). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Currently the luxi error handling is hardcoded as special encoding on the masterd-side and special decoding on the client side. This patch moves it to errors.py such that other parts of the code can reuse the same encoding. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 26, 2009
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This can be used during maintenance work. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-