- Oct 10, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Iustin Pop authored
Since modules are not directly executables, remove the shebang from them. This helps with lintian warnings. Also make the autogenerated _autoconf.py contain two comment lines at the beginning, like the other modules. Reviewed-by: ultrotter
-
Michael Hanselmann authored
- Change format of watcher state file to JSON. - Move log path for watcher script to constants.py. Reviewed-by: iustinp
-
- Oct 09, 2007
-
-
Iustin Pop authored
This patch implements a simple failover command for failing over all primary instances. This is just a batched form of gnt-instance failover. Reviewed-by: imsnah
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
Guido Trotter authored
The new version debugs Hidden OSes as well. Reviewed-by: iustinp
-
Iustin Pop authored
This was introduced in rev 208. Reviewed-by: imsnah
-
Iustin Pop authored
This patch moves the error formatting into a separate function that will be exported so that scripts that execute multiple opcodes can create the same output as for GenericMain. Also, GenericMain becomes more readable. Reviewed-by: imsnah
-
Iustin Pop authored
As far as I understand, this was just a debugging aid. Remove it so that configuration errors are nicely handled. Reviewed-by: imsnah
-
Iustin Pop authored
This patch allows the SubmitOpcode function to take a pre-created Processor instance and a different feedback function. This is helpful when submitting more than one opcode from a shell script. Reviewed-by: imsnah
-
- Oct 08, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Iustin Pop authored
This patch adds a simple handler for TagError that prints the error (better than having a stack dump). Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds a '--from' option to the {add,remove}-tags commands that allows the command to read from a file or from stdin (when passing a dash for the filename). Reviewed-by: imsnah
-
Iustin Pop authored
This adds documentation on the {list,add,remove}-tags commands to the gnt-{cluster,node,instance} man pages. Reviewed-by: imsnah
-
Iustin Pop authored
This brings this man page in conformity to gnt-node and (partially) to gnt-instance. Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds generic functions for tag manipulations to cli.py and modifies gnt-{cluster,node,instance} to export {list,add,remove}-tags commands that use those. Reviewed-by: imsnah
-
Iustin Pop authored
This patch changes the tags opcodes to work with multiple tags at once instead of only one. As such, the opcodes and some parameters are renamed. Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
This allows scripts to pass options to generic functions (options that are not visible in the command line). Reviewed-by: imsnah
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
- Move symlink to “ganeti” to top dir - Add ganeti.config_unittest.py to tests to be run - Make sure everything is built before tests are run Reviewed-by: iustinp
-
Michael Hanselmann authored
dot. Reviewed-by: iustinp
-
- Oct 04, 2007
-
-
Guido Trotter authored
This isdir() check leads to a broken error message. Even fixing it creates some cases in which the error message is nebulous and unclear while removing it makes this situation be dealt with a lot better by the _OSOndiskVersion checks. Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp, ultrotter
-
Guido Trotter authored
- Document the expected change to errors.InvalidOS - Always pass the additional argument - Modify DiagnoseOS output to show the path Reviewed-by: iustinp, imsnah
-
Michael Hanselmann authored
- Add NEWS file with major changes between versions. - Bump RPC version number - No longer serialize in RPC, but just convert to dict Old Pickle based configuration files can be converted using the cfgupgrade utility. Reviewed-by: iustinp, ultrotter
-
Guido Trotter authored
As of now only the last OS was taken into consideration by diagnose, fix by storing them all and displaying for now only the first. Also display the source path for valid OSes. Reviewed-by: imsnah
-
- Oct 03, 2007
-
-
Guido Trotter authored
Abstract the _OSSearch function, to look for an OS in the search path Make OSFromDisk accept an optional base_dir, rather than the os_dir itself Reviewed-by: iustinp
-
Guido Trotter authored
First part of the OS search path cleanup. _OSOndiskversion is only ever called once, and with that argument set, so let's make it mandatory. Reviewed-by: iustinp
-
- Oct 02, 2007
-
-
Guido Trotter authored
People might not have read all the documentation and might not expect their ssh configuration and specially keys to be changed. Adding this warning will inform them before it happens. Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
- Oct 01, 2007
-
-
Michael Hanselmann authored
Reviewed-by: schreiberal
-
- Sep 28, 2007
-
-
Guido Trotter authored
directories which can contain OS scripts. The list defaults to the current one but can be changed at configure time. Reviewed-by: imsnah
-
- Sep 27, 2007
-
-
Guido Trotter authored
This is needed to improve FHS compliance for distribution integration. The need was discussed on the alioth pkg-ganeti project. Reviewed-by: imsnah
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
Michael Hanselmann authored
Added tests: - “gnt-cluster getmaster” - “gnt-cluster version” - “gnt-instance list” - “gnt-instance reinstall” Reviewed-by: schreiberal
-
Guido Trotter authored
Reviewed-by: imsnah
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-