Activity

From 09/06/2012 to 10/05/2012

10/05/2012

11:34 pm Revision 8a6dbce8: bdev: Remove unnecessary empty line
My local pylint didn't complain.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Sen...
Michael Hanselmann
07:32 pm Revision 50c1e351: Better list of replace-disks arguments + typos fixed
The man page and the bultin-in help for gnt-instance replace-disks were
inconsistent. Also fixed some typos in man pa...
Bernardo Dal Seno
07:27 pm Revision 3439fd6b: Check fingerprint of file with allowed file storage paths
This makes differences show up in “gnt-cluster verify”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
07:23 pm Revision 43a8f36a: Explicitly ask for the default iallocator in commands
Now "gnt-instance recreate-disks" uses the default iallocator when "." is
specified as the iallocator. For uniformity...
Bernardo Dal Seno
07:23 pm Revision 1a770ce5: Document the support for default iallocator
Updated the man pages for the commands that accept an iallocator: "." means
the default iallocator.
Signed-off-by: B...
Bernardo Dal Seno
07:23 pm Revision cc4b14f0: Instance QA uses default iallocator
QA for recreate-disk and replace-disks now run also with the default
iallocator.
Signed-off-by: Bernardo Dal Seno <b...
Bernardo Dal Seno
07:23 pm Revision 52ecc063: Support for the default iallocator in replace-disks
"gnt-instance replace-disks" now behaves like the other commands, and uses
the default iallocator when "." is passed ...
Bernardo Dal Seno
07:22 pm Revision fbdac0d9: bdev: Add functions to verify file storage paths
- LoadAllowedFileStoragePaths: Loads a list of allowed file storage
paths from a file
- CheckFileStoragePath: Check...
Michael Hanselmann
07:14 pm Revision e4cf42d4: jqueue: Look at archived jobs when watching
First: This enables the use of “gnt-job watch $id” for archived jobs.
Now, the reason for actually making this work ...
Michael Hanselmann
06:46 pm Revision 04569469: jqueue: Look at archived jobs when watching
First: This enables the use of “gnt-job watch $id” for archived jobs.
Now, the reason for actually making this work ...
Michael Hanselmann
03:16 pm Revision 4ff32a35: Design doc for partitioned Ganeti
Partitioned Ganeti allows to assign node resources in an exclusive manner,
in order to limit interference between ins...
Bernardo Dal Seno
05:17 am Revision 63a3d8f7: backend: Check for shared storage also
If normal file storage was disabled but shared storage enabled,
“_TransformFileStorageDir” would still throw an excep...
Michael Hanselmann
04:52 am Revision 6a9b9778: utils.FilterEmptyLinesAndComments: Return list
We don't use generators often and lists are easier to re-use.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
...
Michael Hanselmann
04:50 am Revision 555b6cb1: Improve disk wipe unit test
- Don't hardcode node name in some places
- Don't define functions inside functions
- Simplify code for testing with ...
Michael Hanselmann
04:50 am Revision fa8ef9d6: Wipe added space when growing disks
This patch adds code to wipe newly added disk space when growing disks
using “gnt-instance grow-disk”. “New disk spac...
Michael Hanselmann
04:50 am Revision 129cce69: Add unit tests for cmdlib._WipeDisks
This is in preparation for adding disk wipe on growing disks.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
...
Michael Hanselmann

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
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
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: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
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

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
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: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
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
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

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
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: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: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
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
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
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

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/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: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
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: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 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
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: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
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 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 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 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

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 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 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 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
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: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
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
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 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: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: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

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 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 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 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 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 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 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 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 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 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 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
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: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 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 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 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
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 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: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
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
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 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 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 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 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

09/21/2012

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 93c8a7b3: ExtStorage support in htools
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> 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 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 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 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 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 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 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
12:32 pm Revision fd5b9642: Merge branch 'stable-2.6-esi' into stable-2.6-ippool-hotplug-esi
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

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
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: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: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 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
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
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 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 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 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 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 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 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

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

09/08/2012

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 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 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 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 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 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: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: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: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
« Previous
Next »
 

Also available in: Atom