Activity
From 08/05/2009 to 09/03/2009
09/03/2009
- 08:32 pm ganeti-local 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 016d04b3: Even more style fixes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 08:32 pm ganeti-local Revision 1e37ad45: KVM hypervisor: Use ReadFile
- 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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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 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:45 pm ganeti-local 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 ganeti-local 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 ganeti-local Revision 6c6b7f8a: Update 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 ganeti-local 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 ganeti-local Revision 2a887df9: utils.CalculateDirectorySize: Don't redefine builtin
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com> - 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 ganeti-local 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... - 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 ... - 01:58 am ganeti-local 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 ganeti-local 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 a2442bf9: Makefile: add IPsec hook
- Enable creation and dist for IPsec hook.
Signed-off-by: Luca Bigliardi <shammash@google.com> - 02:05 pm ganeti-local 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... - 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 cf35a869: Test some cases for the cluster score computation
- 01:54 am Revision 1ae7a904: Add some more instance tests
- This include instance text load tests.
- 01:54 am ganeti-local Revision 1ae7a904: Add some more instance tests
- This include instance text load tests.
- 01:54 am ganeti-local Revision cf35a869: Test some cases for the cluster score computation
08/31/2009
- 07:23 pm ganeti-local Revision 28b498cd: gnt-cluster watcher: Show more information
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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: ... - 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 ganeti-local Revision a4913296: Merge commit 'origin/next' into branch-2.1
- * commit 'origin/next':
Return cluster tags from LUQueryClusterInfo
Conflicts:
lib/cmdlib.py: Trivial - 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... - 04:05 pm ganeti-local 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> - 01:32 pm ganeti-local 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 ganeti-local Revision 1bc6ab94: devel/upload: Build in parallel
- 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... - 06:55 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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... - 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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 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 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 ganeti-local 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: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> - 05:43 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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 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:08 pm ganeti-local 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 ganeti-local Revision 589dee9a: Add errors.InotifyError
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:07 pm ganeti-local 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 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:07 pm ganeti-local 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 ganeti-local 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 ganeti-local Revision d4c1bd12: SimpleConfigReader: handle stat() errors
- Also, catch EnvironmentError, rather than IOError, when trying to read
the file.
Signed-off-by: Guido Trotter <ultro... - 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 ganeti-local 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 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 ganeti-local 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... - 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 ganeti-local 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> - 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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: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> - 07:08 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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... - 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 ganeti-local 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: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 ganeti-local Revision 37972df0: cmdlib: Add some messages to LUExportInstance
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 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 ganeti-local 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... - 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:45 am ganeti-local 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... - 10:40 am ganeti-local 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 ganeti-local Revision 6c948699: Style fixes for ganeti-*
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 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 ganeti-local 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: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 ganeti-local 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 ganeti-local 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 ganeti-local Revision d87e1814: Document cluster destroy hook
- Add documentation about new cluster-destroy-post hook.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-... - 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 ganeti-local Revision f848ac00: Run unittests in a temporary directory
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 434c34a5: Simplify manpage building
- This eliminates one temporary directory in the process.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review... - 06:38 pm ganeti-local 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 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:38 pm ganeti-local 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... - 06:17 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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... - 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 ganeti-local 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. ... - 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... - 03:57 pm ganeti-local 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... - 02:40 pm ganeti-local 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 ganeti-local Revision 6ef2dc74: HooksMaster: document raised exception
- HooksAbort is raised, but not documented.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iustin Po... - 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 ganeti-local 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... - 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:14 pm ganeti-local 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:06 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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> - 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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 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 bea60381: Add tools directory to constants
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:53 pm ganeti-local 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 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:53 pm ganeti-local 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 ganeti-local 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: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> - 04:51 pm ganeti-local 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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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: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 ganeti-local 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.... - 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 ganeti-local 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... - 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 ganeti-local 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: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 ganeti-local 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... - 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 ganeti-local 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... - 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 ganeti-local 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: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... - 05:04 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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: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> - 01:26 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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... - 12:28 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local Revision 577c90a3: Remove timers from Mainloop
- Timers are currently unused, slightly buggy (for example timeout doesn't
get updated correctly), and unneeded in the ... - 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 ...
08/19/2009
- 07:31 pm ganeti-local Revision 2d6db53a: QA: remove the --default-hypervisor option
- This option is gone since 1ac0f5e6d2f06a5bf12815e1b92d1338af32833c,
fixing the QA suite to deal with this.
Signed-of... - 07:31 pm ganeti-local Revision 3aa81090: QA: call ganeti-confd --version
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:31 pm Revision 2d6db53a: QA: remove the --default-hypervisor option
- This option is gone since 1ac0f5e6d2f06a5bf12815e1b92d1338af32833c,
fixing the QA suite to deal with this.
Signed-of... - 07:31 pm Revision 3aa81090: QA: call ganeti-confd --version
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:03 pm Revision 2fe61f87: Update NEWS file for the 0.1.6 release
- 02:03 pm ganeti-local Revision 2fe61f87: Update NEWS file for the 0.1.6 release
- 02:03 pm ganeti-local Revision f723de38: Improve the error message for command line errors
- Instead of using ioError . userError, we format the error ourselves.
This is nicer - no ‘)’ at the end of the output. - 02:03 pm Revision f723de38: Improve the error message for command line errors
- Instead of using ioError . userError, we format the error ourselves.
This is nicer - no ‘)’ at the end of the output. - 12:47 pm ganeti-local Revision b775c337: repair-size: ensure child disks have sane sizes
- While this patch doesn't do a full match of on-disk size to config-size
for child devices, it does a sanity check (fo... - 12:47 pm Revision b775c337: repair-size: ensure child disks have sane sizes
- While this patch doesn't do a full match of on-disk size to config-size
for child devices, it does a sanity check (fo...
08/18/2009
- 07:11 pm Revision b2278348: Add a simulated cluster data loader
- This is useful especially for hspace, where we might want to simulate a
hypothetical cluster to check allocation befo... - 07:11 pm ganeti-local Revision b2278348: Add a simulated cluster data loader
- This is useful especially for hspace, where we might want to simulate a
hypothetical cluster to check allocation befo... - 12:40 pm ganeti-local Revision d8260842: rapi: Add /2/instances/[instance_name]/info resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:40 pm Revision d8260842: rapi: Add /2/instances/[instance_name]/info resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:54 am ganeti-local Revision 552c8dff: cli: Merge ikv_option and keyval_option into cli_option
- Merging them gets rid of two public functions in cli.py and optparse explicitly
supports more than one option type pe... - 11:54 am Revision 552c8dff: cli: Merge ikv_option and keyval_option into cli_option
- Merging them gets rid of two public functions in cli.py and optparse explicitly
supports more than one option type pe...
08/17/2009
- 08:21 pm ganeti-local Revision ed2fe731: burnin: Don't pass any disk when replacing 2nd node
- Replacing the secondary node always replaces it for all disks. Commit
2945fd2d added an error message for this case.
... - 08:21 pm Revision ed2fe731: burnin: Don't pass any disk when replacing 2nd node
- Replacing the secondary node always replaces it for all disks. Commit
2945fd2d added an error message for this case.
... - 06:26 pm Revision 73b90123: cli: Use ToStdout/ToStderr instead of print
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
(cherry picked from... - 06:26 pm ganeti-local Revision 73b90123: cli: Use ToStdout/ToStderr instead of print
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
(cherry picked from... - 05:46 pm Revision 90f72445: Add support for querying the ctime/mtime
- This patch adds querying of ctime/mtime for the cluster/nodes/instances.
Signed-off-by: Iustin Pop <iustin@google.co... - 05:46 pm ganeti-local Revision 90f72445: Add support for querying the ctime/mtime
- This patch adds querying of ctime/mtime for the cluster/nodes/instances.
Signed-off-by: Iustin Pop <iustin@google.co... - 05:46 pm ganeti-local Revision d693c864: Add ctime/mtime support to the main ConfigObjects
- This patch adds ctime/mtime support to the “main” config objects - the
config data itself, and the cluster/nodes/inst... - 05:46 pm Revision d693c864: Add ctime/mtime support to the main ConfigObjects
- This patch adds ctime/mtime support to the “main” config objects - the
config data itself, and the cluster/nodes/inst... - 05:46 pm Revision 3b813dd2: Add utils.FormatTime and a simple unittest
- We don't format with subsecond-precision.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselm... - 05:46 pm ganeti-local Revision 3b813dd2: Add utils.FormatTime and a simple unittest
- We don't format with subsecond-precision.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselm... - 04:57 pm ganeti-local Revision 03298ebe: cli: Use ToStdout/ToStderr instead of print
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:57 pm Revision 03298ebe: cli: Use ToStdout/ToStderr instead of print
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:00 pm ganeti-local Revision 723f4565: rapi: Add /2/nodes/[node_name]/storage/repair resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:00 pm Revision 723f4565: rapi: Add /2/nodes/[node_name]/storage/repair resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm ganeti-local Revision 1e3463f1: Implement “gnt-node repair-volume”
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm Revision 1e3463f1: Implement “gnt-node repair-volume”
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm ganeti-local Revision 76aef8fc: Add opcode to repair storage volumes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm Revision 76aef8fc: Add opcode to repair storage volumes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm ganeti-local Revision 637b8d7e: Add RPC call for storage operations
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm Revision 637b8d7e: Add RPC call for storage operations
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm Revision 6c3c6db9: storage: Add operation for “vgreduce --removemissing”
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm ganeti-local Revision 6c3c6db9: storage: Add operation for “vgreduce --removemissing”
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm Revision 4b37cac5: storage: Add new function to execute operations
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm ganeti-local Revision 4b37cac5: storage: Add new function to execute operations
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm ganeti-local Revision e9721add: cmdlib: Add function to list all instances on node
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm Revision e9721add: cmdlib: Add function to list all instances on node
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:26 pm Revision 5ba9701d: cmdlib: Use common function to list instances on node
- This will be used by another new function, too.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I... - 02:26 pm ganeti-local Revision 5ba9701d: cmdlib: Use common function to list instances on node
- This will be used by another new function, too.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I... - 02:26 pm ganeti-local Revision 2d9005d8: cmdlib: Make TLReplaceDisks._FindFaultyDisks global
- It'll be used for repairing storage units.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin... - 02:26 pm Revision 2d9005d8: cmdlib: Make TLReplaceDisks._FindFaultyDisks global
- It'll be used for repairing storage units.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin... - 02:25 pm ganeti-local Revision 86f5eae3: gnt-node: Use helper function to convert storage type
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:25 pm Revision 86f5eae3: gnt-node: Use helper function to convert storage type
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:15 pm ganeti-local Revision e978484a: Remove obsolete ConfigObject.__setitem__
- __setitem__ is used to emulate container objects. We don't use this, and
the method is not used in a couple of normal... - 01:15 pm Revision e978484a: Remove obsolete ConfigObject.__setitem__
- __setitem__ is used to emulate container objects. We don't use this, and
the method is not used in a couple of normal...
08/14/2009
- 04:00 pm ganeti-local Revision bd315bfa: Implement instance recreate-disks
- This can be used for a 'plain' type instance when the underlying storage
went away, to recreate the storage (and rein... - 04:00 pm Revision bd315bfa: Implement instance recreate-disks
- This can be used for a 'plain' type instance when the underlying storage
went away, to recreate the storage (and rein... - 12:51 pm Revision f6a32708: Fix small typo in gnt-node
- The iallocator option is '-I' not '-i'.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselman... - 12:51 pm ganeti-local Revision f6a32708: Fix small typo in gnt-node
- The iallocator option is '-I' not '-i'.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselman... - 12:51 pm Revision 94cdfa4a: Simplify handling of boolean args in rapi
- This patch replaces hardcoded boolean-type args with
bool(_checkIntVariable). There should be no other cases of this ... - 12:51 pm ganeti-local Revision 94cdfa4a: Simplify handling of boolean args in rapi
- This patch replaces hardcoded boolean-type args with
bool(_checkIntVariable). There should be no other cases of this ... - 12:26 pm ganeti-local Revision 97c61d46: Fix checks in LUSetNodeParms for the master node
- There was a check already in the LU for the master node, however is
wasn't correct. This patch disallows any role cha... - 12:26 pm Revision 97c61d46: Fix checks in LUSetNodeParms for the master node
- There was a check already in the LU for the master node, however is
wasn't correct. This patch disallows any role cha...
08/13/2009
- 05:55 pm ganeti-local Revision 82cd7760: Improve the example startup script
- Currently, the supplised script has two issues:
- it doesn't use start-stop-daemon --start correctly, leading to
... - 05:55 pm Revision 82cd7760: Improve the example startup script
- Currently, the supplised script has two issues:
- it doesn't use start-stop-daemon --start correctly, leading to
... - 05:55 pm Revision a02b4427: Fix insserv dependencies
- (import of a Debian patch)
This patch removes xend from the list of dependencies.
Ganeti doesn't need xend running ... - 05:55 pm ganeti-local Revision a02b4427: Fix insserv dependencies
- (import of a Debian patch)
This patch removes xend from the list of dependencies.
Ganeti doesn't need xend running ... - 02:49 pm ganeti-local Revision 2945fd2d: TLReplaceDisks: Refuse changing secondary for specific disks
- We move all disks anyway.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goog... - 02:49 pm Revision 2945fd2d: TLReplaceDisks: Refuse changing secondary for specific disks
- We move all disks anyway.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goog... - 02:49 pm ganeti-local Revision 4c98b915: rapi: Add /2/instances/[instance_name]/replace-disks resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:49 pm Revision 4c98b915: rapi: Add /2/instances/[instance_name]/replace-disks resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:49 pm Revision 73086975: rlib2: Remove leftover DOC_URI constant
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:49 pm ganeti-local Revision 73086975: rlib2: Remove leftover DOC_URI constant
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:41 pm Revision b142ef15: Merge commit 'origin/next' into branch-2.1
- * commit 'origin/next': (28 commits)
Fix a typo in InitCluster
Ignore results from drained nodes in iallocator
... - 02:41 pm ganeti-local Revision b142ef15: Merge commit 'origin/next' into branch-2.1
- * commit 'origin/next': (28 commits)
Fix a typo in InitCluster
Ignore results from drained nodes in iallocator
... - 12:54 pm ganeti-local Revision 05d47e33: gnt-instance replace-disks: Add new --auto option
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:54 pm Revision 05d47e33: gnt-instance replace-disks: Add new --auto option
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:53 pm Revision 942be002: cmdlib: Add new automatic disk replacement mode
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:53 pm ganeti-local Revision 942be002: cmdlib: Add new automatic disk replacement mode
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:53 pm Revision 02a00186: TLReplaceDisks: Simplify argument checking logic
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:53 pm ganeti-local Revision 02a00186: TLReplaceDisks: Simplify argument checking logic
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:36 pm ganeti-local Revision bec0522b: Fix a typo in InitCluster
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
(cherry picked from c... - 12:36 pm Revision bec0522b: Fix a typo in InitCluster
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
(cherry picked from c...
08/12/2009
- 04:58 pm ganeti-local Revision 0d853843: Ignore results from drained nodes in iallocator
- Since drained nodes could be (partially or fully) broken in iallocator,
we ignore results from these nodes when build... - 04:58 pm Revision 0d853843: Ignore results from drained nodes in iallocator
- Since drained nodes could be (partially or fully) broken in iallocator,
we ignore results from these nodes when build... - 01:02 pm Revision 53bd7366: InstanceIpToNodePrimaryIpQuery
- This implements CONFD_REQ_NODE_PIP_BY_INSTANCE_IP, and maps instance ips
to primary node ips.
Signed-off-by: Guido T... - 01:02 pm ganeti-local Revision 53bd7366: InstanceIpToNodePrimaryIpQuery
- This implements CONFD_REQ_NODE_PIP_BY_INSTANCE_IP, and maps instance ips
to primary node ips.
Signed-off-by: Guido T... - 01:02 pm ganeti-local Revision 7189e790: querylib: abstract a couple of common errors
- Rather than composing them every time, we'll keep "ready-made" tuples
for unknown entries and internal errors (which ... - 01:02 pm Revision 7189e790: querylib: abstract a couple of common errors
- Rather than composing them every time, we'll keep "ready-made" tuples
for unknown entries and internal errors (which ... - 01:02 pm ganeti-local Revision ae130c81: SimpleConfigReader: add IP address lookup helpers
- Add the following functions to SimpleConfigReader:
GetInstanceByIp, nic ip -> instance name
GetNodePrimaryIp, node na... - 01:02 pm Revision ae130c81: SimpleConfigReader: add IP address lookup helpers
- Add the following functions to SimpleConfigReader:
GetInstanceByIp, nic ip -> instance name
GetNodePrimaryIp, node na... - 12:54 pm ganeti-local Revision 6daf26a0: Add NodeRoleQuery
- This implements CONFD_REQ_NODE_ROLE_BYNAME.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael... - 12:54 pm Revision 6daf26a0: Add NodeRoleQuery
- This implements CONFD_REQ_NODE_ROLE_BYNAME.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael... - 12:54 pm ganeti-local Revision 09444532: Add constants for a ping confd request
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:54 pm ganeti-local Revision 12ce965f: ConfdProcessor fix __init__ docstring
- The message is an error deriving from some code moving/refactoring
happening before the initial submission
Signed-of... - 12:54 pm ganeti-local Revision 4d5db19c: Remove unused imports from confd files
- confd.server and daemons/ganeti-confd import a few modules they don't
actually use. Clean them up.
Signed-off-by: Gu... - 12:54 pm ganeti-local Revision e16e4824: Implement confd queries
- We'll start with a simple ping query, which returns ok if it gets no
query argument, and an error if it gets any. Als... - 12:54 pm Revision e843991b: SimpleConfigReader.GetNodeStatusFlags
- Adding a way to retrieve the three node status flags, all in one go,
from SimpleConfigReader. Non-existing nodes are ... - 12:54 pm ganeti-local Revision 197b0f5d: Add a missing node role
- Apart from being a master, a candidate, offline or drained, a node can
have one more state: none of those. Adding bac... - 12:54 pm ganeti-local Revision ca2a5b13: Add a common error code for confd
- If we standardize common error codes, clients can make use of them to
react, rather than trying to parse error string... - 12:54 pm ganeti-local Revision e843991b: SimpleConfigReader.GetNodeStatusFlags
- Adding a way to retrieve the three node status flags, all in one go,
from SimpleConfigReader. Non-existing nodes are ... - 12:54 pm Revision 4d5db19c: Remove unused imports from confd files
- confd.server and daemons/ganeti-confd import a few modules they don't
actually use. Clean them up.
Signed-off-by: Gu... - 12:54 pm Revision 12ce965f: ConfdProcessor fix __init__ docstring
- The message is an error deriving from some code moving/refactoring
happening before the initial submission
Signed-of... - 12:54 pm Revision 09444532: Add constants for a ping confd request
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:54 pm Revision e16e4824: Implement confd queries
- We'll start with a simple ping query, which returns ok if it gets no
query argument, and an error if it gets any. Als... - 12:54 pm Revision d21eda27: ConfdProcessor: move verification to __init__
- During a query execution we currently verify whether we have that query
supported in our dispatch table. Since it's a... - 12:54 pm Revision 197b0f5d: Add a missing node role
- Apart from being a master, a candidate, offline or drained, a node can
have one more state: none of those. Adding bac... - 12:54 pm Revision ca2a5b13: Add a common error code for confd
- If we standardize common error codes, clients can make use of them to
react, rather than trying to parse error string... - 12:54 pm ganeti-local Revision d21eda27: ConfdProcessor: move verification to __init__
- During a query execution we currently verify whether we have that query
supported in our dispatch table. Since it's a... - 12:04 pm ganeti-local Revision 479a8cb8: Design-doc: update RedistributeConfig changes
- Rewrite the part which discusses the global list of files to be distributed
updating with the description of what is ... - 12:04 pm Revision 479a8cb8: Design-doc: update RedistributeConfig changes
- Rewrite the part which discusses the global list of files to be distributed
updating with the description of what is ...
08/11/2009
- 05:05 pm ganeti-local Revision 1e82bc80: rapi: Add /2/nodes/[node_name]/storage/modify resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:05 pm Revision 1e82bc80: rapi: Add /2/nodes/[node_name]/storage/modify resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:05 pm ganeti-local Revision 8381fa2d: rlib2: Import rapi
- This fixes ganeti-rapi which was broken in commit 7a95a954.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re... - 05:05 pm Revision 8381fa2d: rlib2: Import rapi
- This fixes ganeti-rapi which was broken in commit 7a95a954.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re... - 02:55 pm ganeti-local Revision 7a95a954: rapi: Add /2/nodes/[node_name]/storage resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 02:55 pm Revision 7a95a954: rapi: Add /2/nodes/[node_name]/storage resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:50 pm ganeti-local Revision d6d9ce45: Ship the ethers hook
- doc/examples/hooks/ethers has been added without being shipped in the
released tarball. Putting a stop to this.
Sign... - 12:50 pm Revision d6d9ce45: Ship the ethers hook
- doc/examples/hooks/ethers has been added without being shipped in the
released tarball. Putting a stop to this.
Sign... - 12:40 pm ganeti-local Revision 131178b9: Constants: config directories cleanup
- Use variables already defined.
Introduce ganeti CONF_DIR.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Review... - 12:40 pm Revision 131178b9: Constants: config directories cleanup
- Use variables already defined.
Introduce ganeti CONF_DIR.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Review... - 12:19 pm ganeti-local Revision 610e39da: Fix yet another bug in LURepairDiskSizes
- This is a result of broken copy-paste, and because needed_locks is not a
dict right here it will error out.
Signed-o... - 12:19 pm Revision 610e39da: Fix yet another bug in LURepairDiskSizes
- This is a result of broken copy-paste, and because needed_locks is not a
dict right here it will error out.
Signed-o... - 11:25 am ganeti-local Revision c3029d0a: Ssconf IP lists: change separator
- Use " " instead of ",".
Signed-off-by: Luca Bigliardi <shammash@google.com> - 11:25 am Revision c3029d0a: Ssconf IP lists: change separator
- Use " " instead of ",".
Signed-off-by: Luca Bigliardi <shammash@google.com>
08/10/2009
- 09:26 pm ganeti-local Revision 5909fb97: Map Node/IP in ssconf IP lists
- Map the node hostname with its primary/secondary ganeti IP in ssconf.
In this way a node can discover which are its I... - 09:26 pm Revision 5909fb97: Map Node/IP in ssconf IP lists
- Map the node hostname with its primary/secondary ganeti IP in ssconf.
In this way a node can discover which are its I... - 07:41 pm Revision 87a5035c: Ethers hook, compatibility with old lockfile
- Remove "-l" option since some ancient systems ship a version of lockfile-progs
not supporting it.
Signed-off-by: Luc... - 07:41 pm ganeti-local Revision 87a5035c: Ethers hook, compatibility with old lockfile
- Remove "-l" option since some ancient systems ship a version of lockfile-progs
not supporting it.
Signed-off-by: Luc... - 06:31 pm ganeti-local Revision 500a0b29: Remove a few unused imports from noded/masterd
- Signed-off-by: Guido Trotter <ultrotter@google.com>
- 06:31 pm Revision 500a0b29: Remove a few unused imports from noded/masterd
- Signed-off-by: Guido Trotter <ultrotter@google.com>
- 06:12 pm ganeti-local Revision 9164cec9: init script: handle ganeti-confd as well
- Adding ganeti-confd to the example init script. The daemon itself will
only start on master candidates, but the init ... - 06:12 pm Revision 9164cec9: init script: handle ganeti-confd as well
- Adding ganeti-confd to the example init script. The daemon itself will
only start on master candidates, but the init ... - 04:46 pm Revision b84cb9a0: Initial confd implementation
- ganeti-confd is a simple asynchronous daemon, which listens on a UDP
port, passes each packet to a processor, and sen... - 04:46 pm ganeti-local Revision b84cb9a0: Initial confd implementation
- ganeti-confd is a simple asynchronous daemon, which listens on a UDP
port, passes each packet to a processor, and sen... - 04:46 pm ganeti-local Revision 71f27d19: confd.server.ConfdProcessor
- A ConfdProcessor is the job processor for a confd query.
It's responsible for all the processing, from unpacking it, ... - 04:46 pm Revision 71f27d19: confd.server.ConfdProcessor
- A ConfdProcessor is the job processor for a confd query.
It's responsible for all the processing, from unpacking it, ... - 03:57 pm ganeti-local Revision 12426ae1: Add empty ganeti.confd module
- It will be used for the confd server code, and for a basic client
library.
Signed-off-by: Guido Trotter <ultrotter@g... - 03:57 pm Revision 12426ae1: Add empty ganeti.confd module
- It will be used for the confd server code, and for a basic client
library.
Signed-off-by: Guido Trotter <ultrotter@g... - 03:56 pm ganeti-local Revision 31c2a99e: Reply status constants for confd
- These are valid values for the "status" field in objects.ConfdReply
Signed-off-by: Guido Trotter <ultrotter@google.c... - 03:56 pm ganeti-local Revision 7bcc78e4: SimpleConfigReader.Reload, avoid double reloads
- If for some reason we try to call Reload twice but the config file
hasn't changed, we don't want to load it again. Us... - 03:56 pm ganeti-local Revision b125e3b3: Basic exceptions used by confd
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:56 pm ganeti-local Revision ad8b2f9b: SimpleConfigReader: s/Reload/_Load/
- Since we use it also to load the config file initially we rename the
Reload function to _Load. Then we re-export it a... - 03:56 pm ganeti-local Revision 18679072: constants for the confd daemon
- Adding the various basic daemon constants for confd.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 03:56 pm Revision ad8b2f9b: SimpleConfigReader: s/Reload/_Load/
- Since we use it also to load the config file initially we rename the
Reload function to _Load. Then we re-export it a... - 03:56 pm Revision 18679072: constants for the confd daemon
- Adding the various basic daemon constants for confd.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 03:56 pm Revision b125e3b3: Basic exceptions used by confd
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:56 pm Revision 31c2a99e: Reply status constants for confd
- These are valid values for the "status" field in objects.ConfdReply
Signed-off-by: Guido Trotter <ultrotter@google.c... - 03:56 pm Revision 7bcc78e4: SimpleConfigReader.Reload, avoid double reloads
- If for some reason we try to call Reload twice but the config file
hasn't changed, we don't want to load it again. Us... - 03:24 pm ganeti-local Revision 3552cd2e: Run post cluster initialization LU
- Call PostInitCluster from 'gnt-cluster init'.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iusti... - 03:24 pm Revision 3552cd2e: Run post cluster initialization LU
- Call PostInitCluster from 'gnt-cluster init'.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iusti... - 03:23 pm Revision b5f5fae9: Post cluster initialization LU
- Add an 'empty' logical unit to run hooks after cluster initialization.
Signed-off-by: Luca Bigliardi <shammash@googl... - 03:23 pm ganeti-local Revision b5f5fae9: Post cluster initialization LU
- Add an 'empty' logical unit to run hooks after cluster initialization.
Signed-off-by: Luca Bigliardi <shammash@googl... - 03:00 pm ganeti-local Revision 4d9e6835: Fix a bug in LURepairDiskSizes
- The same old story: disks need SetDiskID before being sent to remote
nodes.
Signed-off-by: Iustin Pop <iustin@google... - 03:00 pm Revision 4d9e6835: Fix a bug in LURepairDiskSizes
- The same old story: disks need SetDiskID before being sent to remote
nodes.
Signed-off-by: Iustin Pop <iustin@google... - 01:41 pm ganeti-local Revision 77b60cdb: Upgrade be/hv params with default values
- From time to time we're adding new be or hv parameters. With this patch
missing parameters get set to the default val... - 01:41 pm ganeti-local Revision e71b560a: Implement the KERNEL_PATH parameter for xen-hvm
- For the xen-hvm hypervisor, the KERNEL_PATH parameter is needed but
today is hardcoded to a constants in the xen hype... - 01:41 pm Revision 703dc23d: Move HVM's device_model to a hypervisor parameter
- This moves yet another hardcoded value to a hypervisor parameter. I
removed the 64/32 difference as it doesn't seem v... - 01:41 pm Revision 77b60cdb: Upgrade be/hv params with default values
- From time to time we're adding new be or hv parameters. With this patch
missing parameters get set to the default val... - 01:41 pm Revision e71b560a: Implement the KERNEL_PATH parameter for xen-hvm
- For the xen-hvm hypervisor, the KERNEL_PATH parameter is needed but
today is hardcoded to a constants in the xen hype... - 01:41 pm ganeti-local Revision 703dc23d: Move HVM's device_model to a hypervisor parameter
- This moves yet another hardcoded value to a hypervisor parameter. I
removed the 64/32 difference as it doesn't seem v... - 01:41 pm ganeti-local Revision d2d7d5c3: objects: add configuration upgrade system
- Add a very basic configuration update mechanism to objects.
An object can define the UpgradeConfig method, which will... - 01:41 pm ganeti-local Revision aafb303d: Add cluster-init --no-etc-hosts parameter
- If --no-etc-hosts is passed in at cluster init time we set a new
parameter in the cluster's object to false, and avoi... - 01:41 pm Revision d2d7d5c3: objects: add configuration upgrade system
- Add a very basic configuration update mechanism to objects.
An object can define the UpgradeConfig method, which will... - 01:41 pm Revision aafb303d: Add cluster-init --no-etc-hosts parameter
- If --no-etc-hosts is passed in at cluster init time we set a new
parameter in the cluster's object to false, and avoi...
08/08/2009
- 09:57 am ganeti-local Revision 4dfac6af: design-2.1: Change OS Flavours with OS Variants
- This is the terminology used by libvirt, it's shorter, clearer, and it
makes sense. :)
Also the final sentence about... - 09:57 am Revision 4dfac6af: design-2.1: Change OS Flavours with OS Variants
- This is the terminology used by libvirt, it's shorter, clearer, and it
makes sense. :)
Also the final sentence about...
08/07/2009
- 02:32 pm ganeti-local Revision 40765aa0: serializer.DumpSignedJson
- Don't indent the final message.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann ... - 02:32 pm ganeti-local Revision a0c26bdb: SimpleConfigReader: add serial numbers reading
- GetConfigSerialNo and GetClusterSerialNo return respectively the serial
number for the config and for the cluster obj... - 02:32 pm Revision 40765aa0: serializer.DumpSignedJson
- Don't indent the final message.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann ... - 02:32 pm Revision a0c26bdb: SimpleConfigReader: add serial numbers reading
- GetConfigSerialNo and GetClusterSerialNo return respectively the serial
number for the config and for the cluster obj... - 02:32 pm ganeti-local Revision 89c52785: constants: confd node roles
- confd will return the node role as an integer, which represents one of
the mutually exclusive roles a node can be in.... - 02:32 pm Revision 89c52785: constants: confd node roles
- confd will return the node role as an integer, which represents one of
the mutually exclusive roles a node can be in.... - 02:22 pm Revision 8486ffc0: Merge branch 'master' into next
- * master:
Update NEWS and version for 2.0.3 release
devel/upload: revert rsync -p
export: add meaningful exit c... - 02:22 pm ganeti-local Revision 8486ffc0: Merge branch 'master' into next
- * master:
Update NEWS and version for 2.0.3 release
devel/upload: revert rsync -p
export: add meaningful exit c... - 02:19 pm ganeti-local Revision ea1518af: constants: confd query types
- Initially confd will support only two queries:
CONFD_REQ_NODE_ROLE_BYNAME
Given a node name, return its role.
CONFD... - 02:19 pm Revision ea1518af: constants: confd query types
- Initially confd will support only two queries:
CONFD_REQ_NODE_ROLE_BYNAME
Given a node name, return its role.
CONFD... - 02:08 pm Revision a9407509: design-2.1: detail confd wire protocol
- Until now it was being kept too vague, so here we give some real
examples of how things are going to be.
Signed-off-... - 02:08 pm ganeti-local Revision a9407509: design-2.1: detail confd wire protocol
- Until now it was being kept too vague, so here we give some real
examples of how things are going to be.
Signed-off-... - 12:34 pm Revision 9d725d41: Update NEWS and version for 2.0.3 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:34 pm ganeti-local Revision 9d725d41: Update NEWS and version for 2.0.3 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:24 pm ganeti-local Revision 1fe93c75: SimpleConfigReader.Reload()
- Rather than initializing the config statically at class creation time,
we load it every time Reload() is called.
Sig... - 12:24 pm Revision 1fe93c75: SimpleConfigReader.Reload()
- Rather than initializing the config statically at class creation time,
we load it every time Reload() is called.
Sig... - 12:24 pm Revision 18d750b9: Confd{Request,Reply} objects
- These objects are used to store confd queries and replies.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Revie... - 12:24 pm ganeti-local Revision 18d750b9: Confd{Request,Reply} objects
- These objects are used to store confd queries and replies.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Revie... - 12:24 pm ganeti-local Revision 4e9dac14: Serializer, remove salt_verifier functionality
- The salt needs to be returned anyway, so we don't have to add another
key for the sender to recognize which request a... - 12:24 pm Revision 4e9dac14: Serializer, remove salt_verifier functionality
- The salt needs to be returned anyway, so we don't have to add another
key for the sender to recognize which request a... - 12:08 pm ganeti-local Revision 0f18ee6d: pyinotify: configure checks and documentation
- After 74d519e3b91845a17ae095eb7d58dd9e3d1303e8 Ganeti depends on
pyinotify. Updating the documentation accordingly an... - 12:08 pm Revision 0f18ee6d: pyinotify: configure checks and documentation
- After 74d519e3b91845a17ae095eb7d58dd9e3d1303e8 Ganeti depends on
pyinotify. Updating the documentation accordingly an... - 12:08 pm ganeti-local Revision a8a76bc2: asycnotifier.AsyncNotifier
- AsyncNotifier is a special asyncore class that delivers inotify events
asynchronously.
Signed-off-by: Guido Trotter ... - 12:08 pm Revision a8a76bc2: asycnotifier.AsyncNotifier
- AsyncNotifier is a special asyncore class that delivers inotify events
asynchronously.
Signed-off-by: Guido Trotter ...
08/06/2009
- 08:41 pm ganeti-local Revision 01cf7dbe: SimpleConfigReader: Handle errors when loading
- Handling both IOErrors and ValueErrors (thrown by the simplejson loader)
Signed-off-by: Guido Trotter <ultrotter@goo... - 08:41 pm Revision 01cf7dbe: SimpleConfigReader: Handle errors when loading
- Handling both IOErrors and ValueErrors (thrown by the simplejson loader)
Signed-off-by: Guido Trotter <ultrotter@goo... - 07:36 pm ganeti-local Revision 3f71b464: ssconf.CheckMasterCandidate
- This function checks that the current node is a master candidate, and
terminates otherwise. It will be used upon gane... - 07:36 pm Revision 3f71b464: ssconf.CheckMasterCandidate
- This function checks that the current node is a master candidate, and
terminates otherwise. It will be used upon gane... - 07:13 pm ganeti-local Revision f208978a: Convert ldisk_degraded to tri-state value
- This allows us to report “uncertain” states (LDS_UNKNOWN) for cases
where the code can't easily detect or report what... - 07:13 pm Revision f208978a: Convert ldisk_degraded to tri-state value
- This allows us to report “uncertain” states (LDS_UNKNOWN) for cases
where the code can't easily detect or report what... - 07:13 pm ganeti-local Revision 74f37195: Add constants for local disk status
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 07:13 pm Revision 74f37195: Add constants for local disk status
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 07:13 pm ganeti-local Revision ddfe2228: Handle None result from BlockdevFind
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:13 pm Revision ddfe2228: Handle None result from BlockdevFind
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:13 pm ganeti-local Revision 98825740: objects.BlockDevStatus: Remove ToLegacyStatus
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 07:13 pm Revision 98825740: objects.BlockDevStatus: Remove ToLegacyStatus
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 11:12 am ganeti-local Revision e24999ab: example ethers hook: use lockfile-progs
- Rather than writing our own locking routing, use the one implemented by
the lockfile-create program.
Signed-off-by: ... - 11:12 am Revision e24999ab: example ethers hook: use lockfile-progs
- Rather than writing our own locking routing, use the one implemented by
the lockfile-create program.
Signed-off-by: ...
08/05/2009
- 09:05 pm ganeti-local Revision d98b37a1: ethers hook lock: use logger not echo
- Overwrite debugging 'echo's
Signed-off-by: Luca Bigliardi <shammash@google.com>
Signed-off-by: Guido Trotter <ultrot... - 09:05 pm Revision d98b37a1: ethers hook lock: use logger not echo
- Overwrite debugging 'echo's
Signed-off-by: Luca Bigliardi <shammash@google.com>
Signed-off-by: Guido Trotter <ultrot... - 08:52 pm ganeti-local Revision 1db0b7cf: ethers hook: reduce the probability of data loss
- The hook was exiting immediately if lock was not acquired, entering a timed
loop to have more chances when acquiring ... - 08:52 pm Revision 1db0b7cf: ethers hook: reduce the probability of data loss
- The hook was exiting immediately if lock was not acquired, entering a timed
loop to have more chances when acquiring ... - 08:05 pm ganeti-local Revision 8113a52e: Add master candidates IPs informations to ssconf
- This will be used when querying confd, in order not to rely on DNS being
available.
Signed-off-by: Luca Bigliardi <s... - 08:05 pm Revision 8113a52e: Add master candidates IPs informations to ssconf
- This will be used when querying confd, in order not to rely on DNS being
available.
Signed-off-by: Luca Bigliardi <s... - 07:40 pm Revision 476ce612: TestParameterNames: also check nic parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 07:40 pm ganeti-local Revision 476ce612: TestParameterNames: also check nic parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:55 pm ganeti-local Revision 4c14965f: ConfigObject.ToDict() only export non-None values
- The method is changed to a normal loop, to avoid calling getattr()
twice. Also __getstate__ is changed to just use To... - 05:55 pm Revision 4c14965f: ConfigObject.ToDict() only export non-None values
- The method is changed to a normal loop, to avoid calling getattr()
twice. Also __getstate__ is changed to just use To... - 05:55 pm Revision f9780ccd: Add nodes IPs informations to ssconf
- Having a list of primary/secondary IPs of all the nodes in ssconf can be useful
for scripts/hooks which need to autom... - 05:55 pm ganeti-local Revision f9780ccd: Add nodes IPs informations to ssconf
- Having a list of primary/secondary IPs of all the nodes in ssconf can be useful
for scripts/hooks which need to autom... - 04:45 pm Revision c64d061f: devel/upload: revert rsync -p
- The permissions replications also will change the permissions on the /
and /usr directories, which is bad. This rever... - 04:45 pm ganeti-local Revision c64d061f: devel/upload: revert rsync -p
- The permissions replications also will change the permissions on the /
and /usr directories, which is bad. This rever... - 04:09 pm ganeti-local Revision 59672ca3: serializer: fix a few docstrings
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 04:09 pm Revision 59672ca3: serializer: fix a few docstrings
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:19 pm Revision 084f05a5: export: add meaningful exit code
- Currently ‘gnt-backup export’ always returns exit code zero, even in the
face of complete failure during backup (only... - 02:19 pm ganeti-local Revision 084f05a5: export: add meaningful exit code
- Currently ‘gnt-backup export’ always returns exit code zero, even in the
face of complete failure during backup (only... - 02:19 pm ganeti-local Revision a48b08bf: Fix detecting of errors in export
- This should fix issue 61, by explicitely calling bash (which is is now a
non-explicit dependency) and setting the pip... - 02:19 pm Revision a48b08bf: Fix detecting of errors in export
- This should fix issue 61, by explicitely calling bash (which is is now a
non-explicit dependency) and setting the pip... - 12:13 pm ganeti-local Revision 36145b12: Use objects for blockdev_getmirrorstatus RPC call result
- This patch changes the return type for backend.BlockdevGetmirrorstatus from
a list of tuples to a list of objects.Blo... - 12:13 pm Revision 36145b12: Use objects for blockdev_getmirrorstatus RPC call result
- This patch changes the return type for backend.BlockdevGetmirrorstatus from
a list of tuples to a list of objects.Blo... - 12:12 pm ganeti-local Revision 96acbc09: Use object for blockdev_find RPC call result
- This patch changes the return type for backend.BlockdevFind to an object
(objects.BlockDevStatus). Before a tuple was... - 12:12 pm Revision 96acbc09: Use object for blockdev_find RPC call result
- This patch changes the return type for backend.BlockdevFind to an object
(objects.BlockDevStatus). Before a tuple was...
Also available in: Atom