Activity

From 02/22/2012 to 03/22/2012

03/22/2012

08:44 pm Revision 080fbeea: gnt-instance info: Show node group information
This requires acquiring the node group locks in shared mode.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
08:44 pm Revision c85b15c1: cmdlib: Factorize checking acquired node group locks
The “cur_group_uuid” parameter is optional to prepare for using the
factorized code from LUInstanceQueryData.
Signed...
Michael Hanselmann
08:44 pm ganeti-local Revision c85b15c1: cmdlib: Factorize checking acquired node group locks
The “cur_group_uuid” parameter is optional to prepare for using the
factorized code from LUInstanceQueryData.
Signed...
Michael Hanselmann
08:44 pm ganeti-local Revision 080fbeea: gnt-instance info: Show node group information
This requires acquiring the node group locks in shared mode.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
07:30 pm ganeti-local Revision 88a10df5: Rework exit model
While updating the confd code, I realised that we have _lots_ of
duplication in the exit model for the various progra...
Iustin Pop
07:30 pm Revision 88a10df5: Rework exit model
While updating the confd code, I realised that we have _lots_ of
duplication in the exit model for the various progra...
Iustin Pop
05:38 pm Revision 18e2d065: Bump version for 2.5.0~rc6 release
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:38 pm ganeti-local Revision 18e2d065: Bump version for 2.5.0~rc6 release
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:10 pm ganeti-local Revision 3e5012c6: Fix out-of-tree builds
The new shell tests do not succeed out-of-tree, due to static paths
and other issues. This trivial patch fixes these ...
Iustin Pop
05:10 pm Revision 3e5012c6: Fix out-of-tree builds
The new shell tests do not succeed out-of-tree, due to static paths
and other issues. This trivial patch fixes these ...
Iustin Pop
04:29 pm Revision a20e4768: cmdlib: Stop forking in LUClusterQuery
While debugging another issue we realized that LUClusterQuery forks.
This turned out to be the “platform.architecture...
Michael Hanselmann
04:29 pm ganeti-local Revision a20e4768: cmdlib: Stop forking in LUClusterQuery
While debugging another issue we realized that LUClusterQuery forks.
This turned out to be the “platform.architecture...
Michael Hanselmann
04:01 pm ganeti-local Revision 53d4cdf1: Convert manual shell tests to shelltestrunner
This is more of a RFC… Basically most of the shell-based tests are
converted from exec+grep to shelltestrunner.
Thin...
Iustin Pop
04:01 pm Revision 53d4cdf1: Convert manual shell tests to shelltestrunner
This is more of a RFC… Basically most of the shell-based tests are
converted from exec+grep to shelltestrunner.
Thin...
Iustin Pop
03:58 pm ganeti-local Revision b714ff89: Add command line option for controlling syslog use
… and enable it in hconfd.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:58 pm Revision b714ff89: Add command line option for controlling syslog use
… and enable it in hconfd.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:58 pm ganeti-local Revision a6e2a138: Add support for syslog logging to Ganeti.Logging
Currently this is initialised to no from Daemon.hs, but will in the
future allow command-line options for controlling...
Iustin Pop
03:58 pm Revision a6e2a138: Add support for syslog logging to Ganeti.Logging
Currently this is initialised to no from Daemon.hs, but will in the
future allow command-line options for controlling...
Iustin Pop
03:25 pm Revision 68c0adb5: Update IP pool management design doc
Update IP pool managenent design doc to be consistent
with the implementation.
* Add new NIC parameter: 'network'
...
Dimitris Aragiorgis
03:03 pm Revision 70567db0: locking: Notify only once on release
Don't notify for every released lock in shared mode. The last one is
enough.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
03:03 pm ganeti-local Revision 70567db0: locking: Notify only once on release
Don't notify for every released lock in shared mode. The last one is
enough.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
03:03 pm Revision 8d7d8b57: locking: Handle spurious notifications on lock acquire
This was already a TODO since the implementation of lock priorities in
September 2010. Under certain conditions a wai...
Michael Hanselmann
03:03 pm ganeti-local Revision 8d7d8b57: locking: Handle spurious notifications on lock acquire
This was already a TODO since the implementation of lock priorities in
September 2010. Under certain conditions a wai...
Michael Hanselmann
02:50 pm ganeti-local Revision 26082b7e: locking: Fix lock deletion with timeout
While working on another SharedLock fix I realized timeouts on lock
deletion don't work very well if the timeout actu...
Michael Hanselmann
02:50 pm Revision 26082b7e: locking: Fix lock deletion with timeout
While working on another SharedLock fix I realized timeouts on lock
deletion don't work very well if the timeout actu...
Michael Hanselmann
02:50 pm Revision 6b27f535: Move _TimeoutExpired to utils
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Andrea Spadaccini
02:50 pm ganeti-local Revision 6b27f535: Move _TimeoutExpired to utils
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Andrea Spadaccini
02:46 pm Revision a5485ffc: LUClusterVerifyConfig: Share BGL, acquire all locks in shared mode
Instead of acquiring the BGL in exclusive mode (which blocks all other
operations), we acquire all locks for groups, ...
Michael Hanselmann
02:46 pm Revision 6fe4baf0: Revert "Stop acquiring BGL for LUXI queries"
This reverts commit 0fa753bad2cf5a0cf88953347e5da3aebbf21956.
Turns out there are more queries acquiring locks than ...
Michael Hanselmann
02:46 pm ganeti-local Revision a5485ffc: LUClusterVerifyConfig: Share BGL, acquire all locks in shared mode
Instead of acquiring the BGL in exclusive mode (which blocks all other
operations), we acquire all locks for groups, ...
Michael Hanselmann
02:46 pm ganeti-local Revision 6fe4baf0: Revert "Stop acquiring BGL for LUXI queries"
This reverts commit 0fa753bad2cf5a0cf88953347e5da3aebbf21956.
Turns out there are more queries acquiring locks than ...
Michael Hanselmann

03/21/2012

05:56 pm Revision 596b2459: KVM: don't add -nographic using spice
This fixes issue 222.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@go...
Guido Trotter
05:56 pm ganeti-local Revision 596b2459: KVM: don't add -nographic using spice
This fixes issue 222.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@go...
Guido Trotter
02:08 pm Revision 0985325d: Only build hconfd if --enable-confd was passed
A later, more complete patch, will allow selecting between either the
Python version or the Haskell version. This is ...
Iustin Pop
02:08 pm ganeti-local Revision 0985325d: Only build hconfd if --enable-confd was passed
A later, more complete patch, will allow selecting between either the
Python version or the Haskell version. This is ...
Iustin Pop
12:37 pm Revision 3096524e: Build test helpers that point to hpc-htools
Instead of using just shell constructs to run hpc-htools correctly
(i.e. HTOOLS=role htools/hpc-htools …), let's add ...
Iustin Pop
12:37 pm ganeti-local Revision 3096524e: Build test helpers that point to hpc-htools
Instead of using just shell constructs to run hpc-htools correctly
(i.e. HTOOLS=role htools/hpc-htools …), let's add ...
Iustin Pop
12:37 pm ganeti-local Revision f183de56: Allow hail to read data from stdin
This patch makes hail treat '-' as denoting stdin, per the usual Unix
convention. This will help with testing.
Signe...
Iustin Pop
12:37 pm Revision f183de56: Allow hail to read data from stdin
This patch makes hail treat '-' as denoting stdin, per the usual Unix
convention. This will help with testing.
Signe...
Iustin Pop
12:37 am Revision 19cff311: Update hconfd bind address handling
Instead of hardcoded IPv4 INADDR_ANY, this patch changes hconfd to use
either the any network for the configured clus...
Iustin Pop
12:37 am ganeti-local Revision 19cff311: Update hconfd bind address handling
Instead of hardcoded IPv4 INADDR_ANY, this patch changes hconfd to use
either the any network for the configured clus...
Iustin Pop
12:25 am ganeti-local Revision aa3adf35: Add skeleton ssconf module
This currently has only one export function in it, which will be used
for future bind address functionality in daemon...
Iustin Pop
12:25 am ganeti-local Revision 1091021c: Add two utility functions
These both are work with/on the Result type, so we add them to
BasicTypes. The functions will be used as more generic...
Iustin Pop
12:25 am ganeti-local Revision 152e05e1: Add the bind-address option
This implements the same logic as the Python code: if the option is
not used, use the default appropriate for the clu...
Iustin Pop
12:25 am Revision aa3adf35: Add skeleton ssconf module
This currently has only one export function in it, which will be used
for future bind address functionality in daemon...
Iustin Pop
12:25 am Revision 1091021c: Add two utility functions
These both are work with/on the Result type, so we add them to
BasicTypes. The functions will be used as more generic...
Iustin Pop
12:25 am Revision 152e05e1: Add the bind-address option
This implements the same logic as the Python code: if the option is
not used, use the default appropriate for the clu...
Iustin Pop

03/20/2012

08:00 pm Revision 0fa753ba: Stop acquiring BGL for LUXI queries
Short description: This fixes an issue whereby masterd would become
unresponsive on the LUXI socket, leading to clien...
Michael Hanselmann
08:00 pm ganeti-local Revision 0fa753ba: Stop acquiring BGL for LUXI queries
Short description: This fixes an issue whereby masterd would become
unresponsive on the LUXI socket, leading to clien...
Michael Hanselmann
02:11 pm ganeti-local Revision a5183d3d: Typo fix: s/aditional/additional/
Trivial fix for a typo in message output of LUInstanceSetParams
Signed-off-by: Alexander Schreiber <als@google.com>
...
Alexander Schreiber
02:11 pm Revision a5183d3d: Typo fix: s/aditional/additional/
Trivial fix for a typo in message output of LUInstanceSetParams
Signed-off-by: Alexander Schreiber <als@google.com>
...
Alexander Schreiber

03/19/2012

05:45 pm ganeti-local Revision 3c6b7403: Fix exported constants
I "forgot" to run the unittests before commit :(
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael ...
Iustin Pop
05:45 pm Revision 3c6b7403: Fix exported constants
I "forgot" to run the unittests before commit :(
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael ...
Iustin Pop
05:34 pm Revision 47334810: Export the AF_INET/AF_INET6 constants
These are needed to ensure that htools uses the same numeric values as
Python.
By the way, I'm not sure what's the b...
Iustin Pop
05:34 pm ganeti-local Revision 47334810: Export the AF_INET/AF_INET6 constants
These are needed to ensure that htools uses the same numeric values as
Python.
By the way, I'm not sure what's the b...
Iustin Pop
05:34 pm Revision 896b2850: Rename htools-hpc to hpc-tools to fix laziness
This is a stupid/trivial patch. I didn't realise when adding
htools-hpc that this will "break" tab completion on htoo...
Iustin Pop
05:34 pm ganeti-local Revision 896b2850: Rename htools-hpc to hpc-tools to fix laziness
This is a stupid/trivial patch. I didn't realise when adding
htools-hpc that this will "break" tab completion on htoo...
Iustin Pop
02:44 pm Revision 3e0ed18c: EPO: Pass the no_remember parameter to preserve state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
02:44 pm ganeti-local Revision 3e0ed18c: EPO: Pass the no_remember parameter to preserve state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:00 pm ganeti-local Revision e6812a1a: htools: fix long version of --port for daemons
The dashes do not need to be in, if they are then the resulting option
is:
-p PORT ----port=PORT Network port...
Iustin Pop
12:00 pm Revision e6812a1a: htools: fix long version of --port for daemons
The dashes do not need to be in, if they are then the resulting option
is:
-p PORT ----port=PORT Network port...
Iustin Pop
11:50 am Revision 91e5a351: Add htools/rapi test directory to DIRS
Sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:50 am ganeti-local Revision 91e5a351: Add htools/rapi test directory to DIRS
Sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:50 am Revision 5ec23388: Update gnt-node evacuate man page/help text
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:50 am ganeti-local Revision 5ec23388: Update gnt-node evacuate man page/help text
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:48 am Revision 666e013f: Fix type error in LUInstanceChangeGroup
If a specific list of groups has been requested, then the code used
that, without transforming it to a (frozen)set fi...
Iustin Pop
11:48 am ganeti-local Revision 666e013f: Fix type error in LUInstanceChangeGroup
If a specific list of groups has been requested, then the code used
that, without transforming it to a (frozen)set fi...
Iustin Pop

03/16/2012

01:40 pm Revision 36c70d4d: Fix gnt-group --help display
Copy-paste mismatch :)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google...
Iustin Pop
01:40 pm ganeti-local Revision 36c70d4d: Fix gnt-group --help display
Copy-paste mismatch :)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google...
Iustin Pop
12:35 pm Revision f0753837: hspace: Make use of the spindle_use
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:35 pm ganeti-local Revision f0753837: hspace: Make use of the spindle_use
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:08 pm Revision 5850e990: htools: Fix some compiler warnings
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
12:08 pm ganeti-local Revision 5850e990: htools: Fix some compiler warnings
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop

03/15/2012

06:22 pm Revision 9915fb20: Add tests for custom text files
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm Revision 8d616d4d: Add utilisation and instance selection tests
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm Revision 30084381: Enable pipefail mode for shell tests
These allow more accurate checks.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@goo...
Iustin Pop
06:22 pm Revision 55ffacfa: Add RAPI shell-level unittest
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm Revision d575c755: Enhance the RAPI backend to accept file:// URLs
This will allow offline testing of this backend (except for the actual
curl part), also in the case where we didn't c...
Iustin Pop
06:22 pm Revision 6bbd76d2: Add new hail (shell) tests
Using some hand-crafted files (manually modified from a real cluster
running master branch), we test that hail behave...
Iustin Pop
06:22 pm ganeti-local Revision 9915fb20: Add tests for custom text files
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm ganeti-local Revision d575c755: Enhance the RAPI backend to accept file:// URLs
This will allow offline testing of this backend (except for the actual
curl part), also in the case where we didn't c...
Iustin Pop
06:22 pm ganeti-local Revision 55ffacfa: Add RAPI shell-level unittest
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm ganeti-local Revision 30084381: Enable pipefail mode for shell tests
These allow more accurate checks.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@goo...
Iustin Pop
06:22 pm ganeti-local Revision 8d616d4d: Add utilisation and instance selection tests
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm ganeti-local Revision 6bbd76d2: Add new hail (shell) tests
Using some hand-crafted files (manually modified from a real cluster
running master branch), we test that hail behave...
Iustin Pop
04:25 pm Revision ec629280: htools: Reflect the rename of spindle_usage to spindle_use
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:25 pm ganeti-local Revision ec629280: htools: Reflect the rename of spindle_usage to spindle_use
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:25 pm Revision 34700f5b: Rename spindle_usage to spindle_use on Ganeti side
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:25 pm ganeti-local Revision 34700f5b: Rename spindle_usage to spindle_use on Ganeti side
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:05 pm Revision fafd0773: Add a helper function for mirrorType computations
We most always use `templateMirrorType . diskTemplate`, so let's add a
helper function for this.
Signed-off-by: Iust...
Iustin Pop
04:05 pm ganeti-local Revision fafd0773: Add a helper function for mirrorType computations
We most always use `templateMirrorType . diskTemplate`, so let's add a
helper function for this.
Signed-off-by: Iust...
Iustin Pop
04:05 pm Revision 1d42996b: Fix TLMigrateInstance use of IAllocator
hail now expects correctly that relocate_from is of equal length with
the number of required nodes (fixme: there's a ...
Iustin Pop
04:05 pm ganeti-local Revision 1d42996b: Fix TLMigrateInstance use of IAllocator
hail now expects correctly that relocate_from is of equal length with
the number of required nodes (fixme: there's a ...
Iustin Pop
04:05 pm ganeti-local Revision 64946775: Enable all disk templates in unit-tests
After the many patches implementing the shared storage functionality
in iallocator, balances, etc., and after the pat...
Iustin Pop
04:05 pm Revision 64946775: Enable all disk templates in unit-tests
After the many patches implementing the shared storage functionality
in iallocator, balances, etc., and after the pat...
Iustin Pop
04:05 pm Revision f9f6480e: Enable evacuation/relocation for shared storage
This patch toggles the final bit and enables nodeEvacInstance to work
on shared storage instances. Diskless instances...
Iustin Pop
04:05 pm ganeti-local Revision f9f6480e: Enable evacuation/relocation for shared storage
This patch toggles the final bit and enables nodeEvacInstance to work
on shared storage instances. Diskless instances...
Iustin Pop
04:05 pm ganeti-local Revision 91575c31: Replace explicit case with 'either'
Instead of manually case-ing on the Either contents, let's just use
either with const functions (not really readable,...
Iustin Pop
04:05 pm Revision 91575c31: Replace explicit case with 'either'
Instead of manually case-ing on the Either contents, let's just use
either with const functions (not really readable,...
Iustin Pop
04:04 pm ganeti-local Revision a1741ae5: Rename evacDrbdSecondaryInner to evacOneNodeInner
The function is now generic, so let's rename it and cleanup/improve
the docstrings.
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
04:04 pm Revision a1741ae5: Rename evacDrbdSecondaryInner to evacOneNodeInner
The function is now generic, so let's rename it and cleanup/improve
the docstrings.
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
04:04 pm Revision 6ab3ce90: Abstract the secondary evac into a separate function
This is generic enough (no longer depending on the replace type) that
it will be used for other replace modes too. So...
Iustin Pop
04:04 pm ganeti-local Revision 6ab3ce90: Abstract the secondary evac into a separate function
This is generic enough (no longer depending on the replace type) that
it will be used for other replace modes too. So...
Iustin Pop
04:04 pm Revision 53bddadd: Fix Node_addPriFD test for arbitrary disk templates
Currently, this test assumes localStorageTemplates, so let's make sure
we enforce that on the given instance
Signed-...
Iustin Pop
04:04 pm ganeti-local Revision 53bddadd: Fix Node_addPriFD test for arbitrary disk templates
Currently, this test assumes localStorageTemplates, so let's make sure
we enforce that on the given instance
Signed-...
Iustin Pop
04:04 pm Revision 0c8cef35: Extend the possible move types with FailoverToAny
This brings together all previous pieces and allows balancing to work
(with the known caveats related to disk space c...
Iustin Pop
04:04 pm ganeti-local Revision 0c8cef35: Extend the possible move types with FailoverToAny
This brings together all previous pieces and allows balancing to work
(with the known caveats related to disk space c...
Iustin Pop
03:53 pm ganeti-local Revision d953a965: htools: Add the new ipolicy field
Also add the spindle usage to QC
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@goog...
René Nussbaumer
03:53 pm Revision d953a965: htools: Add the new ipolicy field
Also add the spindle usage to QC
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@goog...
René Nussbaumer
03:53 pm Revision 553cb5f7: ipolicy: Keep track of spindle usage
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:53 pm ganeti-local Revision 553cb5f7: ipolicy: Keep track of spindle usage
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:29 pm ganeti-local Revision 4c18f468: htools: Use the spindle usage in the algorithms
In the same transition also do a simple refactor of the caculation
Signed-off-by: René Nussbaumer <rn@google.com>
Re...
René Nussbaumer
12:29 pm Revision 4c18f468: htools: Use the spindle usage in the algorithms
In the same transition also do a simple refactor of the caculation
Signed-off-by: René Nussbaumer <rn@google.com>
Re...
René Nussbaumer
12:29 pm ganeti-local Revision b003b8c0: htools: Convert all the other backends as this is trivial
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:29 pm Revision b003b8c0: htools: Convert all the other backends as this is trivial
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:29 pm Revision 52cc1370: htools: Adapt the Text backend to spindle usage
The old text files remain compatible with this change.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: I...
René Nussbaumer
12:29 pm ganeti-local Revision 52cc1370: htools: Adapt the Text backend to spindle usage
The old text files remain compatible with this change.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: I...
René Nussbaumer
12:29 pm ganeti-local Revision 981bb5cf: htools: Adding spindle usage to Instance
For now we just pass in "1" as spindle usage and adapt the backend
later.
Signed-off-by: René Nussbaumer <rn@google....
René Nussbaumer
12:29 pm Revision 981bb5cf: htools: Adding spindle usage to Instance
For now we just pass in "1" as spindle usage and adapt the backend
later.
Signed-off-by: René Nussbaumer <rn@google....
René Nussbaumer
12:29 pm Revision 37b918c2: iallocator: Add the spindle_usage to iallocator
This adapts the Ganeti side to export the spindle_usage
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: ...
René Nussbaumer
12:29 pm ganeti-local Revision 37b918c2: iallocator: Add the spindle_usage to iallocator
This adapts the Ganeti side to export the spindle_usage
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: ...
René Nussbaumer
12:29 pm Revision ccbbb434: constants: Add new spindle_usage parameter to BE
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:29 pm ganeti-local Revision ccbbb434: constants: Add new spindle_usage parameter to BE
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:24 pm Revision 1cdcf8f3: Rework unit parsing
Due to how conversions were implemented previously, 1TB failed to
parse on 32-bit, as we were overflowing during comp...
Iustin Pop
12:24 pm ganeti-local Revision 1cdcf8f3: Rework unit parsing
Due to how conversions were implemented previously, 1TB failed to
parse on 32-bit, as we were overflowing during comp...
Iustin Pop

03/14/2012

12:50 pm Revision 1bf72492: Enable lvmstrap to run under Linux 3.x
Extend the kernel version check to also accept Linux 3.x as valid.
Signed-off-by: Alexander Schreiber <als@google.co...
Alexander Schreiber
12:50 pm ganeti-local Revision 1bf72492: Enable lvmstrap to run under Linux 3.x
Extend the kernel version check to also accept Linux 3.x as valid.
Signed-off-by: Alexander Schreiber <als@google.co...
Alexander Schreiber
12:21 pm Revision d3cd5a3f: Fix make distcheck after the new shell tests
With the new shell tests, we have for the first time the situation
where tests require a binary built (via make), but...
Iustin Pop
12:21 pm ganeti-local Revision d3cd5a3f: Fix make distcheck after the new shell tests
With the new shell tests, we have for the first time the situation
where tests require a binary built (via make), but...
Iustin Pop

03/13/2012

06:11 pm Revision 16197d69: Add more rebalance offline tests
These test that we can actually rebalance (and that it results in
replace-disks and failovers/migrations), and that w...
Iustin Pop
06:11 pm Revision 3e7220e4: Enhance the offline tests
This adds new offline tests:
- checks that files generated by hspace can be read by hbal/hinfo
- checks that hbal ha...
Iustin Pop
06:11 pm Revision 25cdf177: Build a coverage-enabled version of the tools
This allows the offline tests to also generate coverage data, and the
hs-coverage target is changed to show both unit...
Iustin Pop
06:11 pm ganeti-local Revision 25cdf177: Build a coverage-enabled version of the tools
This allows the offline tests to also generate coverage data, and the
hs-coverage target is changed to show both unit...
Iustin Pop
06:11 pm ganeti-local Revision 16197d69: Add more rebalance offline tests
These test that we can actually rebalance (and that it results in
replace-disks and failovers/migrations), and that w...
Iustin Pop
06:11 pm ganeti-local Revision 3e7220e4: Enhance the offline tests
This adds new offline tests:
- checks that files generated by hspace can be read by hbal/hinfo
- checks that hbal ha...
Iustin Pop
05:56 pm Revision 04d15e63: Enable htools offline tests as Haskell tests
This enables the offline-test.sh run both in the special "hs-check"
rule and during normal "make check".
Signed-off-...
Iustin Pop
05:56 pm ganeti-local Revision 04d15e63: Enable htools offline tests as Haskell tests
This enables the offline-test.sh run both in the special "hs-check"
rule and during normal "make check".
Signed-off-...
Iustin Pop
05:56 pm ganeti-local Revision 42089b55: Add a simple binary tester for htools
This only tests the command line basic options. In the future, it can
be expanded to check other things.
Signed-off-...
Iustin Pop
05:56 pm Revision 42089b55: Add a simple binary tester for htools
This only tests the command line basic options. In the future, it can
be expanded to check other things.
Signed-off-...
Iustin Pop
05:56 pm Revision 01c23d75: Add a helper for htools CLI tests
… and update live-test.sh to use it, instead of hard-coding the
program paths.
A few additional style fixes are also...
Iustin Pop
05:56 pm ganeti-local Revision 01c23d75: Add a helper for htools CLI tests
… and update live-test.sh to use it, instead of hard-coding the
program paths.
A few additional style fixes are also...
Iustin Pop
03:12 pm Revision 3c899290: htools: add confd daemon binary
This is currently not installed anywhere, just built.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Gui...
Iustin Pop
03:12 pm ganeti-local Revision 3c899290: htools: add confd daemon binary
This is currently not installed anywhere, just built.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Gui...
Iustin Pop
03:12 pm ganeti-local Revision 358a0a8f: htools: add confd server module
This contains a more-or-less complete implementation for the
server-side confd.
Note that most of the code is behavi...
Iustin Pop
03:12 pm Revision 358a0a8f: htools: add confd server module
This contains a more-or-less complete implementation for the
server-side confd.
Note that most of the code is behavi...
Iustin Pop
02:48 pm ganeti-local Revision 6ec7a50e: htools: add basic daemon-related functionality
This is not complete for now, just the basic functionality has been
implemented:
- daemonize
- check we're running u...
Iustin Pop
02:48 pm Revision 6ec7a50e: htools: add basic daemon-related functionality
This is not complete for now, just the basic functionality has been
implemented:
- daemonize
- check we're running u...
Iustin Pop
02:48 pm Revision ba4e38e8: htools: add logging functionality
This adds a dependency on hslogger 1.1+, which is not available in
Debian Squeeze, only in later versions.
Signed-of...
Iustin Pop
02:48 pm ganeti-local Revision ba4e38e8: htools: add logging functionality
This adds a dependency on hslogger 1.1+, which is not available in
Debian Squeeze, only in later versions.
Signed-of...
Iustin Pop
02:48 pm Revision 7946c25d: htools: add runtime functionality
This duplicates the lib/runtime.py functionality, allowing us to check
for runtime users and groups consistency.
Sig...
Iustin Pop
02:48 pm ganeti-local Revision 7946c25d: htools: add runtime functionality
This duplicates the lib/runtime.py functionality, allowing us to check
for runtime users and groups consistency.
Sig...
Iustin Pop
02:48 pm Revision 21dc8694: htools: add a small module for crypto functions
This adds a dependency on the following new libraries:
- Data.HMAC module from the 'crypto' library
- Data.Text from...
Iustin Pop
02:48 pm ganeti-local Revision 21dc8694: htools: add a small module for crypto functions
This adds a dependency on the following new libraries:
- Data.HMAC module from the 'crypto' library
- Data.Text from...
Iustin Pop
02:48 pm Revision 417cc253: htools: add definitions for confd types
While we have some of these as plain types in Constants.hs, we add
proper ADT definitions for them in a new file. Fur...
Iustin Pop
02:48 pm ganeti-local Revision 417cc253: htools: add definitions for confd types
While we have some of these as plain types in Constants.hs, we add
proper ADT definitions for them in a new file. Fur...
Iustin Pop
02:48 pm Revision eaa64cd8: htools: add a very basic lib/config.py equivalent
This only is able to load the configuration data for now.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
02:48 pm ganeti-local Revision eaa64cd8: htools: add a very basic lib/config.py equivalent
This only is able to load the configuration data for now.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
02:48 pm Revision b1e81520: htools: add partial implementation of lib/objects.py
This is partial since not all object types can be easily converted for
now (will need some changes on the Python side...
Iustin Pop
02:48 pm ganeti-local Revision b1e81520: htools: add partial implementation of lib/objects.py
This is partial since not all object types can be easily converted for
now (will need some changes on the Python side...
Iustin Pop
11:29 am Revision 0547d608: htools: Make it possible to load an IAlloc request
This is only useful in the stand-alone command line tools:
- hbal
- hspace
- hinfo
This change also documents the f...
René Nussbaumer
11:29 am ganeti-local Revision 0547d608: htools: Make it possible to load an IAlloc request
This is only useful in the stand-alone command line tools:
- hbal
- hspace
- hinfo
This change also documents the f...
René Nussbaumer

03/12/2012

05:26 pm Revision cb921a79: Remove WriteConfig() from AddTcpUdpPort() and delegate it
to Update() via the TemporaryReservationManager.
Therfore in _ConvertDdbdToPlain we invoke AddTcpUdpPort before
Upda...
Dimitris Aragiorgis

03/09/2012

04:46 pm Revision 81f7ea25: Fix lint error in commit 035b33e2
Commit 035b33e2 forgot one blank space, and current pylint in Debian
Sid doesn't run on our code… so I didn't realise...
Iustin Pop
04:46 pm ganeti-local Revision 81f7ea25: Fix lint error in commit 035b33e2
Commit 035b33e2 forgot one blank space, and current pylint in Debian
Sid doesn't run on our code… so I didn't realise...
Iustin Pop

03/07/2012

11:35 pm Revision 7018af9c: Fix relocation test ClusterAllocRelocate
As for the evacuate tests, we require a mirrored disk template, but
otherwise the test should work for both mirror ty...
Iustin Pop
11:35 pm ganeti-local Revision 7018af9c: Fix relocation test ClusterAllocRelocate
As for the evacuate tests, we require a mirrored disk template, but
otherwise the test should work for both mirror ty...
Iustin Pop
11:34 pm ganeti-local Revision 3d7d3a1f: Fix IAlloc.processRelocate to support shared storage
Currently, this function expects (but doesn't really check! only via
secondary node being defined) a DRBD8 template t...
Iustin Pop
11:34 pm Revision 3d7d3a1f: Fix IAlloc.processRelocate to support shared storage
Currently, this function expects (but doesn't really check! only via
secondary node being defined) a DRBD8 template t...
Iustin Pop
11:31 pm Revision ac1c0a07: Fix up Cluster nodeEvac unittests for shared storage
Currently, these presume that the instance being generated always is
DRBD/relocatable (but won't be in the future), a...
Iustin Pop
11:31 pm ganeti-local Revision ac1c0a07: Fix up Cluster nodeEvac unittests for shared storage
Currently, these presume that the instance being generated always is
DRBD/relocatable (but won't be in the future), a...
Iustin Pop
11:25 pm Revision a593113c: Small improvement for nicer unit-testing
In case you just run "make htools/test" to recompile the unittests,
the old .tix file should be removed, otherwise yo...
Iustin Pop
11:25 pm ganeti-local Revision a593113c: Small improvement for nicer unit-testing
In case you just run "make htools/test" to recompile the unittests,
the old .tix file should be removed, otherwise yo...
Iustin Pop
11:24 pm Revision 80b27509: Rework evacDrbdSecondaryInner to take the imove
Instead of hard-coding the instance move operation, let's accept is as
a parameter from the caller. This is the singl...
Iustin Pop
11:24 pm Revision bebe7a73: Add a simple type alias for nicer type signatures
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:24 pm ganeti-local Revision bebe7a73: Add a simple type alias for nicer type signatures
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:24 pm ganeti-local Revision 80b27509: Rework evacDrbdSecondaryInner to take the imove
Instead of hard-coding the instance move operation, let's accept is as
a parameter from the caller. This is the singl...
Iustin Pop
11:24 pm Revision c6e8fb9c: Fix a few tests that hard-coded the number of nodes
Instead of randomly generating the number of required nodes or
hard-coding it, compute it from the disk template of t...
Iustin Pop
11:24 pm ganeti-local Revision c6e8fb9c: Fix a few tests that hard-coded the number of nodes
Instead of randomly generating the number of required nodes or
hard-coding it, compute it from the disk template of t...
Iustin Pop
11:18 pm ganeti-local Revision 90669369: Fix test Node_addSec_idempotent
Another test that only works for DRBD8 instances.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido T...
Iustin Pop
11:18 pm Revision 90669369: Fix test Node_addSec_idempotent
Another test that only works for DRBD8 instances.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido T...
Iustin Pop
11:17 pm Revision e7b4d0e1: Fix the Node_rMem test to specify DRBD8 templates
… since memory reservation only is used for this template.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by...
Iustin Pop
11:17 pm ganeti-local Revision e7b4d0e1: Fix the Node_rMem test to specify DRBD8 templates
… since memory reservation only is used for this template.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by...
Iustin Pop
11:17 pm Revision c6b7e804: Split the Node_addOffline test into pri/sec
Currently, this (single) test checks whether we can add an instance as
primary and secondary to a given node. This wo...
Iustin Pop
11:17 pm ganeti-local Revision c6b7e804: Split the Node_addOffline test into pri/sec
Currently, this (single) test checks whether we can add an instance as
primary and secondary to a given node. This wo...
Iustin Pop
11:05 pm ganeti-local Revision 5f4464db: Use the mirror type in Cluster.possibleMoves
Currently the function possibleMoves always presumes DtDrbd, which is
wrong for shared storage. To make it work with ...
Iustin Pop
11:05 pm Revision 5f4464db: Use the mirror type in Cluster.possibleMoves
Currently the function possibleMoves always presumes DtDrbd, which is
wrong for shared storage. To make it work with ...
Iustin Pop
11:05 pm ganeti-local Revision 810d051f: iPolicy: enable by default all storage templates
… otherwise we can't run tests or simulations using non-default
templates. Tests still pass.
Signed-off-by: Iustin P...
Iustin Pop
11:05 pm Revision 810d051f: iPolicy: enable by default all storage templates
… otherwise we can't run tests or simulations using non-default
templates. Tests still pass.
Signed-off-by: Iustin P...
Iustin Pop
11:05 pm Revision 255d140d: Fix printSolutionLine to handle big scores
Currently we don't set a boundary on the length of the score field,
which breaks all our nicely-aligned output effort...
Iustin Pop
11:05 pm ganeti-local Revision 255d140d: Fix printSolutionLine to handle big scores
Currently we don't set a boundary on the length of the score field,
which breaks all our nicely-aligned output effort...
Iustin Pop
11:05 pm ganeti-local Revision e85444d0: Fix printSolutionLine to handle non-DRBD steps
Currently Cluster.printSolutionLine function always wants to print the
old and new secondary, and as such it fails (u...
Iustin Pop
11:05 pm Revision e85444d0: Fix printSolutionLine to handle non-DRBD steps
Currently Cluster.printSolutionLine function always wants to print the
old and new secondary, and as such it fails (u...
Iustin Pop
11:05 pm Revision b906d7c1: Add a helper type and function for the mirror type
Currently we track the mirroring type as simply yes/no, with "yes"
meaning DRBD. This is not enough for handling shar...
Iustin Pop
11:05 pm ganeti-local Revision b906d7c1: Add a helper type and function for the mirror type
Currently we track the mirroring type as simply yes/no, with "yes"
meaning DRBD. This is not enough for handling shar...
Iustin Pop
11:04 pm Revision 73d12eab: Small simplification in tryBalance
Instead of computing the bad/good node lists separately (in effect
iterating twice over the all_nodes list and also c...
Iustin Pop
11:04 pm ganeti-local Revision 73d12eab: Small simplification in tryBalance
Instead of computing the bad/good node lists separately (in effect
iterating twice over the all_nodes list and also c...
Iustin Pop
11:04 pm ganeti-local Revision 2c7b328c: Mark Rbd as a movable disk template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:04 pm Revision 2c7b328c: Mark Rbd as a movable disk template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:04 pm ganeti-local Revision a7667ba6: Do not rely on no-secondary for movable tests
Currently, the code in Loader.hs marks as un-movable any instances
which don't have a secondary. This is not valid fo...
Iustin Pop
11:04 pm Revision a7667ba6: Do not rely on no-secondary for movable tests
Currently, the code in Loader.hs marks as un-movable any instances
which don't have a secondary. This is not valid fo...
Iustin Pop
11:04 pm Revision b7743258: Handle nodes without local storage
Our current cluster model is based on per-node storage, and as such we
don't handle shared disk templates. Until we c...
Iustin Pop
11:04 pm ganeti-local Revision b7743258: Handle nodes without local storage
Our current cluster model is based on per-node storage, and as such we
don't handle shared disk templates. Until we c...
Iustin Pop
10:59 pm Revision 035b33e2: Fix tempfile reset code & test on newer Python
Python 2.7.3 (rc status) and 3.2.3/3.3 (rc, respectively alpha status)
have fixed http://bugs.python.org/issue12856 w...
Iustin Pop
10:59 pm ganeti-local Revision 035b33e2: Fix tempfile reset code & test on newer Python
Python 2.7.3 (rc status) and 3.2.3/3.3 (rc, respectively alpha status)
have fixed http://bugs.python.org/issue12856 w...
Iustin Pop
09:43 pm Revision fc5ce53e: Add an instance level config paramerer hotplugs and a nic level
one idx.
It is used for nic identification and is always (during create/mod)
increasing by one so every nic has a un...
Dimitris Aragiorgis
04:16 pm Revision 8fc9343e: Add --hotplug option in gnt-instance modify to enable
disk/nic hotplug.
By default is disabled.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
03:12 pm Revision c230192f: Support remove/modification even on primary nics.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
07:17 am Revision 95052210: Change the hotplug for nics.
First let ganeti open a tap and then pass it's fd with SCM_RIGHTS
to the kvm process via the monitor UNIX socket.
Th...
Dimitris Aragiorgis

03/06/2012

08:58 pm Revision 7bfb3367: Merge remote-tracking branch 'origin/devel-2.5'
Conflicts:
Makefile.am (trivial, test data files added on both branches)
lib/opcodes.py (trivial, ...
Iustin Pop
08:58 pm ganeti-local Revision 7bfb3367: Merge remote-tracking branch 'origin/devel-2.5'
Conflicts:
Makefile.am (trivial, test data files added on both branches)
lib/opcodes.py (trivial, ...
Iustin Pop
02:10 pm Revision 29074789: Initial implementation for hotplug devices.
Support NIC/Disk hotplug with gnt-instance modify.
Hot remove is only supported for devices
that have been hot added...
Dimitris Aragiorgis

03/05/2012

11:17 pm Revision c55cc346: Split check-man-warnings into two
This moves the dashes check to a new check-man-dashes script.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed...
Iustin Pop
11:17 pm ganeti-local Revision c55cc346: Split check-man-warnings into two
This moves the dashes check to a new check-man-dashes script.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed...
Iustin Pop
11:17 pm ganeti-local Revision 73d0e218: Rename check-man to check-man-warnings
Currently the check-man test is dependent on the MAN_HAS_WARNINGS
test, which made sense as long as the script only d...
Iustin Pop
11:17 pm Revision 73d0e218: Rename check-man to check-man-warnings
Currently the check-man test is dependent on the MAN_HAS_WARNINGS
test, which made sense as long as the script only d...
Iustin Pop
11:17 pm Revision 9c45babb: Makefile: improve the fix for .DELETE_ON_ERROR
I've investigated more and it seems that .DELETE_ON_ERROR not working
is a bug/regression in some versions of make; t...
Iustin Pop
11:17 pm ganeti-local Revision 9c45babb: Makefile: improve the fix for .DELETE_ON_ERROR
I've investigated more and it seems that .DELETE_ON_ERROR not working
is a bug/regression in some versions of make; t...
Iustin Pop
01:31 pm Revision a8fe46d3: Fix a bug in LUInstanceSetParams. Running Update() with ec_id
so that temporary reserved ips get commited.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
11:56 am Revision 9e7fcad3: Remove lib/ippool.py file.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
11:49 am Revision 118748e4: Remove some logging.info and comments.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
11:45 am Revision 72709240: Remove some trailing spaces.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis

03/03/2012

09:46 pm Revision 4892d955: htools/ExtLoader: Bring the pieces together
This make it possible to load from an Ialloc file
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin...
René Nussbaumer
09:46 pm ganeti-local Revision 4892d955: htools/ExtLoader: Bring the pieces together
This make it possible to load from an Ialloc file
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin...
René Nussbaumer
09:46 pm ganeti-local Revision 9899796b: htools/CLI: Adding new options to use ialloc as source
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
09:46 pm Revision 9899796b: htools/CLI: Adding new options to use ialloc as source
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
09:46 pm Revision 786c514c: htools/IAlloc: Adding loadData method for use as backend
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
09:46 pm ganeti-local Revision 786c514c: htools/IAlloc: Adding loadData method for use as backend
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
09:46 pm Revision c3f8cb12: htools: Refactor some of IAlloc.readRequest to Hail
This makes it possible to reuse that function when we want to use IAlloc
as a data source backend
Signed-off-by: Ren...
René Nussbaumer
09:46 pm ganeti-local Revision c3f8cb12: htools: Refactor some of IAlloc.readRequest to Hail
This makes it possible to reuse that function when we want to use IAlloc
as a data source backend
Signed-off-by: Ren...
René Nussbaumer
09:46 pm ganeti-local Revision 14fbd75b: hinfo: Adjust the verbosity
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
09:46 pm Revision 14fbd75b: hinfo: Adjust the verbosity
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:06 pm Revision 178caed3: Decouple link from netlink so that we can have many networks
on the same bridge. Netlink is a mandatory parameter. If no
link is given gets the netlink value. Link in case of bri...
Dimitris Aragiorgis

03/01/2012

09:40 pm Revision da2ec25c: Add some features to ippool management
and make port to master branch functional.
Support:
- gnt-network remove
- gnt-network modify
only for reserved-ip...
Dimitris Aragiorgis
08:48 pm Revision d0a14556: hinfo: Gather and print group statistics
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
08:48 pm ganeti-local Revision d0a14556: hinfo: Gather and print group statistics
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

02/29/2012

06:17 pm Revision f35ea63a: Explicitly remove the .x.in man pages on failure
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:17 pm ganeti-local Revision f35ea63a: Explicitly remove the .x.in man pages on failure
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:17 pm ganeti-local Revision e8f936b0: More -- fixes
Because .DELETE_ON_ERROR doesn't work consistently (works when the
target we're talking about is a final target, but ...
Iustin Pop
06:17 pm Revision e8f936b0: More -- fixes
Because .DELETE_ON_ERROR doesn't work consistently (works when the
target we're talking about is a final target, but ...
Iustin Pop
04:22 pm ganeti-local Revision c3024b7e: htools: Adding printTable helper
This helper abstract away all the unlines and unwords call you've to do
after you got a formatTable back.
Signed-off...
René Nussbaumer
04:22 pm Revision c3024b7e: htools: Adding printTable helper
This helper abstract away all the unlines and unwords call you've to do
after you got a formatTable back.
Signed-off...
René Nussbaumer
04:19 pm Revision 5c52dae6: Fixup a Node unittest
This fixes the prop_Node_rMem test, which cares about memory only;
otherwise we could fail due to other problems (e.g...
Iustin Pop
04:19 pm ganeti-local Revision 5c52dae6: Fixup a Node unittest
This fixes the prop_Node_rMem test, which cares about memory only;
otherwise we could fail due to other problems (e.g...
Iustin Pop
04:18 pm ganeti-local Revision ee4ffc8a: Allow overriding the target test count
This is not perfect, as the override applies identical target test
values to both the 'fast' and 'slow' tests (making...
Iustin Pop
04:18 pm Revision ee4ffc8a: Allow overriding the target test count
This is not perfect, as the override applies identical target test
values to both the 'fast' and 'slow' tests (making...
Iustin Pop
04:18 pm Revision eae69eee: Add two more unittests for Node add/remove
These just test that add/remove are idempotent. This is not perfect,
as we use unsorted lists for some values (instea...
Iustin Pop
04:18 pm ganeti-local Revision eae69eee: Add two more unittests for Node add/remove
These just test that add/remove are idempotent. This is not perfect,
as we use unsorted lists for some values (instea...
Iustin Pop
04:18 pm Revision 084565ac: Use the spindles metric in cluster scores
This makes balancing use the new metric.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer ...
Iustin Pop
04:18 pm ganeti-local Revision 084565ac: Use the spindles metric in cluster scores
This makes balancing use the new metric.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer ...
Iustin Pop
04:17 pm Revision 82f19570: Track instance-used spindles in node set/add/remove
This simply tracks the instance-used spindles (using hard-coded '1'
per instance), and additionally prevents addition...
Iustin Pop
04:17 pm ganeti-local Revision 82f19570: Track instance-used spindles in node set/add/remove
This simply tracks the instance-used spindles (using hard-coded '1'
per instance), and additionally prevents addition...
Iustin Pop
04:17 pm ganeti-local Revision 7959cbb9: Shorten some function names
Since we use the functions always module-qualified, let's drop the
`instance` prefix and use a shorter one.
Signed-o...
Iustin Pop
04:17 pm Revision 7959cbb9: Shorten some function names
Since we use the functions always module-qualified, let's drop the
`instance` prefix and use a shorter one.
Signed-o...
Iustin Pop
04:17 pm Revision f87c9f5d: Simplify logic in Node operations
This patch adds two helper functions and uses them for a somewhat
simplified logic in the add/remove pri/sec node fun...
Iustin Pop
04:17 pm ganeti-local Revision f87c9f5d: Simplify logic in Node operations
This patch adds two helper functions and uses them for a somewhat
simplified logic in the add/remove pri/sec node fun...
Iustin Pop
04:16 pm Revision 0c7d4422: htools: support spindles in simu backend
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:16 pm ganeti-local Revision 0c7d4422: htools: support spindles in simu backend
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:16 pm Revision f951bd09: htools: support spindles in text load/save
If missing, we'll default to 1 spindle.
This also updates the text file format with the ipolicy, which was
forgotten...
Iustin Pop
04:16 pm ganeti-local Revision f951bd09: htools: support spindles in text load/save
If missing, we'll default to 1 spindle.
This also updates the text file format with the ipolicy, which was
forgotten...
Iustin Pop
04:16 pm Revision 34ace266: htools: add support for listing spindles for nodes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:16 pm ganeti-local Revision 34ace266: htools: add support for listing spindles for nodes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:16 pm Revision 8bc34c7b: htools: add spindle-related attribute to nodes
This adds the spindleCount, hiSpindles and instSpindles attributes.
The spindleCount is equivalent to spindle_count ...
Iustin Pop
04:16 pm ganeti-local Revision 8bc34c7b: htools: add spindle-related attribute to nodes
This adds the spindleCount, hiSpindles and instSpindles attributes.
The spindleCount is equivalent to spindle_count ...
Iustin Pop
04:15 pm Revision c22d4dd4: Add spindle ratio to htool's IPolicy
Just the usual data/type declarations, read/save in the text backend,
etc. Also does a bit of unit-test cleanup (the ...
Iustin Pop
04:15 pm ganeti-local Revision c22d4dd4: Add spindle ratio to htool's IPolicy
Just the usual data/type declarations, read/save in the text backend,
etc. Also does a bit of unit-test cleanup (the ...
Iustin Pop
03:33 pm Revision e2bdaf25: hinfo: Adding man page
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:33 pm ganeti-local Revision e2bdaf25: hinfo: Adding man page
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

02/28/2012

05:02 pm Revision 19e310cc: hinfo: Reorganize the code to separate functions
Also rename some functions as they don't reflect their actions anymore
Signed-off-by: René Nussbaumer <rn@google.com...
René Nussbaumer
05:02 pm ganeti-local Revision 19e310cc: hinfo: Reorganize the code to separate functions
Also rename some functions as they don't reflect their actions anymore
Signed-off-by: René Nussbaumer <rn@google.com...
René Nussbaumer
03:01 pm Revision 1fdfa87a: Two tiny fixed related to runtime functionality
Adds an assert and fixes a typo.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hans...
Iustin Pop
03:01 pm ganeti-local Revision 1fdfa87a: Two tiny fixed related to runtime functionality
Adds an assert and fixes a typo.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hans...
Iustin Pop
02:26 pm Revision 2922d2c5: hinfo: Adding basic skeleton based on hbal
It prints the information which hbal prints in a nice formatted manner and of
course without doing any actions. An ex...
René Nussbaumer
02:26 pm ganeti-local Revision 2922d2c5: hinfo: Adding basic skeleton based on hbal
It prints the information which hbal prints in a nice formatted manner and of
course without doing any actions. An ex...
René Nussbaumer

02/27/2012

06:37 pm Revision 4f511a13: Add automated checking for non-escaped --
This checks to see if any man output has [em] in it, as that will not
be correctly show in ASCII. Unfortunately the c...
Iustin Pop
06:37 pm Revision f624fa95: Fix man pages to not use unescaped --
I've seen that man pages, as generated by the version of pandoc we
use, show single dashes in option names instead of...
Iustin Pop
06:37 pm ganeti-local Revision 4f511a13: Add automated checking for non-escaped --
This checks to see if any man output has [em] in it, as that will not
be correctly show in ASCII. Unfortunately the c...
Iustin Pop
06:37 pm ganeti-local Revision f624fa95: Fix man pages to not use unescaped --
I've seen that man pages, as generated by the version of pandoc we
use, show single dashes in option names instead of...
Iustin Pop
06:35 pm ganeti-local Revision cc67d8eb: Add job result descriptions to RAPI documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:35 pm Revision cc67d8eb: Add job result descriptions to RAPI documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:52 pm Revision fe8d2553: Remove a superfluous warning in LUNodeRemove
Since we run the post-hooks explicitly in the Exec() function (via
_RunPostHook) after we removed the target node fro...
Iustin Pop
03:52 pm ganeti-local Revision fe8d2553: Remove a superfluous warning in LUNodeRemove
Since we run the post-hooks explicitly in the Exec() function (via
_RunPostHook) after we removed the target node fro...
Iustin Pop

02/23/2012

06:00 pm Revision b02c6bdf: opcodes: Remove dependency on query module
There's no need to verify the field definitions on every query. They are
static for all intents and purposes anyway a...
Michael Hanselmann
06:00 pm ganeti-local Revision b02c6bdf: opcodes: Remove dependency on query module
There's no need to verify the field definitions on every query. They are
static for all intents and purposes anyway a...
Michael Hanselmann
05:59 pm Revision a0a63e76: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix Makefile.am compatibility with automake 1.11.2
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
05:59 pm ganeti-local Revision a0a63e76: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix Makefile.am compatibility with automake 1.11.2
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann

02/22/2012

03:13 pm Revision d859a2cf: http.server: Factorize request handling even more
This splits even more parts of the request handling code into a separate
class. Doing so allows us to reuse this part...
Michael Hanselmann
03:13 pm ganeti-local Revision d859a2cf: http.server: Factorize request handling even more
This splits even more parts of the request handling code into a separate
class. Doing so allows us to reuse this part...
Michael Hanselmann
03:12 pm Revision 377ae13e: http.server: Move error message formatting to handler class
Like before this patch moves more functionality from the actual server
class into a separate handler class. At the sa...
Michael Hanselmann
03:12 pm ganeti-local Revision 377ae13e: http.server: Move error message formatting to handler class
Like before this patch moves more functionality from the actual server
class into a separate handler class. At the sa...
Michael Hanselmann
03:12 pm Revision cca5b3fc: noded: Shorter docstring for mlockall(2) executor
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:12 pm ganeti-local Revision cca5b3fc: noded: Shorter docstring for mlockall(2) executor
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:12 pm ganeti-local Revision e0003509: Split handling HTTP requests into separate class
Until now HTTP requests were handled in the same class as incoming
connections (http.server.HttpServer). With this ch...
Michael Hanselmann
03:12 pm Revision e0003509: Split handling HTTP requests into separate class
Until now HTTP requests were handled in the same class as incoming
connections (http.server.HttpServer). With this ch...
Michael Hanselmann
03:12 pm Revision c81f452f: http.server: Factorize request handling
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:12 pm ganeti-local Revision c81f452f: http.server: Factorize request handling
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
02:03 pm Revision 09037780: Remove deprecated “QueryLocks” LUXI request
This has been deprecated since Ganeti 2.4 and hasn't been used by
Ganeti's code since. I'm not aware of any external ...
Michael Hanselmann
02:03 pm ganeti-local Revision 09037780: Remove deprecated “QueryLocks” LUXI request
This has been deprecated since Ganeti 2.4 and hasn't been used by
Ganeti's code since. I'm not aware of any external ...
Michael Hanselmann
« Previous
Next »
 

Also available in: Atom