Activity
From 08/20/2009 to 09/18/2009
09/18/2009
- 06:31 pm Revision 350ecfec: Include NEWS file in documentation
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:31 pm Revision 61b5e342: Convert NEWS file to RST
- - Add markup for titles
- Convert quotes
- Reindent and rewrap to 72 chars per line
Signed-off-by: Michael Hanselman... - 05:00 pm Revision d77490c5: Unify the instance creation code
- Currently the AddInstance in gnt-instance and ImportInstance in
gnt-backup duplicate all of their code except the act... - 04:59 pm Revision 1c5945b6: Unify multi-instance handling in gnt-instance
- Start, stop and reboot have the same code for dealing with
multi-instance handling. This patch moves all that into a ... - 02:10 pm Revision 3e54ace7: Fix gnt-instance start/stop/… args
- The gnt-instance commands that have the multi-filter can take also zero
arguments, if the --all flag is passed. But t... - 01:53 pm Revision 14e9e7f3: Move cluster verify options to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 29392516: Move more cluster init opts to cli.py
- Some of these should be added to cluster modify too.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mich... - 01:53 pm Revision 12054861: Move the “--reboot-type” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision ee3f9578: Move the “--ignore-secondaries” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 44c44832: Move the “--no-shutdown” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 6d4e8ec0: Make ganeti-watcher use the standard debug option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 6ea815cf: Change indentation style in commands definitions
- Currently, the indentation level for a command's definition depends on
the command name length, and this makes the co... - 01:53 pm Revision 064c21f8: Remove explicit DEBUG_OPT and add it by default
- Since >90% of the commands take the “--debug” option, and all should
actually take it (the gnt-job command is current... - 01:53 pm Revision e3646f22: Move the “--mac-prefix” option to cli.py
- The default has also been changed to None as this will be useful once
cluster modify will be able to change this sett... - 01:53 pm Revision feb09e6a: Move the “--on-secondary” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision a72d0a79: Move the “--on-primary” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 05586c90: Move the “--ignore-size” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision df62e5db: Move the “--src-…” options to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 8d823629: Unify the “--secondary-ip” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision b8d0f938: Move the “--readd” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision fcdde7f2: Move the “--no-ssh-key-check” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 771734c9: Move the node flags options to cli.py
- This also unifies a little the parameters to the respective options.
Signed-off-by: Iustin Pop <iustin@google.com>
R... - 01:53 pm Revision e7e09483: Move the “--allocatable” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 831040bf: Unify the “--no-lvm-storage” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 383a3591: Unify the “--enabled-hypervisors” option
- This also required a change, as one of the cases used a different
default.
Signed-off-by: Iustin Pop <iustin@google.... - 01:53 pm Revision 4fbc93dd: Unify the “--nic-parameters” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision e32df528: Unify the “--candidate-pool-size” option
- This required a slight tweak since in init we want a different default.
Signed-off-by: Iustin Pop <iustin@google.com... - 01:53 pm Revision b58726e8: Unify the “--vg-name” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 1f587d3d: Move the “--yes-do-it” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 58371861: Move the “--no-voting” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision e00f7a05: Move the “--auto” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 073271f6: Unify the last “--hypervisor” (as list) option
- This third form takes a list of name+options, and is used only in
gnt-cluster. Who knew that we have three forms of ‘... - 01:53 pm Revision 91e0748c: Unify the “--no-ip-check” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 7d3a9fab: Unify the “--net” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision e3876ccb: Unify the “--disk” (identkeyval) option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 4b038a1e: Unify the “--disks” (disk indices) option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision ff00c1a7: Unify the “--os-size” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 82a786d5: Unify the “--ignore-consistency” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision f2a0828c: Unify the “--non-live” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 990b7886: Unify the “--node” (as instance placement) option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 7edc4637: Unify the “--node” (as list of nodes) option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision f36d7d81: Unify the last “--node” (single node) option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision edeb878a: Move the “--no-start” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision fdcf4d84: Move the “--show-cmd” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision baef337d: Move the “--cleanup” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 99a8c799: Move the “--static” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision a14db5ff: Unify the “--new-secondary” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 67840b40: Move the “--select-os” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision b6e841a8: Move the “--ignore-failures” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 2d5e7ae1: Move the “--all” option to cli.py
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 4f365444: Unify the “--disk-template” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 01:53 pm Revision 26023ecd: Unify the “--no-nics” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 01:53 pm Revision 4a25828c: Unify the “--file-storage-dir” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 01:53 pm Revision 0f87c43e: Unify the “--file-driver” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 01:53 pm Revision 4eb62659: Unify the “--iallocator” option
- This patch also changes the gnt-debug's “--algorithm” into
IALLOCATOR_OPT, since it was the only non-standard use of ... - 01:53 pm Revision 236fd9c4: Unify the “--hypervisor” (with name) option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:53 pm Revision 087ed2ed: Unify the “--backend-parameters” option
- This is not straight-forward. First, gnt-cluster had
“--backend-parameters” wheres the rest of the script had just
“-... - 01:53 pm Revision 48f212d7: Unify the “--hypervisor” (params only) option
- This unifies the two uses of --hypervisor-parameters with only options
(a=b,…) form. The patch changes a little SetIn... - 01:53 pm Revision d3ed23ff: Unify the “--os-type” option
- This was already unified inside gnt-instance, I just moved that
definition (and upper-cased it) into cli.py.
Signed-... - 01:53 pm Revision 3f75b4f3: Unify the “--no-wait-for-sync” option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 11:06 am Revision 1232284c: Explain the reason for fqdn hostnames
- The install guide asks the user to use the fqdn in the hostname, but
doesn't explain why. This has been asked multipl...
09/17/2009
- 06:53 pm Revision 3cebe102: Remove RpcResult.RemoteFailMsg completely
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:49 pm Revision 5ee09f03: Add locking improvements to Ganeti 2.1 design document
- Also increase the table of contents' depth to 4.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ... - 05:37 pm Revision a0c9776a: Add an error-simulation mode to cluster verify
- One of the issues we have in ganeti is that it's very hard to test the
error-handling paths; QA and burnin only test ... - 05:12 pm Revision 7c874ee1: Introduce parseable error codes in LUVerifyCluster
- Currently the output of cluster verify can be parsed for 'ERROR'
messages, but that is the only indication we get (er... - 05:12 pm Revision 9cdb9578: Unify the multiple 'verbose' options
- Currently multiple files define a 'verbose' option. This patch moves all
these definitions to a single VERBOSE_OPT op... - 05:11 pm Revision 4abc4f1e: Rewrite the lib/cli.py export list
- Right now, the export list is a mess, it's not sorted, and the exported
items are in random places. This patches does...
09/16/2009
- 07:13 pm Revision 1f4e391b: Show "--help" in bash completion
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:13 pm Revision edb4b374: Remove RpcResult.failed attribute
- It's redundant with RpcResult.fail_msg. This change survived QA, burnin and
unittests.
Signed-off-by: Michael Hansel... - 04:55 pm Revision efbb4fd2: Confd: add primary IPs queries
- Extend confd to answer queries about nodes primary IPs and master candidates
primary IPs.
Signed-off-by: Luca Biglia... - 03:55 pm Revision e4ccf6cd: Confd client library
- Initial confd client library implementation. This initial version uses
asyncore, and supports answers via a callback... - 03:55 pm Revision e1081705: ganeti-confd: remove partial imports
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:55 pm Revision 465b8ee3: ConfdAsyncUDPServer: defer handling writes
- Currently if we fail writing to the socket (perhaps because a signal was
delivered) we lose the data we were sending.... - 03:55 pm Revision 4f16b4a0: ConfdAsyncUDPServer: handle signals at read time
- Currently if a signal is delivered during an attempted read, an
exception is logged in the logfile. There is no need ... - 03:55 pm Revision 9748ab35: Move fourcc packing/unpacking to main confd module
- This way it can be used by the client as well
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Micha... - 03:55 pm Revision fe759e4c: ConfdAsyncUDPServer: fix a docstring
- It refers to an older input variable
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hansel... - 03:55 pm Revision c8eded0b: AsyncUDPSocket: Move to a well defined UDP size
- Currently we read maximum 4K packets, and don't check packets when
sending them. With this patch we move to a well de... - 03:55 pm Revision a3758ab2: Add a magic fourcc code to confd packets
- This will make it easier to change the protocol later on
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewe... - 03:55 pm Revision 86488201: ganeti-confd: explicitely log failed big sends
- Make sure that if we try to send packages which are too big (which
shouldn't happen) this gets properly logged in the... - 03:55 pm Revision 28a34a39: Add unittests for confd constants
- Checking that the fourcc code is indeed a fourcc code, and that request
codes and reply statuses are distinct.
Signe... - 03:55 pm Revision 5f3269fc: Abstract AsyncUDPSocket to daemon
- This allows this extended asyncore+udp module to be used also in other
daemons, and in the confd client library
Sign... - 03:47 pm Revision 7a0156dc: Fix authorized_keys generation at cluster init
- Copy pub_key in authorized_keys.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Michael Hanselmann...
09/15/2009
- 03:17 pm Revision 62947ebb: Move developer notes into normal documentation
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 02:19 pm Revision d25c1d6a: jqueue: Remove unused run_op_index attribute
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:19 pm Revision 1d2dcdfd: Export new lock_status field to gnt-job
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:19 pm Revision ef2df7d3: Keep lock status with every job
- This can be useful for debugging locking problems.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by... - 02:19 pm Revision 031a3e57: Move OpCode processor callbacks into separate class
- There are two major arguments for this:
- There will be more callbacks (e.g. for lock debugging) and extending the
...
09/14/2009
- 03:20 pm Revision f60759f7: Replace last hardcoded 'nodelist' with NV_NODELIST
- LUAddNode has this usage remaining, as it's the only other LU to use
call_node_verify (beside LUVerifyCluster).
Sign... - 03:20 pm Revision 33f2a81a: Treat virtual LVs as inexistent
- Currently, “gnt-cluster verify” and “gnt-cluster verify-disks” use the
list of LVs as returned by backend.GetVolumeLi... - 02:21 pm Revision 9216a9f7: locking: Acquire SharedLock in shared mode in separate function
- This is for some more symetry with
SharedLock.__exclusive_acquire.
Signed-off-by: Michael Hanselmann <hansmi@google.... - 02:17 pm Revision fe89794e: RpcResult: Fix cases where “failed” wouldn't be set to True
- This broke “gnt-instance replace-disks --auto” when the instance
is down.
Signed-off-by: Michael Hanselmann <hansmi@... - 02:16 pm Revision ea205dbc: locking: Add level name dict
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com> - 01:31 pm Revision 4d5fe81b: Merge commit 'origin/next' into branch-2.1
- * commit 'origin/next':
Fix gnt-node modify online help
Fix gnt-job info entry in gnt-job(8)
locking: Don't swa... - 01:15 pm Revision 4a511fd0: Fix gnt-job info entry in gnt-job(8)
- It currently reports "cancel" in its syntax, which is obviously a
cut&paste error.
Signed-off-by: Guido Trotter <ult... - 01:15 pm Revision b3fd544f: Fix gnt-node modify online help
- This completes what was began in commit
862b1b2b4c698cec8ad816793172fac9aa7f4cdf
Signed-off-by: Guido Trotter <ultro...
09/11/2009
- 06:29 pm Revision 470ce2ee: locking: Don't swallow exceptions
- This is an indentation bug.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrot... - 05:34 pm Revision b757f830: check-python-code: Report EOL whitespace
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 05:33 pm Revision eed5c5df: Check for tabs and long lines in Python code
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 05:33 pm Revision 88258349: .gitignore: Ignore distcheck directories
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 05:33 pm Revision 4d4a651d: Wrap lines over 80 characters
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 05:33 pm Revision aa053071: cmdlib: Fix typo in variable name
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 12:43 pm Revision 01a3a718: Makefile: Move lengthy variable list to separate variable
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
09/10/2009
- 07:01 pm Revision e948770c: Move LoadModule function to ganeti.build
- It should only be used at build-time.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trott... - 07:01 pm Revision f9897b6d: Add new ganeti.build namespace
- This will be used to store build-time Python code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
09/09/2009
- 04:50 pm Revision 53a9ecb7: upload: Use more compatible regular expression
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 12:46 pm Revision 640b961e: mcpu: formatting/indenting fix
- Small fix for a mistake done by bad editor settings.
Signed-off-by: Luca Bigliardi <shammash@google.com>
09/08/2009
- 06:22 pm Revision 87e43988: Add check for duplicate MACs in instance add
- Currently LUAddInstance doesn't check for duplicate MACs, and it fails
during the Exec() phase when trying to add the...
09/07/2009
- 06:40 pm Revision 862b1b2b: scripts/gnt-node: fix a help string
- gnt-node modify says it wants an "<instance>". Changing it to
"<node_name>" as for the other commands.
Signed-off-by... - 04:38 pm Revision 009e73d0: Optimise multi-job submit
- Currently, on multi-job submits we simply iterate over the
single-job-submit function. This means we grab a new seria... - 03:43 pm Revision 9d95c3af: Extend gnt-debug with more debugging options
- This patch extends gnt-debug to be able to submit multiple copies of the
input jobs and job contents, in order to sim...
09/04/2009
- 06:58 pm Revision 2d3ed64b: Add bash completion for --node node1[:node2]
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:58 pm Revision 5b0ca9d4: Add more debugging to bash completion
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:11 pm Revision 36bf7973: Add simple unittest for manpages
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:11 pm Revision 4b339d4c: Fix small error in gnt-job manpage
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:11 pm Revision 9725b53d: Add locking doc to Ganeti documentation
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:11 pm Revision 667161b4: Add ipsec hook to .gitignore
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
09/03/2009
- 08:32 pm Revision 016d04b3: Even more style fixes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 08:32 pm Revision 1e37ad45: KVM hypervisor: Use ReadFile
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:45 pm Revision d73ef63f: A few style fixes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:45 pm Revision 508e9b20: Add RAPI resource to redistribute config
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:45 pm Revision bf968b7f: Add simple unittest for remote API docs
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:45 pm Revision f72542cc: rapi doc: Add …/nodes/[name] and …/instances/[name]/reinstall
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:44 pm Revision 3f991867: Add simple unittest for hooks documentation
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:44 pm Revision 6c6b7f8a: Update hooks documentation
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:44 pm Revision d6f5892b: Move LoadModule function to utils
- It can be used by unittests for daemons/* or scripts/*.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review... - 06:44 pm Revision 2a887df9: utils.CalculateDirectorySize: Don't redefine builtin
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 06:43 pm Revision 13998ef2: Use ReadFile/WriteFile in more places
- This survived QA, burnin and unittests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigl... - 01:58 am Revision 084b2502: Fix luxi recvMsg for messages bigger than 4K
- This patch fixes a logic bug in luxi that breaks receive of messages
bigger than 4096 bytes. The send message is not ...
09/02/2009
- 02:05 pm Revision a2442bf9: Makefile: add IPsec hook
- Enable creation and dist for IPsec hook.
Signed-off-by: Luca Bigliardi <shammash@google.com> - 02:05 pm Revision d1e95dde: Example IPsec hook
- This hook is a simple example which automatically configures a basic IPsec link
among all the nodes of a cluster.
Si...
09/01/2009
- 01:54 am Revision 1ae7a904: Add some more instance tests
- This include instance text load tests.
- 01:54 am Revision cf35a869: Test some cases for the cluster score computation
08/31/2009
- 07:23 pm Revision 28b498cd: gnt-cluster watcher: Show more information
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 06:43 pm Revision 48166551: confd: add cluster master query
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:43 pm Revision 0bc8432b: confd/querylib: fix docstrings
- They were cut&paste from the first example queries, rather than
documenting the current ones.
Signed-off-by: Guido T... - 06:43 pm Revision a544f755: confd: avoid spamming the logfile
- When confd is disabled we don't want to be noticed every timer interval.
Signed-off-by: Guido Trotter <ultrotter@goo... - 06:43 pm Revision 73a465ee: Remove SimpleConfigReader.GetHypervisorType
- We haven't had that config file entry for a while.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 04:57 pm Revision a4913296: Merge commit 'origin/next' into branch-2.1
- * commit 'origin/next':
Return cluster tags from LUQueryClusterInfo
Conflicts:
lib/cmdlib.py: Trivial - 04:05 pm Revision 7a2ba406: Replace BINDIR variable as well
- Add bindir to the list of variables replaced at make time.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Revie... - 01:32 pm Revision c118d1f4: Return cluster tags from LUQueryClusterInfo
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com> - 12:57 pm Revision 1bc6ab94: devel/upload: Build in parallel
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
08/30/2009
- 06:55 pm Revision f25e5aac: Split the balancing algorithm in two parts
- Currently the computation, recursing part and the IO part (progress
updates) of the balancing main function (iterateD...
08/28/2009
- 06:35 pm Revision 5c566e17: Merge branch 'next' into branch-2.1
- * next:
Add script to clean archived jobs after 21 days
rapi: export more static node information
Pass the corr... - 06:24 pm Revision a52ba89d: Add more bash completion metadata for options
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com> - 06:24 pm Revision 63d44c55: Bash completion: Implement dynamic option value completion
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com> - 06:24 pm Revision 30d44392: Bash completion: Add function to get all iallocators
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com> - 06:24 pm Revision d4b94fe8: Bash completion: Simplify option completion
- This makes the output file quite a bit smaller and is needed
in preparation for non-static option completion (e.g. li... - 06:24 pm Revision 632d5090: Bash completion: Support for --foo=bar option format
- That is with the equal sign.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@g... - 06:24 pm Revision 580ef58d: Bash completion: Small optimizations
- $2 doesn't contain the correct value when completing something like
"--disk-template=…". Getting it via COMP_WORDS is... - 06:24 pm Revision aca55e15: Fix QA test for “gnt-node evacuate”
- Before the arguments weren't valid.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <i... - 05:44 pm Revision 05f1ebf3: Move SimpleConfigReader creation to ConfdProcessor
- This will be useful to make ConfdProcessor aware of a config failure,
without quitting confd.
Signed-off-by: Guido T... - 05:44 pm Revision e369f21d: ConfdProcessor: add disabled state
- This is a state the processor will get in, if it fails to load the
config.
Signed-off-by: Guido Trotter <ultrotter@g... - 05:44 pm Revision c6259dbc: confd: start in polling mode
- This allows us not to enable the inotify handler immediately, and thus
to make it easier for us should the config fil... - 05:44 pm Revision 22d3e184: Confd: don't fail if the config doesn't load
- Rather than quitting we'll just continue to poll the config at a slow
rate, hoping that sooner or later we'll get it ... - 05:44 pm Revision 176d3122: confd: s/confd_event_handler/inotify_handler/
- In a case we don't encounter frequently (file modified but not
overwritten) the notify handler we use is called with ... - 05:43 pm Revision fc3fd894: Add script to clean archived jobs after 21 days
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:17 pm Revision e2be81cf: Implement timers in confd
- Timers are used both for checking for inotify failures, and for polling,
should inotify notices become too frequent.
... - 02:08 pm Revision 84c3ab28: constants: add confd reload and rate limit times
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:08 pm Revision ef4ca33b: ConfdInotifyEventHandler.enable: use InotifyError
- Rather than raising ConfdFatalError directly
ConfdInotifyEventHandler.enable raises InotifyError should it not be
abl... - 02:07 pm Revision 589dee9a: Add errors.InotifyError
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:07 pm Revision 4afe249b: ConfdInotifyEventHandler, move to a callback
- ConfdInotifyEventHandler used to reload the config whenever a
notification arrived. Moving to a callback system, so t... - 02:07 pm Revision 562bee4d: Move creation of inotify handler to a new class
- This class will be responsible for managing inotify notifications,
timers, and rate-limiting reloads. For now none of... - 02:06 pm Revision 46c9b31d: ConfdInotifyEventHandler: add enable/disable
- Make possible to enable and disable the inotify event handler. The
inotify handler will remain enabled, unless expli... - 02:06 pm Revision d4c1bd12: SimpleConfigReader: handle stat() errors
- Also, catch EnvironmentError, rather than IOError, when trying to read
the file.
Signed-off-by: Guido Trotter <ultro...
08/27/2009
- 06:21 pm Revision bcb66fca: Encode the actual exception raised by LU execution
- Currently, the actual exception raised during an LU execution (one of
OpPrereqError, OpExecError, HooksError, etc.) i... - 06:21 pm Revision 6956e9cd: Move the luxi error handling into errors.py
- Currently the luxi error handling is hardcoded as special encoding on
the masterd-side and special decoding on the cl...
08/26/2009
- 08:05 pm Revision 5cbe43a5: Remove watcher pause file 1h past end time
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:09 pm Revision 3753b2cb: ganeti-watcher: Don't run if paused
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:09 pm Revision 95b2e626: gnt-cluster: Add CLI for watcher pause
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:09 pm Revision 05e50653: Add file to pause watcher for a certain duration
- This can be used during maintenance work.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ... - 07:09 pm Revision dff85078: cli._Argument: Remove unused, optional “suggest” parameter
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:08 pm Revision 5431eff1: bash completion: Allow arguments with min < max arguments
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:34 pm Revision ed0efaa5: ganeti-masterd: Master voting in separate process
- One shouldn't fork a Python process after using threads. Master
voting is done before forking (utils.Daemonize), but ... - 06:34 pm Revision 8a20c732: ganeti-masterd: Add helper to run function in separate process
- This will be used to do the master voting.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin... - 03:46 pm Revision ec2c2bc4: GenerateSecret: specify the length of the secret
- Add a parameter to specify the length of the bytes sequence represented by the
returned hex string. Defaulting to 20 ... - 03:14 pm Revision 37972df0: cmdlib: Add some messages to LUExportInstance
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:07 am Revision c0501c69: Implement support for 'cheap' moves only
- This patch adds support for cheap (failover/migrate) operations only in
the balancing algorithm and in the hbal comma... - 10:45 am Revision 633e6bcb: Simplify the wrapIO function
- This fixes one warning from hlint.
- 10:40 am Revision c9926b22: Use migrate or failover based on instance state
- While we can't guarantee that the instance will be in the same state by
the time the migrate/failover command will be...
08/25/2009
- 07:00 pm Revision 6c948699: Style fixes for ganeti-*
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:53 pm Revision bcb1a39e: ganeti-noded: Close listening socket in child
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:51 pm Revision b2c750a4: LUDestroyCluster: hooks support
- We're going to call hooks from its Exec method so LUDestroyCluster has to
support them.
Signed-off-by: Luca Bigliard... - 06:51 pm Revision 3141ad3b: LUDestroyCluster: run hooks
- Run post hooks on master node before it's removed.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: ... - 06:51 pm Revision d87e1814: Document cluster destroy hook
- Add documentation about new cluster-destroy-post hook.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-... - 06:39 pm Revision f848ac00: Run unittests in a temporary directory
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:38 pm Revision bb46a96c: Fix building in a different directory
- Also add build-bash-completion to EXTRA_DIST.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ius... - 06:38 pm Revision b959138f: Add script to run build commands in temporary directory
- Python always compiles imported modules. By running these targets
in a temporary directory we don't pollute the sourc... - 06:38 pm Revision dc7d2c49: Makefile: Use BUILT_SOURCES
- These are always built before anything else.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iust... - 06:38 pm Revision 434c34a5: Simplify manpage building
- This eliminates one temporary directory in the process.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review... - 06:38 pm Revision 33b0062b: Makefile: Fix docbook2man error message
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:38 pm Revision 5a78e2e7: Handle more errors in bash completion
- Don't print error messages if cluster hasn't been initialized yet.
Signed-off-by: Michael Hanselmann <hansmi@google.... - 06:17 pm Revision d763bed0: HooksMaster: fix RunPhase logging
- In case of complete failure results is empty, return immediately
(tnx unittests).
Signed-off-by: Luca Bigliardi <sha... - 05:40 pm Revision 3cb5c1e3: LURemoveNode: no logs running post on removed node
- Do not log results from hooks ran on the removed node as now it's done by
RunPhase.
Signed-off-by: Luca Bigliardi <s... - 05:39 pm Revision 8c4b9364: HooksMaster: logging hooks in RunPhase
- Extend RunPhase so it will log hooks results in POST phase.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Revi... - 04:20 pm Revision 93962b80: rapi: export more static node information
- Currently not all static node information is exported over rapi, and
this makes it less complete than gnt-node list. ... - 03:57 pm Revision 035a7783: Document post cluster initialization LU
- Update hooks documentation with the new opcode (not deleting OP_INIT_CLUSTER
from obsolete operations because the nam... - 02:40 pm Revision cd46f3b4: node-remove post on removed node
- Run post phase of node-remove on the removed node as well.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Revie... - 01:38 pm Revision 6ef2dc74: HooksMaster: document raised exception
- HooksAbort is raised, but not documented.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iustin Po...
08/24/2009
- 08:32 pm Revision 17e82923: HooksMaster: list of nodes override
- Allow the caller of HooksMaster.RunPhase() to specify an alternative list of
nodes.
Signed-off-by: Luca Bigliardi <s... - 06:14 pm Revision 5b9107ff: Add burnin support for instance moves
- This patch adds support for instance moves in burnin. This means that
non-drbd instances finally get support for bein... - 06:06 pm Revision 46af447b: Fix error output in LUSetClusterParams
- Before:
gnt-cluster modify --enabled-hypervisors=xen-hvm,xem-pvm
Failure: command execution error:
Enabled hype... - 06:01 pm Revision 83ec7961: Add ArgHost class
- It expands to the hostnames known by bash.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin... - 06:01 pm Revision 4a265c08: Re-introduce constants for most often used arguments
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:53 pm Revision 10eb54fb: Convert “burnin” to definition-based options
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:53 pm Revision bea60381: Add tools directory to constants
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:53 pm Revision 4f3d5b76: Use script to generate bash completion
- Completion for tools/burnin is not yet implemented. It needs to be
converted to definition-based options handling fir... - 04:53 pm Revision 224b89fa: Add more auto-completion metadata
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:53 pm Revision c38c44ad: Make all options use cli_option
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:52 pm Revision a8005e17: Change scripts to use new argument definitions
- This can be used to generate the bash completion script automatically.
In the future it may allow for better command ... - 04:51 pm Revision 863d7f46: cli: Add new classes for argument definitions
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:13 pm Revision fbf5a861: Add gnt-instance move
- This uses the new LUMoveInstance. It supports only single-instance moves.
Signed-off-by: Iustin Pop <iustin@google.c... - 03:13 pm Revision 313bcead: Add OPMoveInstance and LUMoveInstance
- This patch adds a basic version of LUMoveInstance. It doesn't yet
support iallocator-mode and it's implemented in old... - 03:13 pm Revision 621b7678: Add arbitrary node support to create/remove disks
- Currently the cmdlib _CreateDisks and _RemoveDisks always work on the
instance's (current/primary) nodes. This patch ... - 03:13 pm Revision 858f3d18: Add disk copy support at backend and the rpc level
- This uses a simple 'dd if=… | ssh $target dd of=…' method, like the
ExportSnapshot (which uses the OS export; here we... - 03:11 pm Revision 4b5e8271: Remove extra argument from HooksMaster class
- The mcpu.py:HooksMaster class needs to have a proc attribute/argument to
init in ordet to call its LogWarning method.... - 02:39 pm Revision 4dce1a83: cmdlib: Fix broken QueryInstanceData for plain instances
- Fixes this bug:
Failure: command execution error:
Can't compute disk status for instX.domain.tld: No error informatio...
08/21/2009
- 01:25 pm Revision a6ac80db: Fix unittest breakage due to new test file
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:02 pm Revision a02b89cf: Reinsert simple timers in Mainloop
- This time we use the standard python sched module, rather than doing it
all by ourselves. The scheduler in mainloop c... - 12:35 pm Revision 67d101d4: Fix /proc/drbd parsing in presence of gaps
- In case there are gaps in /proc/drbd related to the minors sequence,
this can lead to empty lines (see the attached d...
08/20/2009
- 05:08 pm Revision f91c7223: Convert ganeti-confd to Mainloop
- Now that mainloop is asyncore-enabled we can easily do that.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Rev... - 05:04 pm Revision 112d240d: Convert the http server/mainloop to asyncore
- We can avoid most of the Mainloop.Run() code if we use asyncore
for delivering I/O events, and just concentrate on wh... - 01:42 pm Revision a9fe7232: Pass the correct signal to handlers
- Mainloop currently calls all handlers with the signal number harcoded to
sigchild. Fixing this.
Signed-off-by: Guido... - 01:34 pm Revision a5bca3e9: design-2.1: specify hmac key permissions
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:26 pm Revision 4a1821de: design-2.1: clarify confd usage of serial numbers
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:28 pm Revision 9b739173: Convert daemon.Mainloop to @SignalHandled
- This makes the function a lot simpler, since it used to install two
different signal handlers, which are now transpar... - 12:28 pm Revision 6b5e5018: Convert ganeti-masterd to @utils.SignalHandled
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:28 pm Revision 451575de: Add a new SignalHandled decorator
- This decorator can be used to call a function holding with protection
from a given signal. The function should accept... - 11:43 am Revision 6c52849e: SignalHandler, only accept list of signals
- utils.SignalHandler can accept either a list of signals or a single
signal, but it's always called with a list. Remov... - 11:43 am Revision 565fe4c4: Simplify IO waiting in Mainloop
- IO is never unregistered in our current usage, so dropping that
functionality for now. Also putting the poller outsid... - 11:43 am Revision 577c90a3: Remove timers from Mainloop
- Timers are currently unused, slightly buggy (for example timeout doesn't
get updated correctly), and unneeded in the ...
Also available in: Atom