Activity

From 09/05/2012 to 10/04/2012

10/04/2012

06:00 pm Revision 1be3e86c: Add unit test for FilterEmptyLinesAndComments
I somehow forgot this in the previous patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bern...
Michael Hanselmann
06:00 pm ganeti-local Revision 1be3e86c: Add unit test for FilterEmptyLinesAndComments
I somehow forgot this in the previous patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bern...
Michael Hanselmann
05:58 pm Revision 461eb201: cmdlib._WipeDisks: Code formatting
- LogInfo takes *args, no need to replace values right away
- Don't overwrite wipe_chunk_size right after it's been s...
Michael Hanselmann
05:58 pm ganeti-local Revision 461eb201: cmdlib._WipeDisks: Code formatting
- LogInfo takes *args, no need to replace values right away
- Don't overwrite wipe_chunk_size right after it's been s...
Michael Hanselmann
04:42 pm Revision 2cbe9af3: Factorize removing comments and empty lines from string
This will also be used for verifying the file storage directory.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
04:42 pm ganeti-local Revision 2cbe9af3: Factorize removing comments and empty lines from string
This will also be used for verifying the file storage directory.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
04:58 am ganeti-local Revision 5506d7a9: ssconf: Fix mistake made in commit ee501db
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:58 am Revision 5506d7a9: ssconf: Fix mistake made in commit ee501db
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:38 am Revision ee501db1: Move a function from backend to ssconf
The “WriteSsconfFiles” function is used to write ssconf files. By moving
it we can avoid importing backend into boots...
Michael Hanselmann
04:38 am ganeti-local Revision ee501db1: Move a function from backend to ssconf
The “WriteSsconfFiles” function is used to write ssconf files. By moving
it we can avoid importing backend into boots...
Michael Hanselmann
02:58 am Revision f0f8d060: Show old primary/secondary node on disk replacement
People unfamiliar with Ganeti's internals might be confused with the
different hostnames showing up later in the proc...
Michael Hanselmann
02:58 am ganeti-local Revision f0f8d060: Show old primary/secondary node on disk replacement
People unfamiliar with Ganeti's internals might be confused with the
different hostnames showing up later in the proc...
Michael Hanselmann

10/03/2012

08:00 pm Revision 33e26038: cmdlib: Change wording of messages during disk wipe
Error messages don't need to say “please” and it's already obvious some
investigation is needed. LogWarning already l...
Michael Hanselmann
08:00 pm ganeti-local Revision 33e26038: cmdlib: Change wording of messages during disk wipe
Error messages don't need to say “please” and it's already obvious some
investigation is needed. LogWarning already l...
Michael Hanselmann
06:51 pm Revision 755301e5: Bump new version
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:38 pm Revision 7623ef75: Check for existing networks/groups in Network LUs
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:35 pm ganeti-local Revision c31b2676: Check for existing networks/groups in Network LUs
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:35 pm Revision c31b2676: Check for existing networks/groups in Network LUs
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:03 pm Revision 0188611b: Remove constant for disk wipe block size
It is dangerous to have this block size as a global constant as that
could give the impression of it being easily cha...
Michael Hanselmann
06:03 pm ganeti-local Revision 0188611b: Remove constant for disk wipe block size
It is dangerous to have this block size as a global constant as that
could give the impression of it being easily cha...
Michael Hanselmann
06:00 pm Revision 64be07b1: gnt-instance reinstall: Don't always exit with success
If one or more jobs failed the exit status should be set accordingly.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
06:00 pm ganeti-local Revision 64be07b1: gnt-instance reinstall: Don't always exit with success
If one or more jobs failed the exit status should be set accordingly.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
05:58 pm Revision 2ef3383e: LUClusterVerify: Ignore /proc/drbd if DRBD is disabled
This fixes issue 190. The problem was that the check for DRBD was
enabled if LVM storage is used and didn't depend at...
Michael Hanselmann
05:58 pm ganeti-local Revision 2ef3383e: LUClusterVerify: Ignore /proc/drbd if DRBD is disabled
This fixes issue 190. The problem was that the check for DRBD was
enabled if LVM storage is used and didn't depend at...
Michael Hanselmann
01:21 pm Revision 9a2cd2cf: Hack bdev.py to monitor drbd removal
This patch hacks the DRBD remove code and runs an external script
before the `drbdsetup down' command. The script log...
Constantinos Venetsanopoulos
03:06 am Revision 3d8ae327: LUClusterVerify: Ignore /proc/drbd if DRBD is disabled
This fixes issue 190. The problem was that the check for DRBD was
enabled if LVM storage is used and didn't depend at...
Michael Hanselmann
03:06 am ganeti-local Revision 3d8ae327: LUClusterVerify: Ignore /proc/drbd if DRBD is disabled
This fixes issue 190. The problem was that the check for DRBD was
enabled if LVM storage is used and didn't depend at...
Michael Hanselmann

10/02/2012

10:35 pm Revision d971402f: cli: Exit with status 0 for --help
This patch is somewhat longer than was anticipated. Before, commands like
“gnt-instance --help” would exit with the s...
Michael Hanselmann
10:35 pm ganeti-local Revision d971402f: cli: Exit with status 0 for --help
This patch is somewhat longer than was anticipated. Before, commands like
“gnt-instance --help” would exit with the s...
Michael Hanselmann
08:44 pm Revision b0dcdc10: Remove the python confd server side code
In 2.7 we will only support the Haskell version, if enabled.
Since the original hconfd enabling was a bit hack-ish (...
Iustin Pop
08:44 pm ganeti-local Revision b0dcdc10: Remove the python confd server side code
In 2.7 we will only support the Haskell version, if enabled.
Since the original hconfd enabling was a bit hack-ish (...
Iustin Pop
08:44 pm ganeti-local Revision 04520998: Remove option to select the Python version of confd
This will need some more configure.ac checks for required libraries,
which will come later with the Haskell dependenc...
Iustin Pop
08:44 pm Revision 04520998: Remove option to select the Python version of confd
This will need some more configure.ac checks for required libraries,
which will come later with the Haskell dependenc...
Iustin Pop
08:41 pm Revision ab171697: Add first version of virtual cluster documentation
- Add document describing virtual clusters
- Non-root clusters are not yet described, will be done in another
p...
Michael Hanselmann
08:41 pm ganeti-local Revision ab171697: Add first version of virtual cluster documentation
- Add document describing virtual clusters
- Non-root clusters are not yet described, will be done in another
p...
Michael Hanselmann
07:18 pm Revision d04d998b: INSTALL: Typo, missing dependency
libghc-utf8-string-dev was missing.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal ...
Michael Hanselmann
07:18 pm ganeti-local Revision d04d998b: INSTALL: Typo, missing dependency
libghc-utf8-string-dev was missing.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal ...
Michael Hanselmann
01:34 pm Revision 7ebadeb3: Always distribute ganeti.utils.io_unittest-runasroot.py
Tests that depend on fakeroot were not distributed in the tarball created
by "make dist" when fakeroot was missing. N...
Bernardo Dal Seno
01:34 pm ganeti-local Revision 7ebadeb3: Always distribute ganeti.utils.io_unittest-runasroot.py
Tests that depend on fakeroot were not distributed in the tarball created
by "make dist" when fakeroot was missing. N...
Bernardo Dal Seno
06:12 am Revision a6d3644b: vcluster-setup: Watcher, init script
- Generate a wrapper script for ganeti-watcher
- Provide command line option to specify init script
Signed-off-by: M...
Michael Hanselmann
06:12 am ganeti-local Revision a6d3644b: vcluster-setup: Watcher, init script
- Generate a wrapper script for ganeti-watcher
- Provide command line option to specify init script
Signed-off-by: M...
Michael Hanselmann

10/01/2012

09:23 am Revision 77865fb4: Fixed typos in devnotes.rst
Signed-off-by: Gintautas Miliauskas <gintas@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Gintautas Miliauskas
09:23 am ganeti-local Revision 77865fb4: Fixed typos in devnotes.rst
Signed-off-by: Gintautas Miliauskas <gintas@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Gintautas Miliauskas

09/28/2012

06:29 pm Revision 1266a29b: vcluster-setup: Add more parameters to "gnt-cluster init"
This patch also adds two new parameters to the vcluster-setup script to
not configure /etc/hosts and networking. Buil...
Michael Hanselmann
06:29 pm ganeti-local Revision 1266a29b: vcluster-setup: Add more parameters to "gnt-cluster init"
This patch also adds two new parameters to the vcluster-setup script to
not configure /etc/hosts and networking. Buil...
Michael Hanselmann
06:11 pm Revision 3779121c: Pylint cleanup
The previous commits introduced some pylint errors.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iust...
René Nussbaumer
06:11 pm ganeti-local Revision 3779121c: Pylint cleanup
The previous commits introduced some pylint errors.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iust...
René Nussbaumer
04:30 pm Revision 2f441f72: Add support for GANETI_ROOTDIR in Haskell code
unsafePerformIO is required to go from the IO monad to pure code.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
04:30 pm ganeti-local Revision 2f441f72: Add support for GANETI_ROOTDIR in Haskell code
unsafePerformIO is required to go from the IO monad to pure code.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
04:05 pm Revision b0a8e8c2: Modify batch-create to use MultiAlloc
This is the CLI part of the OpInstanceMultiAlloc change. There is some
room for improvement especially with user hand...
René Nussbaumer
04:05 pm ganeti-local Revision b0a8e8c2: Modify batch-create to use MultiAlloc
This is the CLI part of the OpInstanceMultiAlloc change. There is some
room for improvement especially with user hand...
René Nussbaumer
04:05 pm Revision 68b2e985: Make validation error message more useful
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:05 pm ganeti-local Revision 68b2e985: Make validation error message more useful
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:05 pm Revision 9bc5ac44: Provide a custom Validate for OpInstanceMultiAlloc
This is needed, as we're not strictly separating validation from
populating the defaults. We do this all in one funct...
René Nussbaumer
04:05 pm ganeti-local Revision 9bc5ac44: Provide a custom Validate for OpInstanceMultiAlloc
This is needed, as we're not strictly separating validation from
populating the defaults. We do this all in one funct...
René Nussbaumer
03:16 pm Revision 2958c56e: ganeti-cleaner: Separate queue cleaning code
This code does not need to run as root, therefore it's better to split
it out. It is now run with the same permission...
Michael Hanselmann
03:16 pm ganeti-local Revision 2958c56e: ganeti-cleaner: Separate queue cleaning code
This code does not need to run as root, therefore it's better to split
it out. It is now run with the same permission...
Michael Hanselmann
03:14 pm Revision 052783ff: Stop hardcoding root user
Some parts of the code still use a hardcoded user name: root. This patch
replaces all with a constant specified at bu...
Michael Hanselmann
03:14 pm ganeti-local Revision 052783ff: Stop hardcoding root user
Some parts of the code still use a hardcoded user name: root. This patch
replaces all with a constant specified at bu...
Michael Hanselmann
12:27 pm Revision 3d3f562b: Remove explicit recursion from sanitizeDictResults
Since ERpcError is still not a monad, a simple foldr will have to
do for now.
Signed-off-by: Agata Murawska <agatamu...
Agata Murawska
12:27 pm ganeti-local Revision 3d3f562b: Remove explicit recursion from sanitizeDictResults
Since ERpcError is still not a monad, a simple foldr will have to
do for now.
Signed-off-by: Agata Murawska <agatamu...
Agata Murawska
12:27 pm Revision 70c2362e: Pretty printing JSValue
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
12:27 pm ganeti-local Revision 70c2362e: Pretty printing JSValue
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
12:27 pm Revision 0ae9ddc4: Merge parseHttpResponse with rpcResultParse
parseHttpResponse is such a simple function that we can actually
do the entire unpacking in rpcResultParse.
Signed-o...
Agata Murawska
12:27 pm ganeti-local Revision 0ae9ddc4: Merge parseHttpResponse with rpcResultParse
parseHttpResponse is such a simple function that we can actually
do the entire unpacking in rpcResultParse.
Signed-o...
Agata Murawska
12:27 pm Revision 7328a28c: Simplify and generalize rpcResultFill
For now ERpcError is still not a monad, but we can still simplify
rpcResultFill implementation for different calls si...
Agata Murawska
12:27 pm ganeti-local Revision 7328a28c: Simplify and generalize rpcResultFill
For now ERpcError is still not a monad, but we can still simplify
rpcResultFill implementation for different calls si...
Agata Murawska
12:27 pm Revision a93b711b: Remove monadic results wherever possible
There is no need (at least right now) for some of the resulting
types to be in additional monad, so let us just have ...
Agata Murawska
12:27 pm ganeti-local Revision a93b711b: Remove monadic results wherever possible
There is no need (at least right now) for some of the resulting
types to be in additional monad, so let us just have ...
Agata Murawska
12:27 pm Revision 274366e5: Realign instances of typeclasses
As per Iustin's suggestion, this patch aligns parts of typeclass
instance on "=".
Signed-off-by: Agata Murawska <aga...
Agata Murawska
12:27 pm ganeti-local Revision 274366e5: Realign instances of typeclasses
As per Iustin's suggestion, this patch aligns parts of typeclass
instance on "=".
Signed-off-by: Agata Murawska <aga...
Agata Murawska
12:27 pm Revision 60443f61: Rename RpcError -> String function
As per Iustin's suggestion, show is not a good solution - so instead
the name is now explainRpcError.
Signed-off-by:...
Agata Murawska
12:27 pm ganeti-local Revision 60443f61: Rename RpcError -> String function
As per Iustin's suggestion, show is not a good solution - so instead
the name is now explainRpcError.
Signed-off-by:...
Agata Murawska

09/27/2012

07:10 pm Revision 6e3bf290: Cleanup of build-time shell variable replacements
Instead of having a different set in (almost) every shell script, this
inserts the most commonly used variables at bu...
Michael Hanselmann
07:10 pm ganeti-local Revision 6e3bf290: Cleanup of build-time shell variable replacements
Instead of having a different set in (almost) every shell script, this
inserts the most commonly used variables at bu...
Michael Hanselmann
07:10 pm ganeti-local Revision 6a5e841d: ensure-dirs: Don't hardcode ssconf file group
Otherwise chown(2) will fail when noded doesn't run as root.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
07:10 pm Revision 6a5e841d: ensure-dirs: Don't hardcode ssconf file group
Otherwise chown(2) will fail when noded doesn't run as root.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
07:09 pm ganeti-local Revision e5afb848: Fix distcheck after commit 29386d3ee
Missing backslash.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:09 pm Revision e5afb848: Fix distcheck after commit 29386d3ee
Missing backslash.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:36 pm Revision ec944cc0: InstanceRecreateDisks: new assertion for node locks
Make sure that all the nodes where a disk operation is peformed are locked.
Signed-off-by: Bernardo Dal Seno <bdalse...
Bernardo Dal Seno
06:36 pm ganeti-local Revision ec944cc0: InstanceRecreateDisks: new assertion for node locks
Make sure that all the nodes where a disk operation is peformed are locked.
Signed-off-by: Bernardo Dal Seno <bdalse...
Bernardo Dal Seno
06:36 pm ganeti-local Revision cf8adf26: Fix missing locks in InstanceRecreateDisks
In case of in-place recreate-disks operation, all node locks were released
before starting the actual execution.
Sig...
Bernardo Dal Seno
06:36 pm Revision cf8adf26: Fix missing locks in InstanceRecreateDisks
In case of in-place recreate-disks operation, all node locks were released
before starting the actual execution.
Sig...
Bernardo Dal Seno
06:26 pm Revision 29386d3e: Add vcluster-setup utility
This utility can be used to configure an environment for a virtual
cluster. It sets up entries in /etc/hosts, creates...
Michael Hanselmann
06:26 pm ganeti-local Revision 29386d3e: Add vcluster-setup utility
This utility can be used to configure an environment for a virtual
cluster. It sets up entries in /etc/hosts, creates...
Michael Hanselmann
05:46 pm ganeti-local Revision 39b8cd94: ensure-dirs: Don't convert list to tuple
Tuples are data structures, not containers.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René ...
Michael Hanselmann
05:46 pm Revision 39b8cd94: ensure-dirs: Don't convert list to tuple
Tuples are data structures, not containers.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René ...
Michael Hanselmann
05:43 pm Revision bb514a22: daemon-util: Use function to determine if confd is enabled
… instead of comparing with two different values in two placse.
Signed-off-by: Michael Hanselmann <hansmi@google.com...
Michael Hanselmann
05:43 pm ganeti-local Revision bb514a22: daemon-util: Use function to determine if confd is enabled
… instead of comparing with two different values in two placse.
Signed-off-by: Michael Hanselmann <hansmi@google.com...
Michael Hanselmann
05:41 pm Revision 320a5dae: Always_failover doesn't require --allow-failover anymore
If an administrator sets always_failover, it means that there is no need
for another explicit approval to failover in...
Bernardo Dal Seno
05:41 pm ganeti-local Revision 320a5dae: Always_failover doesn't require --allow-failover anymore
If an administrator sets always_failover, it means that there is no need
for another explicit approval to failover in...
Bernardo Dal Seno
04:02 pm Revision 370f2768: cfgshell: Remove pylint disable line
Commit 326830963 removed the use of a private member function. Also
replace '' with "" in one place.
Signed-off-by: ...
Michael Hanselmann
04:02 pm ganeti-local Revision 370f2768: cfgshell: Remove pylint disable line
Commit 326830963 removed the use of a private member function. Also
replace '' with "" in one place.
Signed-off-by: ...
Michael Hanselmann
02:42 pm Revision 915faf72: Adding RAPI client for instance multi allocation
It was very easy to refactor CreateInstance to repurpose some part of it
for the instance multi allocation request. S...
René Nussbaumer
02:42 pm Revision e5ff1a47: Populate the instance dict with opcode infos
This is needed so we can load it as an opcode. However, this information
should not be available on the client, so we...
René Nussbaumer
02:42 pm ganeti-local Revision e5ff1a47: Populate the instance dict with opcode infos
This is needed so we can load it as an opcode. However, this information
should not be available on the client, so we...
René Nussbaumer
02:42 pm ganeti-local Revision 915faf72: Adding RAPI client for instance multi allocation
It was very easy to refactor CreateInstance to repurpose some part of it
for the instance multi allocation request. S...
René Nussbaumer
01:52 pm Revision d163abf9: bash_completion: Enable extglob while parsing file
In older versions of GNU Bash extended patterns, such as “@(…)”, are only
available with the “extglob” shell option. ...
Michael Hanselmann
01:52 pm ganeti-local Revision d163abf9: bash_completion: Enable extglob while parsing file
In older versions of GNU Bash extended patterns, such as “@(…)”, are only
available with the “extglob” shell option. ...
Michael Hanselmann
01:46 pm Revision 3a6a89d7: Revert unintentional change of daemon log file names
Commit 3329f4dea6 unintentionally changed the filenames of all daemon
log files. This patch reverts part of those cha...
Michael Hanselmann
01:46 pm ganeti-local Revision 3a6a89d7: Revert unintentional change of daemon log file names
Commit 3329f4dea6 unintentionally changed the filenames of all daemon
log files. This patch reverts part of those cha...
Michael Hanselmann
01:06 pm Revision e8ae48e2: Fix bad wording in 2.3 design document
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:06 pm ganeti-local Revision e8ae48e2: Fix bad wording in 2.3 design document
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann

09/26/2012

07:35 pm Revision 5188fdb7: InstanceInfo RPC call
This patch implements single instance info call - somewhat similar to
all_instances_info, except we give a specific i...
Agata Murawska
07:35 pm ganeti-local Revision 5188fdb7: InstanceInfo RPC call
This patch implements single instance info call - somewhat similar to
all_instances_info, except we give a specific i...
Agata Murawska
07:35 pm Revision 1cb97324: instance_info now returns vcpus
instance_info and all_instances_info calls had different per-instance
return types, this commit fixes the mismatch.
...
Agata Murawska
07:35 pm ganeti-local Revision 1cb97324: instance_info now returns vcpus
instance_info and all_instances_info calls had different per-instance
return types, this commit fixes the mismatch.
...
Agata Murawska
07:35 pm Revision 47163f0f: Change RpcResult typeclass
For storage_list call, the result type depends on the call parameters.
Therefore, we have to add call as an argument ...
Agata Murawska
07:35 pm ganeti-local Revision 47163f0f: Change RpcResult typeclass
For storage_list call, the result type depends on the call parameters.
Therefore, we have to add call as an argument ...
Agata Murawska
07:35 pm ganeti-local Revision 8779d21a: Version RPC call
Implementation of node version query.
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin P...
Agata Murawska
07:35 pm Revision 8779d21a: Version RPC call
Implementation of node version query.
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin P...
Agata Murawska
07:35 pm Revision cca4e6fe: Node query now uses live data
Added support for NodeInfo RPC call as source of data for node query.
Signed-off-by: Agata Murawska <agatamurawska@g...
Agata Murawska
07:35 pm ganeti-local Revision cca4e6fe: Node query now uses live data
Added support for NodeInfo RPC call as source of data for node query.
Signed-off-by: Agata Murawska <agatamurawska@g...
Agata Murawska
07:35 pm ganeti-local Revision 7f0fd838: Node query now collects live fields
We make use of the parameter added in the previous patch and add
option to add live parameters to the query.
Signed-...
Agata Murawska
07:35 pm Revision 7f0fd838: Node query now collects live fields
We make use of the parameter added in the previous patch and add
option to add live parameters to the query.
Signed-...
Agata Murawska
07:35 pm Revision fa2c927c: Add live parameter to query
The tests we currently have assume, that all the data required for
running the query is available - once we add live ...
Agata Murawska
07:35 pm ganeti-local Revision fa2c927c: Add live parameter to query
The tests we currently have assume, that all the data required for
running the query is available - once we add live ...
Agata Murawska
07:35 pm Revision 4393e075: Conversion from RPC error to query status
Simple conversion for queries that use live fields gathered from
RPC calls.
Signed-off-by: Agata Murawska <agatamura...
Agata Murawska
07:35 pm ganeti-local Revision 4393e075: Conversion from RPC error to query status
Simple conversion for queries that use live fields gathered from
RPC calls.
Signed-off-by: Agata Murawska <agatamura...
Agata Murawska
07:34 pm Revision 77cab679: Json helper for node query
This is a helper function that gets the JSON encoding of the first
element of the list (if possible).
Signed-off-by:...
Agata Murawska
07:34 pm ganeti-local Revision 77cab679: Json helper for node query
This is a helper function that gets the JSON encoding of the first
element of the list (if possible).
Signed-off-by:...
Agata Murawska
07:34 pm Revision d71fbcc5: Create ResulT for monad transformations
This patch creates ResultT, a monad transformation used later in
RPC <-> query integration.
Signed-off-by: Agata Mur...
Agata Murawska
07:34 pm ganeti-local Revision d71fbcc5: Create ResulT for monad transformations
This patch creates ResultT, a monad transformation used later in
RPC <-> query integration.
Signed-off-by: Agata Mur...
Agata Murawska
07:34 pm ganeti-local Revision a9d6f4e0: Tests for NodeGroup query
This adds tests similar to those used for node query. For now the
prop_queryGroup_noUnknown is disabled and commented...
Agata Murawska
07:34 pm Revision a9d6f4e0: Tests for NodeGroup query
This adds tests similar to those used for node query. For now the
prop_queryGroup_noUnknown is disabled and commented...
Agata Murawska
07:34 pm Revision 40246fa0: NodeGroup query in Haskell
Implementation of nodegroup queries in Haskell. This is not yet
complete as we are missing merged disk parameters and...
Agata Murawska
07:34 pm ganeti-local Revision 40246fa0: NodeGroup query in Haskell
Implementation of nodegroup queries in Haskell. This is not yet
complete as we are missing merged disk parameters and...
Agata Murawska
07:34 pm ganeti-local Revision e5cb098c: Config support for NodeGroup query
For some results in nodegroup queries we need agregation similar to
one that is done for nodes.
Signed-off-by: Agata...
Agata Murawska
07:34 pm Revision e5cb098c: Config support for NodeGroup query
For some results in nodegroup queries we need agregation similar to
one that is done for nodes.
Signed-off-by: Agata...
Agata Murawska
07:34 pm Revision 9b09c0be: Fix RPC call and result (de)serialization
Previous version of RPC calls implementation in Haskell did not take
into account that the actual result type for que...
Agata Murawska
07:34 pm ganeti-local Revision 9b09c0be: Fix RPC call and result (de)serialization
Previous version of RPC calls implementation in Haskell did not take
into account that the actual result type for que...
Agata Murawska
07:34 pm Revision 599239ad: Add alias for Either RpcError a
This was repeated a lot, so we should abstract this into a type.
Signed-off-by: Agata Murawska <agatamurawska@google...
Agata Murawska
07:34 pm ganeti-local Revision 599239ad: Add alias for Either RpcError a
This was repeated a lot, so we should abstract this into a type.
Signed-off-by: Agata Murawska <agatamurawska@google...
Agata Murawska
07:34 pm Revision 6fddde87: Cleanup for RPC errors
Curl error messages are self contained and don't need "error" prefix;
added RpcResult Error which will be used once p...
Agata Murawska
07:34 pm ganeti-local Revision 6fddde87: Cleanup for RPC errors
Curl error messages are self contained and don't need "error" prefix;
added RpcResult Error which will be used once p...
Agata Murawska
07:34 pm Revision f9b0084a: Change cluster's hypervisors type
We now have Hypervisor type in Objects, might just as well use it.
Signed-off-by: Agata Murawska <agatamurawska@goog...
Agata Murawska
07:34 pm ganeti-local Revision f9b0084a: Change cluster's hypervisors type
We now have Hypervisor type in Objects, might just as well use it.
Signed-off-by: Agata Murawska <agatamurawska@goog...
Agata Murawska
07:34 pm ganeti-local Revision d120506c: Correct top comment in Query/Server
I assumed this was a copy-paste+forgetting to change the header comment.
Signed-off-by: Agata Murawska <agatamurawsk...
Agata Murawska
07:34 pm Revision d120506c: Correct top comment in Query/Server
I assumed this was a copy-paste+forgetting to change the header comment.
Signed-off-by: Agata Murawska <agatamurawsk...
Agata Murawska
07:34 pm Revision 7766de33: Add nodedCertFile to Path
This patch adds missing Path entry and uses it in Rpc. It was not in
place before due to different build settings - i...
Agata Murawska
07:34 pm ganeti-local Revision 7766de33: Add nodedCertFile to Path
This patch adds missing Path entry and uses it in Rpc. It was not in
place before due to different build settings - i...
Agata Murawska
03:57 pm ganeti-local Revision 579f4ee5: Verify the node count just if the allocation was successful
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
03:57 pm Revision 579f4ee5: Verify the node count just if the allocation was successful
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:19 pm Revision ada0e680: Enable bash completion for htools scripts
This patch ties together the previous commits, by extending
build-bash-completion to call all htools scripts and get ...
Iustin Pop
02:19 pm ganeti-local Revision ada0e680: Enable bash completion for htools scripts
This patch ties together the previous commits, by extending
build-bash-completion to call all htools scripts and get ...
Iustin Pop
02:18 pm Revision 097ad7ee: Add option for displaying completion information
This patch adds support for a --help-completion option, which will
display the defined options and their completion i...
Iustin Pop
02:18 pm Revision ce207617: Annotate options with completion information
This is a quite boring patch, just adding annotation information to
all existing options. Some of the annotations are...
Iustin Pop
02:18 pm Revision f5af3409: Add a data type for completion information
This can be used for either option or argument completion (although
OptComplNone doesn't make sense for an argument :...
Iustin Pop
02:18 pm Revision 42834645: Remove generic options from individual programs
Currently, we test and require that each individual program (hbal,
etc.) defines/supports the generic options (curren...
Iustin Pop
02:18 pm ganeti-local Revision 42834645: Remove generic options from individual programs
Currently, we test and require that each individual program (hbal,
etc.) defines/supports the generic options (curren...
Iustin Pop
02:18 pm ganeti-local Revision f5af3409: Add a data type for completion information
This can be used for either option or argument completion (although
OptComplNone doesn't make sense for an argument :...
Iustin Pop
02:18 pm ganeti-local Revision 097ad7ee: Add option for displaying completion information
This patch adds support for a --help-completion option, which will
display the defined options and their completion i...
Iustin Pop
02:18 pm ganeti-local Revision ce207617: Annotate options with completion information
This is a quite boring patch, just adding annotation information to
all existing options. Some of the annotations are...
Iustin Pop
12:46 pm Revision d1da5a45: Add printing of group score in hinfo
The global cluster score is less interesting than individual group
scores, for multi-group allocation purposes.
Sign...
Iustin Pop
12:46 pm ganeti-local Revision d1da5a45: Add printing of group score in hinfo
The global cluster score is less interesting than individual group
scores, for multi-group allocation purposes.
Sign...
Iustin Pop
12:46 pm Revision da28218d: Replace a big tuple with a custom data type
This will make it easier to add new parameters.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Mur...
Iustin Pop
12:46 pm ganeti-local Revision da28218d: Replace a big tuple with a custom data type
This will make it easier to add new parameters.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Mur...
Iustin Pop

09/25/2012

05:28 pm Revision cffbbae7: Implement virtual cluster support in Python code
- pathutils: Prepend node-specific prefix path
- RPC: Use virtual paths (see vcluster.py)
- SSH: Pass environment var...
Michael Hanselmann
05:28 pm ganeti-local Revision cffbbae7: Implement virtual cluster support in Python code
- pathutils: Prepend node-specific prefix path
- RPC: Use virtual paths (see vcluster.py)
- SSH: Pass environment var...
Michael Hanselmann
05:20 pm Revision 9340cc2b: vcluster: Add more details to docstrings
As requested by René Nussbaumer. Hopefully things are more clear now.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
05:20 pm ganeti-local Revision 9340cc2b: vcluster: Add more details to docstrings
As requested by René Nussbaumer. Hopefully things are more clear now.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
03:19 pm Revision 92886204: Add tests for bash completion
Given the number of settings that need to be controlled a plain bash
script was a better choice over shelltestrunner....
Michael Hanselmann
03:19 pm ganeti-local Revision 92886204: Add tests for bash completion
Given the number of settings that need to be controlled a plain bash
script was a better choice over shelltestrunner....
Michael Hanselmann
02:14 pm ganeti-local Revision fe19a355: Fix shelltests for ganeti-*
They were never run.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:14 pm Revision fe19a355: Fix shelltests for ganeti-*
They were never run.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:14 pm Revision 893ad76d: bash_completion: Enable extglob while parsing file
In older versions of GNU Bash extended patterns, such as “@(…)”, are only
available with the “extglob” shell option. ...
Michael Hanselmann
02:14 pm ganeti-local Revision 893ad76d: bash_completion: Enable extglob while parsing file
In older versions of GNU Bash extended patterns, such as “@(…)”, are only
available with the “extglob” shell option. ...
Michael Hanselmann
02:14 pm Revision 34dfced1: Revert "bash_completion: Always enable extglob"
This reverts commit 94014b6328f813b674a1126ffd221705d7e315b3. Turns out
I misunderstood the “extglob” shell option.
...
Michael Hanselmann
02:14 pm ganeti-local Revision 34dfced1: Revert "bash_completion: Always enable extglob"
This reverts commit 94014b6328f813b674a1126ffd221705d7e315b3. Turns out
I misunderstood the “extglob” shell option.
...
Michael Hanselmann

09/24/2012

02:49 pm Revision 4ee72287: Adding RAPI resource for multi-allocation
This is straightforward.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@goog...
René Nussbaumer
02:49 pm ganeti-local Revision 4ee72287: Adding RAPI resource for multi-allocation
This is straightforward.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@goog...
René Nussbaumer
02:49 pm Revision d4752785: Adding multi-allocation logic
This patch adds the Logical Unit for the instance multi allocation
opcode.
Signed-off-by: René Nussbaumer <rn@google...
René Nussbaumer
02:49 pm ganeti-local Revision d4752785: Adding multi-allocation logic
This patch adds the Logical Unit for the instance multi allocation
opcode.
Signed-off-by: René Nussbaumer <rn@google...
René Nussbaumer
02:48 pm Revision 12e62af5: Adding the new opcode for multi-allocation
Skeleton for the multi-allocation opcode
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselm...
René Nussbaumer
02:48 pm ganeti-local Revision 12e62af5: Adding the new opcode for multi-allocation
Skeleton for the multi-allocation opcode
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselm...
René Nussbaumer
02:48 pm Revision d353ec8f: Refactor shared code
We've some work which we need to do for the multi allocation request as
well, so lets refactor it to separate functio...
René Nussbaumer
02:48 pm ganeti-local Revision d353ec8f: Refactor shared code
We've some work which we need to do for the multi allocation request as
well, so lets refactor it to separate functio...
René Nussbaumer
02:48 pm Revision 33b4fa9f: Adding some fundamental unittests for iallocator
This test covers the bug fixes found in the previous two patches
Signed-off-by: René Nussbaumer <rn@google.com>
Revi...
René Nussbaumer
02:48 pm ganeti-local Revision 33b4fa9f: Adding some fundamental unittests for iallocator
This test covers the bug fixes found in the previous two patches
Signed-off-by: René Nussbaumer <rn@google.com>
Revi...
René Nussbaumer
02:48 pm Revision 32eae1ec: Fix REQ_RESULT for MultiInstanceAllocRequest
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:48 pm ganeti-local Revision 32eae1ec: Fix REQ_RESULT for MultiInstanceAllocRequest
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:47 pm Revision 69b0d82a: Fix a validation issue
We want to validate the result only if the iallocation run was a
success.
Signed-off-by: René Nussbaumer <rn@google....
René Nussbaumer
02:47 pm ganeti-local Revision 69b0d82a: Fix a validation issue
We want to validate the result only if the iallocation run was a
success.
Signed-off-by: René Nussbaumer <rn@google....
René Nussbaumer

09/21/2012

03:57 pm ganeti-local Revision f6c03932: Add the gnt-storage client
Add a new client called 'gnt-storage'.
The client interacts with the ExtStorage interface, similarly to
the way gnt-o...
Constantinos Venetsanopoulos
03:57 pm ganeti-local Revision 93c8a7b3: ExtStorage support in htools
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
03:57 pm ganeti-local Revision 7fb186d9: Add external storage interface related man pages
* ganeti-extstorage-interface man page
* gnt-storage man page
Signed-off-by: Constantinos Venetsanopoulos <cven@grn...
Constantinos Venetsanopoulos
03:57 pm Revision f6c03932: Add the gnt-storage client
Add a new client called 'gnt-storage'.
The client interacts with the ExtStorage interface, similarly to
the way gnt-o...
Constantinos Venetsanopoulos
03:57 pm Revision 7fb186d9: Add external storage interface related man pages
* ganeti-extstorage-interface man page
* gnt-storage man page
Signed-off-by: Constantinos Venetsanopoulos <cven@grn...
Constantinos Venetsanopoulos
03:57 pm Revision 93c8a7b3: ExtStorage support in htools
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
03:57 pm ganeti-local Revision 8a4368b7: Multiple ExtStorage Providers and ext-params
Add support for passing parameters to the ext template (ext-params).
Take advantage of disk-params, that don't seem t...
Constantinos Venetsanopoulos
03:57 pm ganeti-local Revision 09ec4848: Add --allow-arbit-params to 'gnt-instance modify'
The option is added to allow us the passing of arbitrary ext-params
during disk addition (gnt-instance modify --disk ...
Constantinos Venetsanopoulos
03:57 pm Revision 09ec4848: Add --allow-arbit-params to 'gnt-instance modify'
The option is added to allow us the passing of arbitrary ext-params
during disk addition (gnt-instance modify --disk ...
Constantinos Venetsanopoulos
03:57 pm Revision 8a4368b7: Multiple ExtStorage Providers and ext-params
Add support for passing parameters to the ext template (ext-params).
Take advantage of disk-params, that don't seem t...
Constantinos Venetsanopoulos
03:57 pm ganeti-local Revision 4a5cd37f: Implement the External Storage Interface
With this commit we introduce the External Storage Interface
to Ganeti, abbreviated: ExtStorage Interface.
The ExtSt...
Constantinos Venetsanopoulos
03:57 pm Revision 4a5cd37f: Implement the External Storage Interface
With this commit we introduce the External Storage Interface
to Ganeti, abbreviated: ExtStorage Interface.
The ExtSt...
Constantinos Venetsanopoulos
03:44 pm Revision e91b297c: netutils: Use virtual hostname if set
This enables the hostname seen by other code through Hostname.GetFqdn to
be changed through the environment variable ...
Michael Hanselmann
03:44 pm ganeti-local Revision e91b297c: netutils: Use virtual hostname if set
This enables the hostname seen by other code through Hostname.GetFqdn to
be changed through the environment variable ...
Michael Hanselmann
03:44 pm Revision 8c37d618: daemon-util: Support virtual clusters
GANETI_ROOTDIR contains the root directory for the current “virtual node”.
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
03:44 pm ganeti-local Revision 8c37d618: daemon-util: Support virtual clusters
GANETI_ROOTDIR contains the root directory for the current “virtual node”.
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
03:44 pm Revision 05e733b4: Add new module for virtual clusters
This module will take care of managing paths for virtual clusters.
Unittests are included (100% coverage).
Signed-of...
Michael Hanselmann
03:44 pm ganeti-local Revision 05e733b4: Add new module for virtual clusters
This module will take care of managing paths for virtual clusters.
Unittests are included (100% coverage).
Signed-of...
Michael Hanselmann
03:44 pm Revision 93b19295: bootstrap.SetupNodeDaemon: Stop hardcoding bind address
Commit b43dcc5a11 added support for IPv6. To have the node daemon bind
to an IPv6 address on startup it changed the c...
Michael Hanselmann
03:44 pm ganeti-local Revision 93b19295: bootstrap.SetupNodeDaemon: Stop hardcoding bind address
Commit b43dcc5a11 added support for IPv6. To have the node daemon bind
to an IPv6 address on startup it changed the c...
Michael Hanselmann
03:14 pm ganeti-local Revision 162b1f39: Update the shared storage design document
Update the shared storage design document to reflect the current
changes, after the implementation of the ExtStorage ...
Constantinos Venetsanopoulos
03:14 pm Revision 162b1f39: Update the shared storage design document
Update the shared storage design document to reflect the current
changes, after the implementation of the ExtStorage ...
Constantinos Venetsanopoulos
02:41 pm Revision 298c2e3e: Merge remote branch 'google/stable-2.6' into stable-2.6-esi
Constantinos Venetsanopoulos
12:32 pm ganeti-local Revision fd5b9642: Merge branch 'stable-2.6-esi' into stable-2.6-ippool-hotplug-esi
Constantinos Venetsanopoulos
12:32 pm Revision fd5b9642: Merge branch 'stable-2.6-esi' into stable-2.6-ippool-hotplug-esi
Constantinos Venetsanopoulos
12:28 pm ganeti-local Revision 47342ca6: Check if extstorage's log dir exists
Check if extstorage's log dir exists on the host machine, before
providing a logfile name. We need to be sure the dir...
Constantinos Venetsanopoulos
12:28 pm Revision 47342ca6: Check if extstorage's log dir exists
Check if extstorage's log dir exists on the host machine, before
providing a logfile name. We need to be sure the dir...
Constantinos Venetsanopoulos
12:28 pm ganeti-local Revision 29e43e45: Do not show logfile on ExtStorage's attach error
During attach the logfile is `None'. If the attach script
fails and we try to Tailfile() its logfile, TailFile
breaks...
Constantinos Venetsanopoulos
12:28 pm Revision 29e43e45: Do not show logfile on ExtStorage's attach error
During attach the logfile is `None'. If the attach script
fails and we try to Tailfile() its logfile, TailFile
breaks...
Constantinos Venetsanopoulos
07:07 am Revision 0e1e0b6a: hv_kvm: Use pu.CONF_DIR variable
… instead of using SYSCONFDIR directly.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo ...
Michael Hanselmann
07:07 am ganeti-local Revision 0e1e0b6a: hv_kvm: Use pu.CONF_DIR variable
… instead of using SYSCONFDIR directly.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo ...
Michael Hanselmann
07:07 am Revision 2b3b41df: utils.filelock: Remove executable bit from lock files
There's no need for lock files to be executable.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann
07:07 am ganeti-local Revision 2b3b41df: utils.filelock: Remove executable bit from lock files
There's no need for lock files to be executable.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann
07:07 am ganeti-local Revision df28c49b: LUInstanceCreate: Include group name in error message
“pnode.group” contains the UUID, which isn't very user-friendly.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
07:07 am Revision df28c49b: LUInstanceCreate: Include group name in error message
“pnode.group” contains the UUID, which isn't very user-friendly.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann

09/19/2012

06:12 pm ganeti-local Revision e80aeb89: bash_completion: Generate more compact version
First the numbers:
$ stat --format '%s %n' doc/examples/bash_completion*
77847 doc/examples/bash_completion
86492 doc...
Michael Hanselmann
06:12 pm Revision e80aeb89: bash_completion: Generate more compact version
First the numbers:
$ stat --format '%s %n' doc/examples/bash_completion*
77847 doc/examples/bash_completion
86492 doc...
Michael Hanselmann
04:54 pm ganeti-local Revision 4af458e3: ShellWriter: Add parameter to disable indentation
This will be used to write a more compact bash completion script.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
04:54 pm Revision 4af458e3: ShellWriter: Add parameter to disable indentation
This will be used to write a more compact bash completion script.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
04:54 pm ganeti-local Revision 94014b63: bash_completion: Always enable extglob
In older versions of GNU Bash extended patterns, such as “@(…)” are only
available with the “extglob” shell option. T...
Michael Hanselmann
04:54 pm Revision 94014b63: bash_completion: Always enable extglob
In older versions of GNU Bash extended patterns, such as “@(…)” are only
available with the “extglob” shell option. T...
Michael Hanselmann

09/18/2012

06:11 pm ganeti-local Revision 9eeb0aa5: Use autoconf-based paths from Haskell instead of constants
Future changes will change Path.hs to use an environment variable.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
06:11 pm ganeti-local Revision 9f2265bc: constants: Stop using wildcard import for pathutils
It still needs to be imported for hypervisor parameter defaults, but
after this change paths are no longer exported f...
Michael Hanselmann
06:11 pm Revision 9eeb0aa5: Use autoconf-based paths from Haskell instead of constants
Future changes will change Path.hs to use an environment variable.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
06:11 pm Revision 9f2265bc: constants: Stop using wildcard import for pathutils
It still needs to be imported for hypervisor parameter defaults, but
after this change paths are no longer exported f...
Michael Hanselmann
06:11 pm ganeti-local Revision 57fe4a5b: Migrate lib/watcher/__init__.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm ganeti-local Revision 111a7d04: Migrate lib/utils/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm ganeti-local Revision 3e8dcc8a: Migrate lib/uidpool.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm ganeti-local Revision a56625a2: Migrate test/ganeti.*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm ganeti-local Revision 09bf5d24: Migrate tools/* from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm Revision 09bf5d24: Migrate tools/* from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm Revision 111a7d04: Migrate lib/utils/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm Revision 57fe4a5b: Migrate lib/watcher/__init__.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm Revision a56625a2: Migrate test/ganeti.*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm Revision 3e8dcc8a: Migrate lib/uidpool.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm ganeti-local Revision 7e97aca4: Migrate lib/tools/ensure_dirs.py to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:11 pm Revision 7e97aca4: Migrate lib/tools/ensure_dirs.py to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision f45c5c09: Migrate lib/ssconf.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 8fd1bfa9: Migrate lib/ssh.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 8fd1bfa9: Migrate lib/ssh.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision f45c5c09: Migrate lib/ssconf.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision b3a6f851: Migrate lib/mcpu.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision fe496b25: Migrate lib/ovf.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 4e55af74: Migrate lib/rapi/baserlib.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 80ec9f96: Migrate lib/rpc.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision a5ce2ea2: Migrate lib/server/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision b3a6f851: Migrate lib/mcpu.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision fe496b25: Migrate lib/ovf.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 4e55af74: Migrate lib/rapi/baserlib.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision a5ce2ea2: Migrate lib/server/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 80ec9f96: Migrate lib/rpc.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 9c492c2d: Migrate lib/masterd/instance.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision e2b4a7ba: Migrate lib/{jqueue,jstore}.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision b87ee98f: Migrate lib/luxi.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 9c492c2d: Migrate lib/masterd/instance.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 9d9bded1: Migrate lib/hypervisor/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision e2b4a7ba: Migrate lib/{jqueue,jstore}.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision b87ee98f: Migrate lib/luxi.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 9d9bded1: Migrate lib/hypervisor/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 78e706bb: Migrate lib/client/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 8580cdaf: Migrate lib/cmdlib.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 5a76d5f6: Migrate lib/confd/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 57407093: Migrate lib/config.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 78e706bb: Migrate lib/client/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 8580cdaf: Migrate lib/cmdlib.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 57407093: Migrate lib/config.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 5a76d5f6: Migrate lib/confd/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 710f30ec: Migrate lib/backend.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 7ede9c6a: Migrate lib/bootstrap.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision ee4a14c0: Migrate lib/cli.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision ee4a14c0: Migrate lib/cli.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 7ede9c6a: Migrate lib/bootstrap.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 710f30ec: Migrate lib/backend.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm ganeti-local Revision 13718ded: Migrate build-bash-completion from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
06:09 pm Revision 13718ded: Migrate build-bash-completion from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
05:58 pm Revision 304d9f02: Migrate qa/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
05:58 pm ganeti-local Revision 304d9f02: Migrate qa/*.py from constants to pathutils
File system paths moved from constants to pathutils.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
05:58 pm Revision 3329f4de: constants: Move most paths to separate module
This is inpreparation for the implementation of virtual clusters. Many
paths will change based on an environment vari...
Michael Hanselmann
05:58 pm ganeti-local Revision 3329f4de: constants: Move most paths to separate module
This is inpreparation for the implementation of virtual clusters. Many
paths will change based on an environment vari...
Michael Hanselmann
05:58 pm ganeti-local Revision a6798ce1: configure: Provide options to change default user/group
This is needed for virtual clusters where a non-root user is used to run
the daemons.
Signed-off-by: Michael Hanselm...
Michael Hanselmann
05:58 pm Revision a6798ce1: configure: Provide options to change default user/group
This is needed for virtual clusters where a non-root user is used to run
the daemons.
Signed-off-by: Michael Hanselm...
Michael Hanselmann

09/17/2012

06:51 pm ganeti-local Revision f0a26429: constants: Add missing word in comment
It was missing in commit 243cdbcc on May 7, 2008.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
06:51 pm Revision f0a26429: constants: Add missing word in comment
It was missing in commit 243cdbcc on May 7, 2008.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann

09/14/2012

05:30 pm ganeti-local Revision d55408b0: QA for instance migration made more compact
Also, the value of always_failover is not hard-coded any more, and it's
possible to disable changing the always_failo...
Bernardo Dal Seno
05:30 pm Revision d55408b0: QA for instance migration made more compact
Also, the value of always_failover is not hard-coded any more, and it's
possible to disable changing the always_failo...
Bernardo Dal Seno
05:30 pm ganeti-local Revision b5f0b5cc: Always_failover doesn't require --allow-failover anymore
If an administrator sets always_failover, it means that there is no need
for another explicit approval to failover in...
Bernardo Dal Seno
05:30 pm Revision b5f0b5cc: Always_failover doesn't require --allow-failover anymore
If an administrator sets always_failover, it means that there is no need
for another explicit approval to failover in...
Bernardo Dal Seno
12:22 am Revision cb83e4db: Remove useless lock in recreate-disks
The old primary node was being locked to do RPC, but we don't lock nodes
for RPC anymore, so the lock is useless.
Si...
Bernardo Dal Seno
12:22 am ganeti-local Revision cb83e4db: Remove useless lock in recreate-disks
The old primary node was being locked to do RPC, but we don't lock nodes
for RPC anymore, so the lock is useless.
Si...
Bernardo Dal Seno

09/12/2012

05:56 pm Revision 99721eb4: Update design for virtual clusters
The biggest change is going from a command line parameter for specifying
a daemon's directory to using an environment...
Michael Hanselmann
05:56 pm ganeti-local Revision 99721eb4: Update design for virtual clusters
The biggest change is going from a command line parameter for specifying
a daemon's directory to using an environment...
Michael Hanselmann
04:21 pm Revision e43e78df: Merge remote branch 'google/stable-2.6' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/rpc.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
04:21 pm ganeti-local Revision e43e78df: Merge remote branch 'google/stable-2.6' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/rpc.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
04:15 pm Revision 0e2b7c58: rpc: Remove duplicated logic, fix unittests
Commit 5fce6a89 changed RpcRunner._InstDict to add the disk parameters
on all encoded instances. It didn't remove a s...
Michael Hanselmann
04:15 pm ganeti-local Revision 0e2b7c58: rpc: Remove duplicated logic, fix unittests
Commit 5fce6a89 changed RpcRunner._InstDict to add the disk parameters
on all encoded instances. It didn't remove a s...
Michael Hanselmann
04:14 pm Revision 6953756f: Small style adjustment
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:14 pm ganeti-local Revision 6953756f: Small style adjustment
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:14 pm Revision 3d7d3a12: Make iallocator request types more strict
This adapts the type of some request input fields to more stricter ones.
Signed-off-by: René Nussbaumer <rn@google.c...
René Nussbaumer
04:14 pm ganeti-local Revision 3d7d3a12: Make iallocator request types more strict
This adapts the type of some request input fields to more stricter ones.
Signed-off-by: René Nussbaumer <rn@google.c...
René Nussbaumer
04:14 pm Revision 776b6291: Rework the required_nodes field
This was used to verify the result of instance allocation. However, this
is not logic which belongs to the cmdlib rat...
René Nussbaumer
04:14 pm ganeti-local Revision 776b6291: Rework the required_nodes field
This was used to verify the result of instance allocation. However, this
is not logic which belongs to the cmdlib rat...
René Nussbaumer
03:48 pm ganeti-local Revision 52f93ffd: objects, rpc: Code cleanup
objects.Disk.ComputeLDParams: Simplify structure, don't use and
overwrite local variables.
rpc.AnnotateDiskParams: R...
Michael Hanselmann
03:48 pm Revision 52f93ffd: objects, rpc: Code cleanup
objects.Disk.ComputeLDParams: Simplify structure, don't use and
overwrite local variables.
rpc.AnnotateDiskParams: R...
Michael Hanselmann
02:39 pm Revision 5fce6a89: Annotate disk params on instance_start
We call _GatherAndLinkBlockDevs during the process, which in turn
calls _RecursiveFindBD. This needs disk parameters ...
Constantinos Venetsanopoulos
02:39 pm ganeti-local Revision 5fce6a89: Annotate disk params on instance_start
We call _GatherAndLinkBlockDevs during the process, which in turn
calls _RecursiveFindBD. This needs disk parameters ...
Constantinos Venetsanopoulos
01:48 pm ganeti-local Revision ef86bf28: cmdlib: Handle locking.ALL_SET correctly when copying locks
When locks are copied “locking.ALL_SET” must be handled separately
(ALL_SET has the value None). Reported by Constant...
Michael Hanselmann
01:48 pm Revision ef86bf28: cmdlib: Handle locking.ALL_SET correctly when copying locks
When locks are copied “locking.ALL_SET” must be handled separately
(ALL_SET has the value None). Reported by Constant...
Michael Hanselmann
01:47 pm ganeti-local Revision 6ce90543: RAPI client: Fix typo in docstring
Also update the copyright header.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <...
Michael Hanselmann
01:47 pm Revision 6ce90543: RAPI client: Fix typo in docstring
Also update the copyright header.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <...
Michael Hanselmann
01:33 pm ganeti-local Revision 7d3d24f6: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:27 pm Revision c269efc3: Disable pylint warnings for unknown members
For some reason pylint can't determine, that the members are calculated
upon runtime and complains. This is weird as ...
René Nussbaumer
12:27 pm ganeti-local Revision c269efc3: Disable pylint warnings for unknown members
For some reason pylint can't determine, that the members are calculated
upon runtime and complains. This is weird as ...
René Nussbaumer
12:27 pm Revision 3c049cd3: Adapt gnt-debug iallocator
Add the new multi-alloc request to the test allocation framework. For
now we just create --count identical instances....
René Nussbaumer
12:27 pm ganeti-local Revision 3c049cd3: Adapt gnt-debug iallocator
Add the new multi-alloc request to the test allocation framework. For
now we just create --count identical instances....
René Nussbaumer
12:27 pm Revision b1e47e2d: Adding new multi-allocation request
Now that we've the refactoring done, we can easily add the new mode and
everything works.
Signed-off-by: René Nussba...
René Nussbaumer
12:27 pm ganeti-local Revision b1e47e2d: Adding new multi-allocation request
Now that we've the refactoring done, we can easily add the new mode and
everything works.
Signed-off-by: René Nussba...
René Nussbaumer
12:27 pm Revision 2bbf280e: Switch all iallocator calls to the new one
After the refactor, the old calls are not working anymore, so we switch
to the new ones.
Signed-off-by: René Nussbau...
René Nussbaumer
12:27 pm ganeti-local Revision 2bbf280e: Switch all iallocator calls to the new one
After the refactor, the old calls are not working anymore, so we switch
to the new ones.
Signed-off-by: René Nussbau...
René Nussbaumer
12:27 pm Revision 0fcd0cad: Refactor IAllocator code
The IAllocator class was handling all the requests on its own, passing
in parameters on top level which works, but is...
René Nussbaumer
12:27 pm ganeti-local Revision 0fcd0cad: Refactor IAllocator code
The IAllocator class was handling all the requests on its own, passing
in parameters on top level which works, but is...
René Nussbaumer
12:27 pm ganeti-local Revision 32683096: Make the __slots__ functionality more modular
As we will introduce another set of containers using the __slots__ trick
we abstract away as much as possible to sepa...
René Nussbaumer
12:27 pm Revision 32683096: Make the __slots__ functionality more modular
As we will introduce another set of containers using the __slots__ trick
we abstract away as much as possible to sepa...
René Nussbaumer
12:27 pm ganeti-local Revision b112bfc4: Move _MakeLegacyNodeInfo to rpc
This function will also be needed for the iallocator refactor. Also this
function does not belong to cmdlib but rathe...
René Nussbaumer
12:27 pm Revision b112bfc4: Move _MakeLegacyNodeInfo to rpc
This function will also be needed for the iallocator refactor. Also this
function does not belong to cmdlib but rathe...
René Nussbaumer
12:27 pm Revision 0c77c331: Move _CalculateGroupIPolicy and _ComputeDiskSize
This makes it possible to better untangle the IAllocator code, which
would otherwise lead to a recursive import struc...
René Nussbaumer
12:27 pm ganeti-local Revision 0c77c331: Move _CalculateGroupIPolicy and _ComputeDiskSize
This makes it possible to better untangle the IAllocator code, which
would otherwise lead to a recursive import struc...
René Nussbaumer

09/11/2012

05:18 pm Revision 72ef8df8: Update documentation for "gnt-job list"
Commit f037e9d7 added command line flags to filter jobs, but the
documentation was not updated. Also mention the abil...
Michael Hanselmann
05:18 pm ganeti-local Revision 72ef8df8: Update documentation for "gnt-job list"
Commit f037e9d7 added command line flags to filter jobs, but the
documentation was not updated. Also mention the abil...
Michael Hanselmann

09/08/2012

12:20 am Revision f842aecd: Simplify a bit more the test harness
We can build the test groups directly in the `testSuite' helper,
instead of doing it (much later) in the test harness...
Iustin Pop
12:20 am Revision 44be51aa: Remove the slow/fast tests functionality
Since the recent commits improved the speed of the two "slow" test
groups to regular test speed, we can remove this k...
Iustin Pop
12:20 am Revision c3a8e06d: Fix arbitrary ConfigData object generation
The Cluster object, as it is defined right now, has many '[String]'
members, which means that in a standard arbitrary...
Iustin Pop
12:20 am Revision 9e679143: Improve the `AllocPolicy' test
This test has a few deficiencies, which this patch addresses:
- using arbitrary 1 or 2 node count for allocation is ...
Iustin Pop
12:20 am Revision fb243105: Improve the `CanTieredAlloc' test
Currently, this test is very slow. Upon investigation, this is due to
how `tieredAlloc' works:
- tries to allocate o...
Iustin Pop
12:20 am Revision d83903ee: Add new test for checking multi-allocations
This test expands the "single-alloc-no-rebalance" by allocating a few
instances on a small cluster, and ensuring that...
Iustin Pop
12:20 am Revision 650e5aa4: Improve the prop_Alloc_sane test to detect mis-allocations
Currently, this just checks that a cluster cannot be rebalanced after
a single instance allocation. However, we can a...
Iustin Pop
12:20 am ganeti-local Revision 650e5aa4: Improve the prop_Alloc_sane test to detect mis-allocations
Currently, this just checks that a cluster cannot be rebalanced after
a single instance allocation. However, we can a...
Iustin Pop
12:20 am ganeti-local Revision d83903ee: Add new test for checking multi-allocations
This test expands the "single-alloc-no-rebalance" by allocating a few
instances on a small cluster, and ensuring that...
Iustin Pop
12:20 am ganeti-local Revision fb243105: Improve the `CanTieredAlloc' test
Currently, this test is very slow. Upon investigation, this is due to
how `tieredAlloc' works:
- tries to allocate o...
Iustin Pop
12:20 am ganeti-local Revision f842aecd: Simplify a bit more the test harness
We can build the test groups directly in the `testSuite' helper,
instead of doing it (much later) in the test harness...
Iustin Pop
12:20 am ganeti-local Revision c3a8e06d: Fix arbitrary ConfigData object generation
The Cluster object, as it is defined right now, has many '[String]'
members, which means that in a standard arbitrary...
Iustin Pop
12:20 am ganeti-local Revision 44be51aa: Remove the slow/fast tests functionality
Since the recent commits improved the speed of the two "slow" test
groups to regular test speed, we can remove this k...
Iustin Pop
12:20 am ganeti-local Revision 9e679143: Improve the `AllocPolicy' test
This test has a few deficiencies, which this patch addresses:
- using arbitrary 1 or 2 node count for allocation is ...
Iustin Pop
12:19 am Revision 107102af: Merge branch 'devel-2.6' into submit
* devel-2.6:
Fix bug in non-mirrored instance allocation
Fix gnt-debug iallocator
Signed-off-by: Iustin Pop <ius...
Iustin Pop
12:19 am ganeti-local Revision 107102af: Merge branch 'devel-2.6' into submit
* devel-2.6:
Fix bug in non-mirrored instance allocation
Fix gnt-debug iallocator
Signed-off-by: Iustin Pop <ius...
Iustin Pop
12:13 am Revision 99c7795a: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Fix bug in non-mirrored instance allocation
Fix gnt-debug iallocator
Signed-off-by: Iustin Pop <iu...
Iustin Pop
12:13 am ganeti-local Revision 99c7795a: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Fix bug in non-mirrored instance allocation
Fix gnt-debug iallocator
Signed-off-by: Iustin Pop <iu...
Iustin Pop
12:00 am ganeti-local Revision 14b5d45f: Fix bug in non-mirrored instance allocation
The function `allocateOnSingle' has a bug in the calculation of the
cluster score used for deciding which of the many...
Iustin Pop
12:00 am Revision 14b5d45f: Fix bug in non-mirrored instance allocation
The function `allocateOnSingle' has a bug in the calculation of the
cluster score used for deciding which of the many...
Iustin Pop

09/05/2012

08:18 pm ganeti-local Revision fe48d53c: Do not allow networks with less than 8 hosts
This is only needed in case base64 and bitarray.tostring() is used for
saving reservations. If bitarray.to01() was us...
Dimitris Aragriorgs
08:18 pm Revision fe48d53c: Do not allow networks with less than 8 hosts
This is only needed in case base64 and bitarray.tostring() is used for
saving reservations. If bitarray.to01() was us...
Dimitris Aragriorgs
05:31 pm Revision 51000365: Rework CLI modules and tests
While investigating how we could test the Daemon.hs module, I realised
that we have a very, erm, sub-optimal situatio...
Iustin Pop
05:31 pm Revision 5b11f8db: Further hlint fixes
Commit 2cdaf22, “Re-enable standard hlint warnings”, got it almost
right. The only problem is that (confusingly) the ...
Iustin Pop
05:31 pm ganeti-local Revision 5b11f8db: Further hlint fixes
Commit 2cdaf22, “Re-enable standard hlint warnings”, got it almost
right. The only problem is that (confusingly) the ...
Iustin Pop
05:31 pm ganeti-local Revision 3ce788db: Fix deserialisation bug in ResultEntry
Found via the newly added unit-tests, which test most of the
serialisation code in Query/Language (except for QueryRe...
Iustin Pop
05:31 pm ganeti-local Revision 51000365: Rework CLI modules and tests
While investigating how we could test the Daemon.hs module, I realised
that we have a very, erm, sub-optimal situatio...
Iustin Pop
05:31 pm Revision 3ce788db: Fix deserialisation bug in ResultEntry
Found via the newly added unit-tests, which test most of the
serialisation code in Query/Language (except for QueryRe...
Iustin Pop
05:31 pm Revision 90171729: Add query filter tests
These tests are node specific only because we don't have other query
types implemented yet, but what they actually te...
Iustin Pop
05:31 pm ganeti-local Revision 90171729: Add query filter tests
These tests are node specific only because we don't have other query
types implemented yet, but what they actually te...
Iustin Pop
05:18 pm Revision b9bdc10e: Add some unittests for node queries
These new tests check that:
- no known fields return unknown
- any unknown field returns unknown
- the type of the f...
Iustin Pop
05:18 pm Revision 2e0bb81d: Add a small 'passTest' helper
This is symmetric to failTest, and allows us to use it in cases where
we need to return a property.
While replacing ...
Iustin Pop
05:18 pm Revision 9924d61e: Add entire ConfigData serialisation tests
Using the recently-added genArbitrary, we can now implement Arbitrary
instances for even "huge" objects like Cluster,...
Iustin Pop
05:18 pm Revision 7022db83: Replace manual arbitrary instances with genArbitrary
There are a few more that could be replaces, once we start using
appropriate (new)types.
Signed-off-by: Iustin Pop <...
Iustin Pop
05:18 pm ganeti-local Revision b9bdc10e: Add some unittests for node queries
These new tests check that:
- no known fields return unknown
- any unknown field returns unknown
- the type of the f...
Iustin Pop
05:18 pm ganeti-local Revision 9924d61e: Add entire ConfigData serialisation tests
Using the recently-added genArbitrary, we can now implement Arbitrary
instances for even "huge" objects like Cluster,...
Iustin Pop
05:18 pm ganeti-local Revision 2e0bb81d: Add a small 'passTest' helper
This is symmetric to failTest, and allows us to use it in cases where
we need to return a property.
While replacing ...
Iustin Pop
05:18 pm ganeti-local Revision 7022db83: Replace manual arbitrary instances with genArbitrary
There are a few more that could be replaces, once we start using
appropriate (new)types.
Signed-off-by: Iustin Pop <...
Iustin Pop
05:18 pm ganeti-local Revision 8492daa3: Introduce a helper for simple Arbitrary instances
After getting really annoyed at yet another "<*> arbitrary", I thought
that we should be able to automate this, at le...
Iustin Pop
05:18 pm Revision 8492daa3: Introduce a helper for simple Arbitrary instances
After getting really annoyed at yet another "<*> arbitrary", I thought
that we should be able to automate this, at le...
Iustin Pop
04:58 pm Revision ce93b4a0: Add Instance serialisations tests
This is not perfect, as for many of the parameters we don't have good
Arbitrary instances, but is better than nothing...
Iustin Pop
04:58 pm Revision 63b068c1: Add a test helper for simple JSON serialisation testing
While adding yet another JSON serialisation test, I realised that this
can be trivially abstracted; hence this patch,...
Iustin Pop
04:58 pm Revision 8d2b6a12: Add unit test for serialisation of DiskLogicalId and Nodes
Since the DiskLogicalId type is manually serialised/deserialised (see
Objects.hs, `encodeDLid' and `decodeDLId'), let...
Iustin Pop
04:58 pm ganeti-local Revision 8d2b6a12: Add unit test for serialisation of DiskLogicalId and Nodes
Since the DiskLogicalId type is manually serialised/deserialised (see
Objects.hs, `encodeDLid' and `decodeDLId'), let...
Iustin Pop
04:58 pm ganeti-local Revision ce93b4a0: Add Instance serialisations tests
This is not perfect, as for many of the parameters we don't have good
Arbitrary instances, but is better than nothing...
Iustin Pop
04:58 pm ganeti-local Revision 63b068c1: Add a test helper for simple JSON serialisation testing
While adding yet another JSON serialisation test, I realised that this
can be trivially abstracted; hence this patch,...
Iustin Pop
04:58 pm Revision 1493a93b: Add unittests for the BasicTypes module
This adds test properties for the various laws that the instances of
Result should follow; I could not find (offline)...
Iustin Pop
04:58 pm ganeti-local Revision 1493a93b: Add unittests for the BasicTypes module
This adds test properties for the various laws that the instances of
Result should follow; I could not find (offline)...
Iustin Pop
03:34 pm ganeti-local Revision e09c1fa0: Fixup test suite names
The names were not in a proper hierarchy, leading to inconsistencies
about what they were actually tested.
We change...
Iustin Pop
03:34 pm Revision e09c1fa0: Fixup test suite names
The names were not in a proper hierarchy, leading to inconsistencies
about what they were actually tested.
We change...
Iustin Pop
03:34 pm Revision 20bc5360: Simplify property and test case names
Since we now have separate namespaces due to the multi-file split, we
don't need to keep the name of the module in th...
Iustin Pop
03:34 pm ganeti-local Revision 20bc5360: Simplify property and test case names
Since we now have separate namespaces due to the multi-file split, we
don't need to keep the name of the module in th...
Iustin Pop
03:33 pm Revision 2997cb0a: Move Version.hs up from under HTools/
This is another module that is generic, and not htools-specific.
Signed-off-by: Iustin Pop <iustin@google.com>
Revie...
Iustin Pop
03:33 pm ganeti-local Revision 2997cb0a: Move Version.hs up from under HTools/
This is another module that is generic, and not htools-specific.
Signed-off-by: Iustin Pop <iustin@google.com>
Revie...
Iustin Pop
01:49 pm Revision 662de722: Two tiny makefile fixes
During the recent moves and renames, two things have slipped through,
since I didn't run make check-local…
Signed-of...
Iustin Pop
01:49 pm ganeti-local Revision 662de722: Two tiny makefile fixes
During the recent moves and renames, two things have slipped through,
since I didn't run make check-local…
Signed-of...
Iustin Pop
« Previous
Next »
 

Also available in: Atom