Activity

From 06/20/2011 to 07/19/2011

07/19/2011

06:17 pm Revision 519edd9f: htools: add a machine-readable CLI flag
This will be used in hspace to toggle between "human" readable
and machine readable output formats.
Signed-off-by: I...
Iustin Pop
06:17 pm ganeti-local Revision 519edd9f: htools: add a machine-readable CLI flag
This will be used in hspace to toggle between "human" readable
and machine readable output formats.
Signed-off-by: I...
Iustin Pop
06:06 pm Revision d7731f51: htools: move the '-p' option to htools.rst
Since this is a common option and has a big description.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
06:06 pm ganeti-local Revision d7731f51: htools: move the '-p' option to htools.rst
Since this is a common option and has a big description.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
05:54 pm Revision 756df409: htools: move tiered spec map helper to Hspace.hs
This is used just in hspace, so let's help in making Cluster.hs
smaller. We also split the function in two, as comput...
Iustin Pop
05:54 pm Revision 33b9d92d: htools: import the program modules in QC.hs
This adds the binaries code to the coverage, and thus the coverage
finally shows the real coverage over all logic cod...
Iustin Pop
05:54 pm ganeti-local Revision 756df409: htools: move tiered spec map helper to Hspace.hs
This is used just in hspace, so let's help in making Cluster.hs
smaller. We also split the function in two, as comput...
Iustin Pop
05:54 pm ganeti-local Revision 1494a4cc: htools: switch hspace to the generic binary
This is the last patch of the binaries conversion.
As information, we now have a single binary that is approx. 5.4Mi...
Iustin Pop
05:54 pm ganeti-local Revision 33b9d92d: htools: import the program modules in QC.hs
This adds the binaries code to the coverage, and thus the coverage
finally shows the real coverage over all logic cod...
Iustin Pop
05:54 pm Revision 1494a4cc: htools: switch hspace to the generic binary
This is the last patch of the binaries conversion.
As information, we now have a single binary that is approx. 5.4Mi...
Iustin Pop
05:54 pm Revision 7b695a0d: htools: switch hscan to the generic binary
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
05:54 pm ganeti-local Revision 7b695a0d: htools: switch hscan to the generic binary
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
05:54 pm Revision 201b6c34: htools: switch hbal to the generic binary
In addition, the patch adds a separate Makefile variable for holding
the binary roles to make it more clear what we s...
Iustin Pop
05:54 pm ganeti-local Revision 201b6c34: htools: switch hbal to the generic binary
In addition, the patch adds a separate Makefile variable for holding
the binary roles to make it more clear what we s...
Iustin Pop
05:54 pm Revision 458a286a: htools: switch hail to the generic binary
This converts the first binary to the generic 'htools' binary.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
05:54 pm ganeti-local Revision 458a286a: htools: switch hail to the generic binary
This converts the first binary to the generic 'htools' binary.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
05:14 pm Revision d26d808a: htools: add a generic binary
This is the start of a series of patches that will unify all the
binaries currently in use in a single one, which can...
Iustin Pop
05:14 pm ganeti-local Revision d26d808a: htools: add a generic binary
This is the start of a series of patches that will unify all the
binaries currently in use in a single one, which can...
Iustin Pop
05:12 pm Revision 1adec4be: htools: add a compatibility module
When compiling with the parallel-3.x library, we get a deprecation
warning, which makes understanding any other error...
Iustin Pop
05:12 pm ganeti-local Revision 1adec4be: htools: add a compatibility module
When compiling with the parallel-3.x library, we get a deprecation
warning, which makes understanding any other error...
Iustin Pop
05:12 pm ganeti-local Revision a5f248ac: htools: remove no-longer-needed tryMG* functionality
… which was deprecated by the previous patch.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trott...
Iustin Pop
05:12 pm Revision a5f248ac: htools: remove no-longer-needed tryMG* functionality
… which was deprecated by the previous patch.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trott...
Iustin Pop
05:12 pm Revision fbe5fcf6: htools: remove ialloc/relocate and multi-evacuate
Since the new node-evacuate mode does both their work and also
supports better multi-group clusters (including handli...
Iustin Pop
05:12 pm ganeti-local Revision fbe5fcf6: htools: remove ialloc/relocate and multi-evacuate
Since the new node-evacuate mode does both their work and also
supports better multi-group clusters (including handli...
Iustin Pop
05:12 pm Revision a86fbf36: htools: fix potential bug in ialloc/change-group
Currently, the ChangeAll mode of nodeEvac computes the primary group
of the instance and then uses the resulting grou...
Iustin Pop
05:12 pm ganeti-local Revision a86fbf36: htools: fix potential bug in ialloc/change-group
Currently, the ChangeAll mode of nodeEvac computes the primary group
of the instance and then uses the resulting grou...
Iustin Pop

07/18/2011

06:33 pm Revision 96a12113: htools: run IAllocator input through checkData
As the IAllocator backend is using a different data path than the
others, it doesn't get the full functionality that ...
Iustin Pop
06:33 pm ganeti-local Revision 96a12113: htools: run IAllocator input through checkData
As the IAllocator backend is using a different data path than the
others, it doesn't get the full functionality that ...
Iustin Pop
06:28 pm Revision 8cd36391: htools: abstract a function for displaying warnings
This will make it possible to reuse this in IAllocator too.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b...
Iustin Pop
06:28 pm ganeti-local Revision 8cd36391: htools: abstract a function for displaying warnings
This will make it possible to reuse this in IAllocator too.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b...
Iustin Pop
06:28 pm Revision 15329af5: htools: use maybePrintNodes in hail.hs
This eliminates duplication of codes (and was forgotten back when
maybePrintNodes was added).
Signed-off-by: Iustin ...
Iustin Pop
06:28 pm ganeti-local Revision 15329af5: htools: use maybePrintNodes in hail.hs
This eliminates duplication of codes (and was forgotten back when
maybePrintNodes was added).
Signed-off-by: Iustin ...
Iustin Pop
06:27 pm ganeti-local Revision 4162995d: htools: add cluster state saving support to hail
This add support for saving the cluster state (both pre- and
post-iallocator run) to a text file such that it can be ...
Iustin Pop
06:27 pm Revision 4162995d: htools: add cluster state saving support to hail
This add support for saving the cluster state (both pre- and
post-iallocator run) to a text file such that it can be ...
Iustin Pop
06:27 pm Revision f9283686: htools: return the final instance map in ialloc
Similar to the previous patch, this returns the final instance map
from the iallocator run, which will allow saving t...
Iustin Pop
06:27 pm ganeti-local Revision f9283686: htools: return the final instance map in ialloc
Similar to the previous patch, this returns the final instance map
from the iallocator run, which will allow saving t...
Iustin Pop
04:31 pm Revision 8c5acc2e: rlib2: handle wait_for_sync in instance creation
Until now, wait_for_sync was harcoded to True when creating instances via RAPI.
We allow settings wait_for_sync via R...
Apollon Oikonomopoulos
10:30 am Revision ce6a0b53: htools: implement post-alloc cluster status display
This patch changes the IAllocator result formatting workflow to return
the final node list, which can be then used to...
Iustin Pop
10:30 am ganeti-local Revision ce6a0b53: htools: implement post-alloc cluster status display
This patch changes the IAllocator result formatting workflow to return
the final node list, which can be then used to...
Iustin Pop

07/15/2011

08:13 pm Revision fda24caf: Update node group iallocator design to use job dependencies
While working on a function to submit jobsets, I realized that we
actually don't need them anymore. With the new job ...
Michael Hanselmann
08:13 pm ganeti-local Revision fda24caf: Update node group iallocator design to use job dependencies
While working on a function to submit jobsets, I realized that we
actually don't need them anymore. With the new job ...
Michael Hanselmann
08:13 pm ganeti-local Revision 45df0793: Fix assertion error on unclean master shutdown
Commit 66bd7445 added an assertion to ensure a finalized job has its
“end_timestamp” attribute set. Unfortunately it ...
Michael Hanselmann
08:13 pm Revision 45df0793: Fix assertion error on unclean master shutdown
Commit 66bd7445 added an assertion to ensure a finalized job has its
“end_timestamp” attribute set. Unfortunately it ...
Michael Hanselmann
08:12 pm ganeti-local Revision fdfe88b1: Make SharedLock._is_owned public
This will be useful for assertions. GanetiLockManager._is_owned is
exported, too.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
08:12 pm Revision fdfe88b1: Make SharedLock._is_owned public
This will be useful for assertions. GanetiLockManager._is_owned is
exported, too.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
06:56 pm Revision 4036f63a: htools: return new state from new IAllocator modes
The old modes already return the node list (as part of AllocSolution),
this patch makes the new modes provide this ne...
Iustin Pop
06:56 pm ganeti-local Revision 4036f63a: htools: return new state from new IAllocator modes
The old modes already return the node list (as part of AllocSolution),
this patch makes the new modes provide this ne...
Iustin Pop
06:56 pm Revision 5440c877: htools: update the node-evac/change-group result
… per the new design changes. This also requires changes to
updateEvacSolution, as passing in the original instance i...
Iustin Pop
06:56 pm ganeti-local Revision 5440c877: htools: update the node-evac/change-group result
… per the new design changes. This also requires changes to
updateEvacSolution, as passing in the original instance i...
Iustin Pop
04:29 pm Revision d254d6ce: htools: add function for getting all nodes of an instance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
04:29 pm ganeti-local Revision d254d6ce: htools: add function for getting all nodes of an instance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
04:25 pm ganeti-local Revision 20b376ff: htools: add change-group IAllocator mode
This builds a lot upon the node-evacuation mode, and its
implementation is therefore quite easy (once node-evac was a...
Iustin Pop
04:25 pm Revision 20b376ff: htools: add change-group IAllocator mode
This builds a lot upon the node-evacuation mode, and its
implementation is therefore quite easy (once node-evac was a...
Iustin Pop
04:24 pm ganeti-local Revision d72ff6c3: htools: add group restrictions to findBestAllocGroup
While a normal multi-group allocation doesn't need to restrict the
list of target groups beyond the unallocable statu...
Iustin Pop
04:24 pm Revision d72ff6c3: htools: add group restrictions to findBestAllocGroup
While a normal multi-group allocation doesn't need to restrict the
list of target groups beyond the unallocable statu...
Iustin Pop
04:13 pm Revision c9a9b853: htools: generalise and rename availableLocalNodes
Currently this function works in the context of an instance, computing
its local group nodes. We can use generalise i...
Iustin Pop
04:13 pm ganeti-local Revision c9a9b853: htools: generalise and rename availableLocalNodes
Currently this function works in the context of an instance, computing
its local group nodes. We can use generalise i...
Iustin Pop
04:12 pm ganeti-local Revision 57f07ff2: htools: add ChangeGroup to IAllocator types/loader
This patch updates the types and functions in IAllocator.hs and
Loader.hs to the new design changes (elimination of m...
Iustin Pop
04:12 pm Revision 57f07ff2: htools: add ChangeGroup to IAllocator types/loader
This patch updates the types and functions in IAllocator.hs and
Loader.hs to the new design changes (elimination of m...
Iustin Pop
04:10 pm Revision 8fd09137: htools: split tryMGAlloc in two
Currently, this function does both identify the best group for an
instance, and format the results (partially). The f...
Iustin Pop
04:10 pm ganeti-local Revision 8fd09137: htools: split tryMGAlloc in two
Currently, this function does both identify the best group for an
instance, and format the results (partially). The f...
Iustin Pop
04:10 pm ganeti-local Revision d52d41de: htools: add node-evacuation of DRBD all nodes
This is much more complicated than either change primary (which is
trivial) and change secondary (which is also simpl...
Iustin Pop
04:10 pm Revision d52d41de: htools: add node-evacuation of DRBD all nodes
This is much more complicated than either change primary (which is
trivial) and change secondary (which is also simpl...
Iustin Pop
04:00 pm ganeti-local Revision b4bae394: htools: small optimisation in Cluster.collapseFailures
This makes fewer temporary data structures, and thus brings a bit of
improvement in total runtime.
Signed-off-by: Iu...
Iustin Pop
04:00 pm Revision b4bae394: htools: small optimisation in Cluster.collapseFailures
This makes fewer temporary data structures, and thus brings a bit of
improvement in total runtime.
Signed-off-by: Iu...
Iustin Pop
03:59 pm Revision 8f48f67d: htools: add optional limit to allocation count
Currently, the tieredAlloc/iterateAlloc functions will not return
until the allocation fails; this means unit-testing...
Iustin Pop
03:59 pm ganeti-local Revision 8f48f67d: htools: add optional limit to allocation count
Currently, the tieredAlloc/iterateAlloc functions will not return
until the allocation fails; this means unit-testing...
Iustin Pop
03:33 pm ganeti-local Revision db56cfc4: htools: add node-evacuation of DRBD secondaries
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
03:33 pm Revision db56cfc4: htools: add node-evacuation of DRBD secondaries
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
03:32 pm Revision 9bb5721c: htools: rework compCV so that we can use [Node] too
In some cases, we have a [Node.Node] list, instead of a Node.List
structure. Instead of converting [Node.Node] to the...
Iustin Pop
03:32 pm ganeti-local Revision 9bb5721c: htools: rework compCV so that we can use [Node] too
In some cases, we have a [Node.Node] list, instead of a Node.List
structure. Instead of converting [Node.Node] to the...
Iustin Pop
12:27 pm Revision 61631293: Adding a wrapper around "xm console"
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley
12:27 pm Revision 2f4c951e: Adding a wrapper around connecting to kvm console
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley
12:27 pm ganeti-local Revision 61631293: Adding a wrapper around "xm console"
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley
12:27 pm ganeti-local Revision 2f4c951e: Adding a wrapper around connecting to kvm console
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley

07/14/2011

10:52 pm Revision 3aa8ed2b: Add opcode attribute for chained jobs
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:52 pm ganeti-local Revision 3aa8ed2b: Add opcode attribute for chained jobs
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:51 pm ganeti-local Revision 6c3d18e0: Design for chained jobs
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:51 pm Revision 6c3d18e0: Design for chained jobs
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:32 pm Revision f815aa89: htools: fix a doc bug in the hbal man page
Similar to the previous hspace fix.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <h...
Iustin Pop
03:32 pm ganeti-local Revision f815aa89: htools: fix a doc bug in the hbal man page
Similar to the previous hspace fix.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <h...
Iustin Pop
02:48 pm Revision b7448942: Mark htools/README as obsolete
And point to the main INSTALL file for up-to-date information.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
02:48 pm ganeti-local Revision b7448942: Mark htools/README as obsolete
And point to the main INSTALL file for up-to-date information.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
01:14 pm Revision 3158250d: Fix htool unittest failure due to invalid prereqs
Currently, the test prop_Node_rMem does some reserved memory checks on
nodes, and for the test to work correctly (can...
Iustin Pop
01:14 pm ganeti-local Revision 3158250d: Fix htool unittest failure due to invalid prereqs
Currently, the test prop_Node_rMem does some reserved memory checks on
nodes, and for the test to work correctly (can...
Iustin Pop
12:05 pm Revision 97936d51: htools: rename an internal constant
'emptySolution' is fine while we have only one Solution type
(AllocSolution), but in the future we'll introduce anoth...
Iustin Pop
12:05 pm Revision 47eed3f4: htools: add more IAlloc data types and functions
These move the 'not supported' message deeper into the workflow;
assuming that the workflow as added by this patch is...
Iustin Pop
12:05 pm Revision a30b473c: htools: add two monad-conversion utility functions
For monadic operations, these function will make it easier to convert
other monads (or monad-like structure) to our '...
Iustin Pop
12:05 pm Revision 63a78055: htools: add a function for computing evacuated nodes
The new IAllocator interface is based on instances, not nodes, so we
need to backtrack and compute on which nodes we ...
Iustin Pop
12:05 pm Revision bef83fd1: htools: add node-evacuate of DRBD8 primaries
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
12:05 pm Revision 1f4ae205: htools: abstract and simplify a multigroup function
In the future, this 'split/associated instance idx list' functionality
will be used by other code, so let's move it t...
Iustin Pop
12:05 pm Revision 8dda364e: hspace: also display the starting tiered specs
These are useful for checking what instance specifications we start
with (as they are not necessarily the first entry...
Iustin Pop
12:05 pm Revision 247f77b7: hspace: add support for units in the options
This patch converts hspace to allow units in all disk and memory
specifications, and updates the man page accordingly...
Iustin Pop
12:05 pm Revision 1cb92fac: htools: add parseUnit function
This is similar, but not identical, to Utils.ParseUnit. The biggest
difference is that we don't round up/down; as we ...
Iustin Pop
12:05 pm ganeti-local Revision 1cb92fac: htools: add parseUnit function
This is similar, but not identical, to Utils.ParseUnit. The biggest
difference is that we don't round up/down; as we ...
Iustin Pop
12:05 pm ganeti-local Revision 247f77b7: hspace: add support for units in the options
This patch converts hspace to allow units in all disk and memory
specifications, and updates the man page accordingly...
Iustin Pop
12:05 pm ganeti-local Revision 8dda364e: hspace: also display the starting tiered specs
These are useful for checking what instance specifications we start
with (as they are not necessarily the first entry...
Iustin Pop
12:05 pm ganeti-local Revision 1f4ae205: htools: abstract and simplify a multigroup function
In the future, this 'split/associated instance idx list' functionality
will be used by other code, so let's move it t...
Iustin Pop
12:05 pm ganeti-local Revision 97936d51: htools: rename an internal constant
'emptySolution' is fine while we have only one Solution type
(AllocSolution), but in the future we'll introduce anoth...
Iustin Pop
12:05 pm ganeti-local Revision 63a78055: htools: add a function for computing evacuated nodes
The new IAllocator interface is based on instances, not nodes, so we
need to backtrack and compute on which nodes we ...
Iustin Pop
12:05 pm ganeti-local Revision a30b473c: htools: add two monad-conversion utility functions
For monadic operations, these function will make it easier to convert
other monads (or monad-like structure) to our '...
Iustin Pop
12:05 pm ganeti-local Revision 47eed3f4: htools: add more IAlloc data types and functions
These move the 'not supported' message deeper into the workflow;
assuming that the workflow as added by this patch is...
Iustin Pop
12:05 pm ganeti-local Revision bef83fd1: htools: add node-evacuate of DRBD8 primaries
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop

07/13/2011

07:45 pm Revision 22fac87d: htools: simplify select tests
Rather than running all possible tests in one go, split them out in
three cases: "normal", undefined default value, u...
Guido Trotter
07:45 pm ganeti-local Revision 22fac87d: htools: simplify select tests
Rather than running all possible tests in one go, split them out in
three cases: "normal", undefined default value, u...
Guido Trotter
07:07 pm ganeti-local Revision 82bc21e2: Set startup_paused to False when restarting
This fixes the lint error:
E1120:1220:InstanceReboot: No value passed for parameter
'startup_paused' in function cal...
Stephen Shirley
07:07 pm Revision 82bc21e2: Set startup_paused to False when restarting
This fixes the lint error:
E1120:1220:InstanceReboot: No value passed for parameter
'startup_paused' in function cal...
Stephen Shirley
05:09 pm ganeti-local Revision 424ec11d: htools: lookup instance names in select/exclude
Currently we just match the passed name with fqdns. With this change we
do a proper search for either the fqdn or the...
Guido Trotter
05:09 pm Revision 424ec11d: htools: lookup instance names in select/exclude
Currently we just match the passed name with fqdns. With this change we
do a proper search for either the fqdn or the...
Guido Trotter
04:52 pm Revision efe98965: htools: infrastructure for looking up names
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:52 pm ganeti-local Revision efe98965: htools: infrastructure for looking up names
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:52 pm ganeti-local Revision bfe6c954: htools: Add if' and select as functions
if' is just a functional version of the if-then-else construct. Using it
we can manipulate ifs as functions, and also...
Guido Trotter
04:52 pm Revision bfe6c954: htools: Add if' and select as functions
if' is just a functional version of the if-then-else construct. Using it
we can manipulate ifs as functions, and also...
Guido Trotter
01:46 pm Revision 043a3929: htools: remove obsolete option INodes
hspace no longer uses it, hence it can be removed.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michae...
Iustin Pop
01:46 pm ganeti-local Revision 043a3929: htools: remove obsolete option INodes
hspace no longer uses it, hence it can be removed.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michae...
Iustin Pop
01:45 pm ganeti-local Revision 1cc97b7f: hspace: also report the disk template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:45 pm Revision 1cc97b7f: hspace: also report the disk template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:45 pm Revision 9ef605a6: hspace: ask for the disk_template not number of nodes
This makes more sense, as the disk template is more meaningful than
the number of nodes.
Signed-off-by: Iustin Pop <...
Iustin Pop
01:45 pm ganeti-local Revision 9ef605a6: hspace: ask for the disk_template not number of nodes
This makes more sense, as the disk template is more meaningful than
the number of nodes.
Signed-off-by: Iustin Pop <...
Iustin Pop
01:45 pm Revision a10a476a: htools: add an utility function for disk templates
In the future we'll use this instead of requiring the number of nodes
from the user.
Signed-off-by: Iustin Pop <iust...
Iustin Pop
01:45 pm ganeti-local Revision a10a476a: htools: add an utility function for disk templates
In the future we'll use this instead of requiring the number of nodes
from the user.
Signed-off-by: Iustin Pop <iust...
Iustin Pop
01:44 pm Revision c4bb977b: htools: define the --disk-template option
Also sorts the export list correctly.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann ...
Iustin Pop
01:44 pm ganeti-local Revision c4bb977b: htools: define the --disk-template option
Also sorts the export list correctly.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann ...
Iustin Pop
01:40 pm Revision 6429e8d8: htools: read/save the disk template in Text backend
This requires that we change the signature of loadInst in order to
properly annotate the error messages, which in tur...
Iustin Pop
01:40 pm ganeti-local Revision 6429e8d8: htools: read/save the disk template in Text backend
This requires that we change the signature of loadInst in order to
properly annotate the error messages, which in tur...
Iustin Pop
01:38 pm Revision b3c5e8de: htools: read the disk_template in the Luxi backend
We need to request the disk template in the Luxi query and then use it
when parsing the response.
Signed-off-by: Ius...
Iustin Pop
01:38 pm ganeti-local Revision b3c5e8de: htools: read the disk_template in the Luxi backend
We need to request the disk template in the Luxi query and then use it
when parsing the response.
Signed-off-by: Ius...
Iustin Pop
01:37 pm Revision 5a4a3b7f: htools: read the disk template in Luxi and Rapi
Both these backends already have the data, we just need to use it.
Signed-off-by: Iustin Pop <iustin@google.com>
Rev...
Iustin Pop
01:37 pm ganeti-local Revision 5a4a3b7f: htools: read the disk template in Luxi and Rapi
Both these backends already have the data, we just need to use it.
Signed-off-by: Iustin Pop <iustin@google.com>
Rev...
Iustin Pop
01:37 pm Revision d25643d1: htools: add DiskTemplate to instance definition
Currently always fixed to DRBD8, as that is what we assume already.
Signed-off-by: Iustin Pop <iustin@google.com>
Re...
Iustin Pop
01:37 pm ganeti-local Revision d25643d1: htools: add DiskTemplate to instance definition
Currently always fixed to DRBD8, as that is what we assume already.
Signed-off-by: Iustin Pop <iustin@google.com>
Re...
Iustin Pop
01:37 pm Revision 3c002a13: htools: add some unittests for Types.hs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:37 pm ganeti-local Revision 3c002a13: htools: add some unittests for Types.hs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:36 pm ganeti-local Revision cc25e437: htools: add a DiskTemplate type
This will be used later in the Instance type.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trott...
Iustin Pop
01:36 pm Revision cc25e437: htools: add a DiskTemplate type
This will be used later in the Instance type.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trott...
Iustin Pop
01:15 pm Revision ca848e2a: htools: small simplification to parseUtilisation
We eliminate the local variable as it's used only once.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: G...
Iustin Pop
01:15 pm ganeti-local Revision ca848e2a: htools: small simplification to parseUtilisation
We eliminate the local variable as it's used only once.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: G...
Iustin Pop
01:14 pm Revision 0e09422b: htools: rename Instance.auto_balance
… to autoBalance, per the recommended style.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotte...
Iustin Pop
01:14 pm ganeti-local Revision 0e09422b: htools: rename Instance.auto_balance
… to autoBalance, per the recommended style.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotte...
Iustin Pop
01:13 pm Revision 34c5a24a: htools: simplify some JSON-related code
Instead of manually encoding the JSValue(s), we can use showJSON as
long as we use data types that can be auto-conver...
Iustin Pop
01:13 pm ganeti-local Revision 34c5a24a: htools: simplify some JSON-related code
Instead of manually encoding the JSValue(s), we can use showJSON as
long as we use data types that can be auto-conver...
Iustin Pop
01:13 pm Revision 7c14b50a: htools: allow different result types
This patch extends the previous patch changes to allow that each
Cluster function returns a different result type, as...
Iustin Pop
01:13 pm ganeti-local Revision 7c14b50a: htools: allow different result types
This patch extends the previous patch changes to allow that each
Cluster function returns a different result type, as...
Iustin Pop
01:09 pm Revision d6cf394e: htools: start reorganising the IAllocator workflow
Currently, all IAllocator requests return the same result type: a list
of strings (usually nodes, but can also be ins...
Iustin Pop
01:09 pm ganeti-local Revision d6cf394e: htools: start reorganising the IAllocator workflow
Currently, all IAllocator requests return the same result type: a list
of strings (usually nodes, but can also be ins...
Iustin Pop
01:08 pm Revision 00152519: htools: split more code from hail/main
The logic of request processing is not separated into its own
function, and (beside CLI interaction, e.g. verbosity h...
Iustin Pop
01:08 pm ganeti-local Revision 00152519: htools: split more code from hail/main
The logic of request processing is not separated into its own
function, and (beside CLI interaction, e.g. verbosity h...
Iustin Pop
01:05 pm Revision cabce2f4: htools: move code from hail.hs to IAllocator.hs
This will make it easier to unittest the code, and keeps all login in a
single module.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
01:05 pm ganeti-local Revision cabce2f4: htools: move code from hail.hs to IAllocator.hs
This will make it easier to unittest the code, and keeps all login in a
single module.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
01:03 pm ganeti-local Revision 4e84ca27: htools: add parsing of input node-evac messages
This is a lot of duplication with modeMreloc, which will get sorted
out once we convert mreloc to change-group.
Sign...
Iustin Pop
01:03 pm Revision 4e84ca27: htools: add parsing of input node-evac messages
This is a lot of duplication with modeMreloc, which will get sorted
out once we convert mreloc to change-group.
Sign...
Iustin Pop
01:03 pm Revision 3667467d: htools: remove pre-2.4 compatibility from RAPI
This was potentially hiding issues in the group query, so let's remove
it since we're now bound to the current Ganeti...
Iustin Pop
01:03 pm ganeti-local Revision 3667467d: htools: remove pre-2.4 compatibility from RAPI
This was potentially hiding issues in the group query, so let's remove
it since we're now bound to the current Ganeti...
Iustin Pop
01:02 pm Revision 1fe412bb: htools: introduce new data type for node-evac
The evac-mode goes into the Types.hs module since it needs to be
available to Cluster.hs too.
Signed-off-by: Iustin ...
Iustin Pop
01:02 pm ganeti-local Revision 1fe412bb: htools: introduce new data type for node-evac
The evac-mode goes into the Types.hs module since it needs to be
available to Cluster.hs too.
Signed-off-by: Iustin ...
Iustin Pop
01:01 pm Revision 525bfb36: htools: docstring fixes and improvements
No code changes (except one definition being moved around in QC.hs)
are contained in this patch.
Signed-off-by: Iust...
Iustin Pop
01:01 pm ganeti-local Revision 525bfb36: htools: docstring fixes and improvements
No code changes (except one definition being moved around in QC.hs)
are contained in this patch.
Signed-off-by: Iust...
Iustin Pop
01:00 pm ganeti-local Revision 606e71d3: Fix some issues in htools apidoc generation
First, auto-generated files were not processed if HsColour thus the
'source' link in Haddock documentation was dangli...
Iustin Pop
01:00 pm Revision 606e71d3: Fix some issues in htools apidoc generation
First, auto-generated files were not processed if HsColour thus the
'source' link in Haddock documentation was dangli...
Iustin Pop
01:00 pm Revision 48f12e73: Replace an mkdir -p with @mkdir_p@ in Makefile.am
Oops, this shouldn't have gone in in the first place…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mic...
Iustin Pop
01:00 pm ganeti-local Revision 48f12e73: Replace an mkdir -p with @mkdir_p@ in Makefile.am
Oops, this shouldn't have gone in in the first place…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mic...
Iustin Pop
01:00 pm Revision 98b33d0e: Exclude auto-generated Haskell code from coverage
Especially for Ganeti.Constants, which has many declarations, it
doesn't make sense to check for coverage.
Signed-of...
Iustin Pop
01:00 pm ganeti-local Revision 98b33d0e: Exclude auto-generated Haskell code from coverage
Especially for Ganeti.Constants, which has many declarations, it
doesn't make sense to check for coverage.
Signed-of...
Iustin Pop

07/12/2011

07:17 pm Revision 0b71067a: Update multi-reloc design doc with enhanced results
In order to increase the amount of information returned from the
IAllocator plugin, we enhance the return values from...
Iustin Pop
07:17 pm ganeti-local Revision 0b71067a: Update multi-reloc design doc with enhanced results
In order to increase the amount of information returned from the
IAllocator plugin, we enhance the return values from...
Iustin Pop
06:23 pm ganeti-local Revision b6e88032: gnt-cluster {command|copyfile}: Support per-group operations
This patch allows commands to be run on and files to be copied to all
nodes within a specific group.
Signed-off-by: ...
Michael Hanselmann
06:23 pm Revision b6e88032: gnt-cluster {command|copyfile}: Support per-group operations
This patch allows commands to be run on and files to be copied to all
nodes within a specific group.
Signed-off-by: ...
Michael Hanselmann
06:23 pm Revision 05484a24: cli.GetOnlineNodes: Support node group filter, use query2
This patc changes cli.GetOnlineNodes to use query2, which does the
filtering in the master daemon, and adds a new par...
Michael Hanselmann
06:23 pm ganeti-local Revision 05484a24: cli.GetOnlineNodes: Support node group filter, use query2
This patc changes cli.GetOnlineNodes to use query2, which does the
filtering in the master daemon, and adds a new par...
Michael Hanselmann
06:23 pm Revision 172679c9: Remove references to multi-relocate from iallocator doc
For some reason these were still in tere.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ...
Michael Hanselmann
06:23 pm ganeti-local Revision 172679c9: Remove references to multi-relocate from iallocator doc
For some reason these were still in tere.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ...
Michael Hanselmann
06:22 pm ganeti-local Revision 7fc548e9: ht.WithDesc: Work around pylint warning
Explicitely defining “__call__” silences a pylint warning when wrapped
type check functions are used directly. I had ...
Michael Hanselmann
06:22 pm Revision 7fc548e9: ht.WithDesc: Work around pylint warning
Explicitely defining “__call__” silences a pylint warning when wrapped
type check functions are used directly. I had ...
Michael Hanselmann
01:50 pm Revision 1f8194b3: KVM: strip boot=on from IDE CDROM drivers
boot=on forces KVM to use an extboot ROM which has shown poor behaviour with
booting from CD images. IDE CDROM emulat...
Apollon Oikonomopoulos

07/11/2011

05:53 pm Revision b795a775: Merge branch 'devel-2.4'
* devel-2.4:
ht: Add new check for numbers
Fix off-by-one bug in job serial generation
Shorten some unbreakable...
Michael Hanselmann
05:53 pm ganeti-local Revision b795a775: Merge branch 'devel-2.4'
* devel-2.4:
ht: Add new check for numbers
Fix off-by-one bug in job serial generation
Shorten some unbreakable...
Michael Hanselmann
05:28 pm ganeti-local Revision 697f49d5: ht: Add new check for numbers
Places which receive floats can usually also deal with integers, e.g.
OpTestDelay. Tests are added and the new check ...
Michael Hanselmann
05:28 pm Revision 697f49d5: ht: Add new check for numbers
Places which receive floats can usually also deal with integers, e.g.
OpTestDelay. Tests are added and the new check ...
Michael Hanselmann
05:28 pm ganeti-local Revision 3c88bf36: Fix off-by-one bug in job serial generation
Commit 009e73d0 (September 2009) changed the job queue to generate
multiple job serials at once. Ever since it would ...
Michael Hanselmann
05:28 pm Revision 3c88bf36: Fix off-by-one bug in job serial generation
Commit 009e73d0 (September 2009) changed the job queue to generate
multiple job serials at once. Ever since it would ...
Michael Hanselmann
05:16 pm Revision 7238edb5: Reverts the patch series about console wrappers
This reverts commits 030a9cb8022b83bf43ec14dfbafd943299bc01c4 and
ae082df0000a785b693b2f4aa434650a81a94bdf.
There ar...
Iustin Pop
05:16 pm ganeti-local Revision 7238edb5: Reverts the patch series about console wrappers
This reverts commits 030a9cb8022b83bf43ec14dfbafd943299bc01c4 and
ae082df0000a785b693b2f4aa434650a81a94bdf.
There ar...
Iustin Pop

07/08/2011

03:15 pm Revision 323f9095: Add gnt-instance start --pause
Creates the instance, but pauses execution before booting. This combined
with 'gnt-instance console' unpausing instan...
Stephen Shirley
03:15 pm ganeti-local Revision 323f9095: Add gnt-instance start --pause
Creates the instance, but pauses execution before booting. This combined
with 'gnt-instance console' unpausing instan...
Stephen Shirley
03:15 pm Revision ae082df0: Adding a wrapper around connecting to kvm console
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley
03:15 pm ganeti-local Revision ae082df0: Adding a wrapper around connecting to kvm console
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley
03:15 pm Revision 030a9cb8: Adding a wrapper around "xm console"
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley
03:15 pm ganeti-local Revision 030a9cb8: Adding a wrapper around "xm console"
The wrapper will connect to the console, and check in the background if
the instance is paused, unpausing it as neces...
Stephen Shirley

07/06/2011

05:37 pm Revision a5566394: Fix lint error
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:37 pm ganeti-local Revision a5566394: Fix lint error
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
12:31 am Revision b4fcee5b: RAPI: Document all feature strings
- Use constants and an assertion
- Update documentation for node migration
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
12:31 am ganeti-local Revision b4fcee5b: RAPI: Document all feature strings
- Use constants and an assertion
- Update documentation for node migration
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
12:31 am Revision 21d70642: Remove old node evacuation opcode
LUNodeEvacStrategy has been replaced with LUNodeEvacuate.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revi...
Michael Hanselmann
12:31 am ganeti-local Revision 21d70642: Remove old node evacuation opcode
LUNodeEvacStrategy has been replaced with LUNodeEvacuate.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revi...
Michael Hanselmann
12:31 am ganeti-local Revision de40437a: Change RAPI for new node evacuation opcode
The change is not backwards compatible, see the updated NEWS file.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
12:31 am Revision de40437a: Change RAPI for new node evacuation opcode
The change is not backwards compatible, see the updated NEWS file.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
12:31 am Revision aafee533: Change “gnt-node evacuate” to use new opcode
By default it'll now evacuate all instances from the node, not
just secondaries.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
12:31 am ganeti-local Revision aafee533: Change “gnt-node evacuate” to use new opcode
By default it'll now evacuate all instances from the node, not
just secondaries.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
12:31 am Revision e1f23243: Add new opcode to evacuate node
This new opcode will replace LUNodeEvacStrategy, which used to return a
list of instances and new secondary nodes. Wi...
Michael Hanselmann
12:31 am ganeti-local Revision e1f23243: Add new opcode to evacuate node
This new opcode will replace LUNodeEvacStrategy, which used to return a
list of instances and new secondary nodes. Wi...
Michael Hanselmann

07/05/2011

08:24 pm Revision 029fe503: Alias gnt-job show to gnt-job info
Am I the only one to make that mistake 10 times a week?
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed...
Guido Trotter
08:24 pm ganeti-local Revision 029fe503: Alias gnt-job show to gnt-job info
Am I the only one to make that mistake 10 times a week?
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed...
Guido Trotter

07/01/2011

06:06 pm Revision 7034694d: One Haskell and integer sizes fix
Haskell has two main integer types:
- Int, which is a native-type, and is guaranteed to have at least
[-2²⁹, 2²⁹-1...
Iustin Pop
06:06 pm ganeti-local Revision 7034694d: One Haskell and integer sizes fix
Haskell has two main integer types:
- Int, which is a native-type, and is guaranteed to have at least
[-2²⁹, 2²⁹-1...
Iustin Pop
05:43 pm ganeti-local Revision d748d9a7: Fix cluster verify for empty node groups
There were some implicit assertions in the code that all node groups
have nodes, which is not necessarily true.
Addi...
Iustin Pop
05:43 pm Revision d748d9a7: Fix cluster verify for empty node groups
There were some implicit assertions in the code that all node groups
have nodes, which is not necessarily true.
Addi...
Iustin Pop
05:20 pm Revision 1e98bac2: Fix a typo and punctuation in iallocator.rst
Beside the 'dscription' typo, also make the punctuation more
consistent.
Signed-off-by: Iustin Pop <iustin@google.co...
Iustin Pop
05:20 pm ganeti-local Revision 1e98bac2: Fix a typo and punctuation in iallocator.rst
Beside the 'dscription' typo, also make the punctuation more
consistent.
Signed-off-by: Iustin Pop <iustin@google.co...
Iustin Pop
05:17 pm Revision 56a1d5cc: Shorten some unbreakable lines in man pages
In order to make the display right on 80-columns terminals.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b...
Iustin Pop
05:17 pm ganeti-local Revision 56a1d5cc: Shorten some unbreakable lines in man pages
In order to make the display right on 80-columns terminals.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b...
Iustin Pop
05:17 pm ganeti-local Revision f7b769b1: Correct some spelling mistakes
New lintian is even smarter:
- overriden → overridden
- allows to → allows one to
Signed-off-by: Iustin Pop <iustin...
Iustin Pop
05:17 pm Revision f7b769b1: Correct some spelling mistakes
New lintian is even smarter:
- overriden → overridden
- allows to → allows one to
Signed-off-by: Iustin Pop <iustin...
Iustin Pop
02:47 pm Revision 7056a05b: RAPI: handle tags during instance creation
Add tag handling to _ParseInstanceCreateRequestVersion1.
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Apollon Oikonomopoulos

06/28/2011

07:35 pm Revision e5f6768c: Fix htools, QuickCheck library detection and tests
Just saw this while testing the migration to QuickCheck v2: while
configure.ac detects that QuickCheck-2.x is not ava...
Iustin Pop
07:35 pm ganeti-local Revision e5f6768c: Fix htools, QuickCheck library detection and tests
Just saw this while testing the migration to QuickCheck v2: while
configure.ac detects that QuickCheck-2.x is not ava...
Iustin Pop
06:37 pm Revision 00c75986: htools: more fixes to unsatisfiable tests
Currently the way we generate nodes in some cases is by creating a
totally random node, then restricting the test bas...
Iustin Pop
06:37 pm Revision 309e7c9a: htools: fix corner case in prop_Text_Load_Instance
This unittest had a corner case where it could fail if the same
primary/secondary node names were generated.
Signed-...
Iustin Pop
06:37 pm Revision 509809db: htools: allow unittest to be replayed
This just adds glue to allow replaying of tests using a given RNG state
and test size (both are needed for exact repl...
Iustin Pop
06:37 pm Revision a1cd7c1e: htools: improve more unittests
Using new functionality in QuickCheck 2 (the suchThat function), we
generate now better test cases, such that (heh) w...
Iustin Pop
06:37 pm Revision 752635d3: htools: fix prop_Node_rMem corner case
This patch fixes a bug in the test specification where we allowed nodes
with zero free memory (hence no instance can ...
Iustin Pop
06:37 pm ganeti-local Revision 752635d3: htools: fix prop_Node_rMem corner case
This patch fixes a bug in the test specification where we allowed nodes
with zero free memory (hence no instance can ...
Iustin Pop
06:37 pm ganeti-local Revision 41085bd3: htools: Rework some unittests
The new scaffolding which replaced the batch driver of QuickCheck 1 now
shows how many passes we have for incomplete ...
Iustin Pop
06:37 pm ganeti-local Revision 00c75986: htools: more fixes to unsatisfiable tests
Currently the way we generate nodes in some cases is by creating a
totally random node, then restricting the test bas...
Iustin Pop
06:37 pm ganeti-local Revision a1cd7c1e: htools: improve more unittests
Using new functionality in QuickCheck 2 (the suchThat function), we
generate now better test cases, such that (heh) w...
Iustin Pop
06:37 pm ganeti-local Revision 509809db: htools: allow unittest to be replayed
This just adds glue to allow replaying of tests using a given RNG state
and test size (both are needed for exact repl...
Iustin Pop
06:37 pm ganeti-local Revision 309e7c9a: htools: fix corner case in prop_Text_Load_Instance
This unittest had a corner case where it could fail if the same
primary/secondary node names were generated.
Signed-...
Iustin Pop
06:37 pm Revision 41085bd3: htools: Rework some unittests
The new scaffolding which replaced the batch driver of QuickCheck 1 now
shows how many passes we have for incomplete ...
Iustin Pop
06:37 pm Revision 8e4f6d56: htools: Switch to QuickCheck 2.x
Since current distros don't package anymore QuickCheck 1.x, let's move
to 2.x.
This requires also a few changes to t...
Iustin Pop
06:37 pm ganeti-local Revision 8e4f6d56: htools: Switch to QuickCheck 2.x
Since current distros don't package anymore QuickCheck 1.x, let's move
to 2.x.
This requires also a few changes to t...
Iustin Pop
06:35 pm Revision cc532bdd: htools: some lint fixes
Removal of duplicate parantheses, removal of extra 'do', conversion from
nested if to guards, use hierarchical import...
Iustin Pop
06:35 pm ganeti-local Revision cc532bdd: htools: some lint fixes
Removal of duplicate parantheses, removal of extra 'do', conversion from
nested if to guards, use hierarchical import...
Iustin Pop
06:35 pm Revision 88253d03: htools: rewrite Cluster.filterMGResults
filterMGResults was built using a sequence of map and filter calls;
while this was logically correct, it used some in...
Iustin Pop
06:35 pm ganeti-local Revision 88253d03: htools: rewrite Cluster.filterMGResults
filterMGResults was built using a sequence of map and filter calls;
while this was logically correct, it used some in...
Iustin Pop
06:35 pm Revision e4491427: htools: use the new Group.isAllocable
… instead of the hardcoded test against AllocUnallocable.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
06:35 pm ganeti-local Revision e4491427: htools: use the new Group.isAllocable
… instead of the hardcoded test against AllocUnallocable.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
06:35 pm Revision 0ec6344e: htools: add a helper function
… that checks if a group is allocable.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann...
Iustin Pop
06:35 pm ganeti-local Revision 0ec6344e: htools: add a helper function
… that checks if a group is allocable.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann...
Iustin Pop
06:02 pm Revision b768099e: Fix bug in recreate-disks for DRBD instances
The new functionality in 2.4.2 for recreate-disks to change nodes is
broken for DRBD instances: it simply changes the...
Iustin Pop
06:02 pm Revision 78ff9e8f: Fix a lint warning
Patch db8e5f1c removed the use of feedback_fn, hence pylint warn
now.
Signed-off-by: Iustin Pop <iustin@google.com>
...
Iustin Pop
06:02 pm ganeti-local Revision 78ff9e8f: Fix a lint warning
Patch db8e5f1c removed the use of feedback_fn, hence pylint warn
now.
Signed-off-by: Iustin Pop <iustin@google.com>
...
Iustin Pop
06:02 pm ganeti-local Revision b768099e: Fix bug in recreate-disks for DRBD instances
The new functionality in 2.4.2 for recreate-disks to change nodes is
broken for DRBD instances: it simply changes the...
Iustin Pop
12:56 am Revision cc8a8ed7: KVM: configure bridged NICs at migration start
Commit 5d9bfd870 moved tap interface handling from KVM to Ganeti, partly
to also solve the problem of routed interfac...
Apollon Oikonomopoulos
12:56 am ganeti-local Revision cc8a8ed7: KVM: configure bridged NICs at migration start
Commit 5d9bfd870 moved tap interface handling from KVM to Ganeti, partly
to also solve the problem of routed interfac...
Apollon Oikonomopoulos

06/27/2011

04:35 pm Revision 96747bda: Fix RAPI documentation regarding master role
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:35 pm ganeti-local Revision 96747bda: Fix RAPI documentation regarding master role
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:53 pm Revision db8e5f1c: Fix bug in drbd8 replace disks on current nodes
Currently the drbd8 replace-disks on the same node (i.e. -p or -s) has
a bug in that it does modify the instance disk...
Iustin Pop
01:53 pm ganeti-local Revision db8e5f1c: Fix bug in drbd8 replace disks on current nodes
Currently the drbd8 replace-disks on the same node (i.e. -p or -s) has
a bug in that it does modify the instance disk...
Iustin Pop

06/24/2011

05:19 pm Revision 1d66efbe: Enable using ghc parallel version 3
Currently htools cannot be compiled under sid because the parallel
haskell library is version 3. Using it issues a fe...
Guido Trotter
05:19 pm ganeti-local Revision 1d66efbe: Enable using ghc parallel version 3
Currently htools cannot be compiled under sid because the parallel
haskell library is version 3. Using it issues a fe...
Guido Trotter

06/23/2011

05:47 pm Revision de2b0d1d: Merge branch 'devel-2.4'
* devel-2.4:
LUInstanceCreate: use opcodes.RequireFileStorage
Don't add ",boot=on" to disks on kvm >= 0.14
KVM:...
Guido Trotter
05:47 pm ganeti-local Revision de2b0d1d: Merge branch 'devel-2.4'
* devel-2.4:
LUInstanceCreate: use opcodes.RequireFileStorage
Don't add ",boot=on" to disks on kvm >= 0.14
KVM:...
Guido Trotter
04:53 pm ganeti-local Revision 0376655e: remove bootstrap._InitSharedFileStorage
This function is a copy of bootstrap._InitFileStorage with the following
differences:
- check constants.ENABLE_SHAR...
Guido Trotter
04:53 pm Revision 0376655e: remove bootstrap._InitSharedFileStorage
This function is a copy of bootstrap._InitFileStorage with the following
differences:
- check constants.ENABLE_SHAR...
Guido Trotter
04:51 pm ganeti-local Revision 7afca87f: LUInstanceCreate: use opcodes.RequireFileStorage
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
04:51 pm Revision 7afca87f: LUInstanceCreate: use opcodes.RequireFileStorage
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
04:51 pm Revision 4304964a: Don't add ",boot=on" to disks on kvm >= 0.14
Under newer kvm this prevents the vm from starting.
Ah, change!
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter
04:51 pm ganeti-local Revision 4304964a: Don't add ",boot=on" to disks on kvm >= 0.14
Under newer kvm this prevents the vm from starting.
Ah, change!
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter

06/22/2011

07:16 pm Revision 3af16328: KVM: fix per-instance stored UID value
When using the pool security model, _ExecuteKVMRuntime was storing the
instance's UID using str(uid), which would res...
Apollon Oikonomopoulos
07:16 pm ganeti-local Revision 3af16328: KVM: fix per-instance stored UID value
When using the pool security model, _ExecuteKVMRuntime was storing the
instance's UID using str(uid), which would res...
Apollon Oikonomopoulos
02:17 pm Revision c33472b5: Fix issue with tags on instance creation
Commit 720f56c85a added the ability to specify tags when creating an
instance. The “tags” attribute of an instance ob...
Michael Hanselmann
02:12 pm Revision cd0e63d6: Network query: handle default NIC link value
When asked to return statistics about a network usage by instances, we didn't
properly handle the link=None case. Thi...
Apollon Oikonomopoulos
02:12 pm Revision 6ad82cef: Update network design doc
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision 2d25bcdf: Network management design doc
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision 679cba3a: query: add network query primitives
Add NetworkQueryData data container for network-related queries. Also add a
network query field generator and helper ...
Apollon Oikonomopoulos
02:12 pm Revision 47a6db9b: bootstrap: initialize network configuration to an empty dict
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision 1190610e: Add pool management unit tests
Add unit tests to check proper IP address pool management logic.
The tests cover all simple operations on an IP addre...
Apollon Oikonomopoulos
02:12 pm Revision cafa5b70: Add network-related LUs
Add Logical Units for network adding and querying network config objects.
Signed-off-by: Apollon Oikonomopoulos <apo...
Apollon Oikonomopoulos
02:12 pm Revision 427746af: LUGroupSetParams: handle network map/unmap
Modify LUGroupSetParams to accept network addition/removal. Networks are
connected to nodegroups' links.
Signed-off-...
Apollon Oikonomopoulos
02:12 pm Revision 7ffdb1d8: Add network-related opcodes
Add opcodes for network addition and query.
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Apollon Oikonomopoulos
02:12 pm Revision 600eeb31: Add network query LUXI method
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision f709cbca: Add gnt-network client script
gnt-network manipulates network objects. Required parameters have been added to
ganeti.cli.
Signed-off-by: Apollon O...
Apollon Oikonomopoulos
02:12 pm Revision ac75fad9: Instance addition and removal: manage IP addresses
Prototype implementation of IP address management during instance
addition/removal.
Signed-off-by: Apollon Oikonomop...
Apollon Oikonomopoulos
02:12 pm Revision 87d534cb: Document network-related hooks
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision dc5af8d1: Add network and IP pool config methods and ssconf
Add helper methods to ganeti.config.ConfigWriter to handle Network addition and
removal, IP address reservation and c...
Apollon Oikonomopoulos
02:12 pm Revision c1439c1c: Make bash completion network-aware
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision f7ee7f53: Make zsh completion network-aware
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision 1eeeea44: Fix cyclic dependency between iallocator and pools
The IP pool management infrastructure currently needs to know an instance's
node to fill in IP addresses. For this to...
Apollon Oikonomopoulos
02:12 pm Revision 246f300d: gnt-network info: include external reservations
Also include the list of externally reserved IP addresses in an address pool in
the output of gnt-network info <netwo...
Apollon Oikonomopoulos
02:12 pm Revision 5f2725c1: More fixes regarding ip pool mgmt and instance creation
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision 03265e02: Add doc/examples/zsh_completion to .gitignore
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
02:12 pm Revision 85c5d3c9: Improve temporary reservation of IP addresses
Add a new method, TemporaryReservationManager.GetECReserved(), which returns all
reservations held by a given ec_id.
...
Apollon Oikonomopoulos
02:12 pm Revision c95ac777: ConfigWriter.ReleaseIp: change semantics
Change the semantics of ReleaseIp, so that it can be called from outside
without knowing the exact network UUID, by p...
Apollon Oikonomopoulos
02:12 pm Revision 6609f455: RemoveInstance: handle IP default NIC link
Call cluster.SimpleFillNIC to get the default link when link is None.
Signed-off-by: Apollon Oikonomopoulos <apollon...
Apollon Oikonomopoulos
02:12 pm Revision ac82d660: IP pool management during instance modification
Perform suitable pool operations on NIC addition, removal and modification.
Signed-off-by: Apollon Oikonomopoulos <a...
Apollon Oikonomopoulos
02:12 pm Revision 4260755b: Add tag handling to {Op,LU}InstanceCreate
Add a tag slot to opcodes.OpInstanceCreate. We do not reuse _PTags, as this is
intended for OpTagsSet and thus:
a)...
Apollon Oikonomopoulos
02:12 pm Revision 62ef8d4d: Add tagging option to gnt-instance create
Add TAG_ADD_OPT option to cli.py and use it in gnt-instance. Modify
cli.GenericInstanceCreate() accordingly.
Signed-...
Apollon Oikonomopoulos
02:12 pm Revision aca8d56e: Export instance tags to instance hooks
Instance hooks now get an INSTANCE_TAGS environment variable, which contains a
space-delimited list of the affected i...
Apollon Oikonomopoulos
02:12 pm Revision dd7ea762: TemporaryReservationManager: decrement retry counter
The retry counter used in TemporaryReservationManager.Generate() was not
decremented for each failed retry, as presum...
Apollon Oikonomopoulos
02:12 pm Revision 2cb80e1d: Handle StopIteration in free IP generation
Catch the StopIteration exception and return None to the temporary_ips
reservation manager, so that it fails at the 6...
Apollon Oikonomopoulos
02:12 pm Revision e8f80e7d: Handle address pool exhaustion properly in cmdlib
We catch the ConfigurationError raised by ConfigWriter.GenerateIp() in
LUInstanceCreate and LUInstanceSetParams, so t...
Apollon Oikonomopoulos
02:12 pm Revision 4ffb8181: Fix typo in gnt-network list
ToStdOut -> ToStdout
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Apollon Oikonomopoulos
02:12 pm Revision 9dfd5fc2: Add lib/ippool.py: IP pool management primitives
This patch introduces primitive structures for IP pool management. The core of
the IP Pool management framework is th...
Apollon Oikonomopoulos
02:12 pm Revision 62a7762b: Add config objects and methods for IP pools
This patch introduces the following changes to lib.config and lib.objects to
facilitate IP pool management.
- Add a ...
Apollon Oikonomopoulos
02:12 pm Revision 2abc8f57: LUCreateInstance: Retrieve IPs from an IP pool
A new ip keyword is added ("pool") to signify that LUCreateInstance should get
the instance's IP from an IP pool (rat...
Apollon Oikonomopoulos
02:12 pm Revision 4bba8e4c: Add ganeti.network: address pool management tools
lib.network contains AddressPool, a helper class for ganeti.objects.Network.
AddressPool wraps a Network object and p...
Apollon Oikonomopoulos
02:12 pm Revision 5974efea: lib.objects: Add network object definition
Add a network object definition, with the appropriate slots, to lib.objects.
Also add a “networks” top-level configu...
Apollon Oikonomopoulos
01:26 pm Revision 034c116d: KVM: configure bridged NICs at migration start
Commit 5d9bfd870 moved tap interface handling from KVM to Ganeti, partly to
also solve the problem of routed interfac...
Apollon Oikonomopoulos
« Previous
Next »
 

Also available in: Atom