Activity

From 09/28/2011 to 10/27/2011

10/27/2011

09:52 pm Revision 0d1e78dd: rpc: Remove leftovers from timeout table
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
09:52 pm Revision ee14d800: config: Add unlocked function to get all node objects
This will be used for resolving node names.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
Michael Hanselmann
07:03 pm Revision 95440548: Update NEWS for 2.5.0~rc4
I forgot this in the previous patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Andrea Spada...
Michael Hanselmann
04:52 pm Revision 7b612b95: Bump version to 2.5.0~rc4
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
04:47 pm Revision dd228197: Merge branch 'stable-2.4' into stable-2.5
* stable-2.4:
Update NEWS and increase to 2.4.5
Conflicts:
configure.ac: Trivial
Signed-off-by: Michael Hanselma...
Michael Hanselmann
04:33 pm Revision 0f51bc8d: Merge branch 'devel-2.4' into devel-2.5
Conflicts:
configure.ac (trivial)
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <h...
René Nussbaumer
04:26 pm Revision 719f8fba: jqueue: Allow zero jobs to be submitted at once
If cmdlib.LUNodeMigrate was called for a node without primary instances
it would try to submit an empty list of jobs....
Michael Hanselmann
04:05 pm Revision 7b790a6a: Update NEWS and increase to 2.4.5
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
12:31 pm Revision 3fc210de: Fix parameters of RpcResult in hooks unit tests
In FakeHooksRpcSuccess, the data parameter of the RpcResult constructor
was not enclosed in a tuple. While this does ...
Andrea Spadaccini

10/26/2011

06:13 pm Revision 5c3ee7b2: Fix RPC unittest
Add missing “read_timeout” value.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius...
Michael Hanselmann
05:35 pm Revision 5f828ce4: Generalize the generation of ADT from raw types
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
05:35 pm Revision 260d0bda: Luxi support for Query status in htools
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
12:59 pm Revision 07abe80a: hail: don't select the primary as new secondary
This just adds the primary node of the instance as 'non-allocable'
during the choosing of the new secondary.
Signed-...
Iustin Pop
12:59 pm Revision e0baa26f: hail: add an extra safety check in relocate
If we select the primary as new secondary, better to fail than return
wrong data to Ganeti.
Signed-off-by: Iustin Po...
Iustin Pop
12:06 pm Revision b355affb: Fix a too long line.
That's what you get for not running make lint :(
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin ...
René Nussbaumer
11:53 am Revision 4fbe3851: rpc: Remove _Static* and other unused functions
These are no longer needed.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@go...
Michael Hanselmann
11:53 am Revision 415a7304: rpc: Convert last two calls to generated code
These two calls, “upload_file” and “write_ssconf_files” are treated
separated as they're used by the configuration, w...
Michael Hanselmann
11:53 am Revision 68959ca5: rpc: Convert call for HV parameter validation
Instead of filling the parameters in the RPC layer, that is now done
before the wrapper is called, thereby simplifyin...
Michael Hanselmann
11:53 am Revision c4de9b7a: rpc: Convert two more instance-specific calls
Interface changes were necessary as these took more parameters than were
actually passed over the wire. Those paramet...
Michael Hanselmann
11:53 am Revision db04ce5d: Move bootstrap-related RPC to generated wrappers
With this patch, only 6 RPC are left as old-style code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
11:53 am Revision fb1ffbca: Convert job queue's RPC to generated code
With these changes job queue RPC will finally show up on the lock
monitor. See below for an example. A job queue-spec...
Michael Hanselmann
11:53 am Revision 46c293f0: rpc: Convert wrappers for starting import/export daemons
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision f69b367e: rpc: Convert storage-related calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision e437117f: rpc: Convert blockdev-related calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision 2effde8d: rpc: Convert instance-related calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision 0436da49: rpc: Convert misc calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision 83816869: rpc: Convert file-storage-related calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision d6cf4107: rpc: Convert node-related calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision 4522a96d: rpc: Convert OS-related calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:53 am Revision 54498047: rpc: Convert X509 calls
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:52 am Revision 9834e2bc: rpc: Convert import/export functions
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:51 am Revision efc71a02: rpc: Add helpers
These will be used by the generated RPC wrappers.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
11:51 am Revision 200de241: rpc: Add support for generated RPC wrappers
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:51 am Revision 033684dd: Add RPC definitions
These will be used for replacing the tons and tons of boilerplate code
in rpc.py.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
11:51 am Revision d565f83f: rpc_definitions: Add helpers
These helpers will be used to convert incoming parameters to
JSON-compatible types.
Signed-off-by: Michael Hanselman...
Michael Hanselmann
11:51 am Revision 83e7af18: rpc: Disable timeout check
This is in preparation for the definition-based RPC model, where
the timeout will be stored within the definition.
S...
Michael Hanselmann
11:51 am Revision d5a2a550: Add script to generate RPC wrappers
A new script, “autotools/build-rpc”, will be used to generate code for
RPC client wrappers. This is done because “lib...
Michael Hanselmann
11:42 am Revision 9c2b3a70: Move RenameFile to the new functions
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
11:42 am Revision b81b3c96: ensure_dirs: Move some useful functions into utils.
With this change we can easily reuse this functionality where it makes
sense on other parts of Ganeti.
Signed-off-by...
René Nussbaumer
10:24 am Revision 0469fd96: Small resource model design update re console
Starting with Ganeti 2.5 the console uses a query and no longer acquires
locks. See commit d6f46b6a94.
Signed-off-by...
Michael Hanselmann
10:19 am Revision f39d39b6: Bump version to 2.5.0~rc3
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:06 am Revision 59da826f: cmdlib: Use constant for DRBD meta device size
… instead of a hardcoded value.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iusti...
Michael Hanselmann

10/25/2011

05:05 pm Revision af5af644: Use JoinDisjointDicts in mcpu
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Andrea Spadaccini
05:05 pm Revision cdf71b12: Add the JoinDisjointDicts function to utils.algo
Add a function that joins two dictionaries, enforcing the constraint
that the two key sets should be disjoint. Also, ...
Andrea Spadaccini

10/24/2011

08:02 pm Revision 8a31717c: Fix parameters to RPC "blockdev_rename"
Before this patch it would take a variable number of arguments, which
isn't very good for a definition-based approach...
Michael Hanselmann
08:02 pm Revision c5a8b0eb: Fix parameters to RPC "os_validate"
All other RPC wrappers take the node name(s) as the first parameter.
Signed-off-by: Michael Hanselmann <hansmi@googl...
Michael Hanselmann
03:50 pm Revision 5fe4a65b: Un-revert comments in utils.mlock
These updates and clarifications are still useful.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
03:50 pm Revision ee8fd7b7: Remove “node_tcp_ping” RPC
It is not used anywhere.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@googl...
Michael Hanselmann
03:49 pm Revision dce20078: utils.ShellWriter: Don't indent empty lines
Empty lines shouldn't get indented. Unittest included.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann

10/21/2011

04:16 pm Revision 97298dc9: Merge branch 'stable-2.5' into devel-2.5
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:00 pm Revision 833391a0: Merge branch 'devel-2.4' into stable-2.5
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
01:58 pm Revision bac6ea51: http.client: Remove use of PycURL's “reset” function
We don't re-use cURL objects anymore, so there's no need to reset them.
PycURL 7.19.0 has a reference counting bug le...
Michael Hanselmann
01:58 pm Revision 4fd2660d: Add unittest for PycURL 7.19.0's reset issue
While we won't use this function in Ganeti (yet), users should be aware
of the potential crashes caused by this funct...
Michael Hanselmann

10/20/2011

06:21 pm Revision e68949b0: ovfconverter: use qemu-img path from constants
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Agata Murawska
04:30 pm Revision 73ebb9ff: Merge branch 'devel-2.5'
* devel-2.5:
Allow per-hypervisor optional files
Add hypervisors ancillary files list
xen: abstract a few hardc...
Guido Trotter
03:43 pm Revision 8e5a705d: Fix queue archive creation with wrong permissions
On a master failover some of the archive dirs might have wrong
permissions in the non-root model. This is due to the ...
René Nussbaumer
03:14 pm Revision 487895ed: Fix for buildbot pylint failure
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:04 pm Revision 0ad1ea40: Allow per-hypervisor optional files
Rather than just allowing files for all nodes to be optional, we allow
optional files to be per-category. The way thi...
Guido Trotter
03:04 pm Revision 69ab2e12: Add hypervisors ancillary files list
These lists will be used to declare some of the files not necessarily
needed on all nodes. The files selected are fil...
Guido Trotter
03:04 pm Revision 22d568c2: xen: abstract a few hardcoded strings as constants
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
02:25 pm Revision a002ed79: Check for qemu-img in configure and Makefile
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-b...
Agata Murawska
01:14 pm Revision b3ed0d9a: configure: fix for two version of QuickCheck present
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
12:32 pm Revision da4fd3b0: Upload spice files in redist-conf
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
12:22 pm Revision 8dc76d54: Revert "Rename utils.mlock to utils.cfunc"
The rename is not needed either, since we're not adding more code as of
now.
This reverts commit 57ca011e1cd268194896...
Guido Trotter
12:22 pm Revision 142c1ad0: Revert "utils.cfunc: Cleanup, more flexibility"
We discussed that this is not needed right now, and it breaks existing
functionality and unittests.
This reverts com...
Guido Trotter
11:58 am Revision d6f8db24: Fix unittest failures with python 2.7
In python 2.7 the ovf unittests fail because OVFReader expects
ElementTree.parse() of an erroneous document to throw ...
Guido Trotter

10/19/2011

05:52 pm Revision 69f78cf7: Ensure permission on the job queue version file
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:47 pm Revision 6973587f: OpGroupVerifyDisks: Fix wrong result type declaration
If an instance had actually a missing disk, the type check would fail.
Signed-off-by: Michael Hanselmann <hansmi@goo...
Michael Hanselmann

10/18/2011

06:29 pm Revision 0b58db81: RAPI: Make node evacuation actually work
Commit e1f23243 changed te LU and opcode for node evacuation to receive
a “mode” parameter (among other things). Comm...
Michael Hanselmann
06:10 pm Revision 8b8f54dd: Merge branch 'devel-2.5'
* devel-2.5:
Revert "rapi.client.ModifyNode should PUT rather than POST"
- also fix the actual call, which was ...
Guido Trotter
06:05 pm Revision e366273a: Revert "rapi.client.ModifyNode should PUT rather than POST"
This was a mistake on my side because ModifyGroup and ModifyInstance
were PUT, and I was not aware of the discussion ...
Guido Trotter
05:37 pm Revision a867283d: Bump version to 2.5.0~rc2
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:25 pm Revision 46a10518: Merge branch 'devel-2.5'
* devel-2.5:
Revert "Added SPICE TLS option and related cert paths"
Revert "Implementation of TLS-protected SPICE...
Guido Trotter
05:21 pm Revision 1027b01f: Revert "Updated man pages with new SPICE TLS options"
This reverts commit b8a10435271ec4457cdc254e0a6b466b2d3bff24.
This commit will be readded on master.
Signed-off-by: ...
Guido Trotter
05:21 pm Revision 0aee8ee9: Revert "Implementation of TLS-protected SPICE connections"
This reverts commit b6267745ede04b3c943bc02e004bdb9347e0f564.
This commit will be readded on master.
Signed-off-by: ...
Guido Trotter
05:21 pm Revision 9849cec7: Revert "Added SPICE TLS option and related cert paths"
This reverts commit bfe86c763a9ff1b481d799537ff0f0cf6740dfd1.
This commit will be readded on master.
Signed-off-by: ...
Guido Trotter
05:21 pm Revision 53328375: Revert "Add tls_ciphers and use_vdagent options"
This reverts commit 3e40b5879fa0070d6dd0e689dcfc31f20198a5a8.
This commit will be readded on master.
Signed-off-by: ...
Guido Trotter
04:51 pm Revision 16390b4b: Merge branch 'devel-2.4' into stable-2.5
* devel-2.4:
Update NEWS for unreleased 2.4.5
Conflicts:
NEWS: Trivial
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
04:00 pm Revision 682878d9: Merge branch 'devel-2.5'
* devel-2.5:
rapi.client.ModifyNode should PUT rather than POST
Fix RAPI node modify client and server calls
xe...
Guido Trotter
03:56 pm Revision 55ef0cf6: rapi.client.ModifyNode should PUT rather than POST
This was caught (albeit in a sibylline manner) by unittests on master
which are not present in 2.5.
Signed-off-by: G...
Guido Trotter
02:44 pm Revision ac0abc56: Update NEWS for unreleased 2.4.5
I need this for another 2.5 release.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbau...
Michael Hanselmann
01:45 pm Revision 370f2042: Fix RAPI node modify client and server calls
rapi.client.ModifyNode accepts a "group" and not a "node" param.
(this bug is invisible but still not nice)
rlib2.R_...
Guido Trotter

10/17/2011

06:39 pm Revision 6555373d: xen: changes to facilitate "xl" support (xen 4.1)
- Copy the xl config file, in case there's any
- Start instances by config file, not name (also xm compatible)
- Star...
Guido Trotter
06:39 pm Revision 2876c2d6: Abstract xen's 'xm' command as a constant
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
06:39 pm Revision c2be2532: xen: abstract instance config file naming
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
06:05 pm Revision 6915fe26: utils.cfunc: Cleanup, more flexibility
- Split code using ctypes directly into a helper class
- Don't load “libc.so.6”, but use handle for main program inst...
Michael Hanselmann
06:05 pm Revision 57ca011e: Rename utils.mlock to utils.cfunc
Renaming so that more code using ctypes could be added to the same file.
Signed-off-by: Michael Hanselmann <hansmi@g...
Michael Hanselmann
04:58 pm Revision 539d65ba: RAPI: Fix resource for replacing disks
Commit d1c172deb4f inadvertently changes the
“/2/instances/[instance_name]/replace-disks” resource to use body
parame...
Michael Hanselmann

10/14/2011

01:37 pm Revision 6b898285: Add design doc for virtual(ised) clusters
I am currently able to run a 2-node virtual cluster on my machine,
with a very ad-hoc setup. But the results show cle...
Iustin Pop
01:37 pm Revision ef958f2a: Document some useful Haskell tips
This improves devnotes.rst with some tricks for Haskell development,
and additionally it does two Makefile improvemen...
Iustin Pop
01:37 pm Revision e86f7f65: Further cleanup in hspace
This moves the checking of results from the allocation functions to a
separate function, so that we have less code du...
Iustin Pop
01:37 pm Revision 5296ee23: A bit of cleanup in hspace
The node offline/mcpu is identical to hbal's setNodesStatus, so let's
move that to CLI.hs and reuse it in hspace (als...
Iustin Pop
01:37 pm Revision d12f50b2: htools: Simplify Luxi query results parsing
The logic is not entirely correct—the new Query interface exports the
field status, and we don't use that yet. But th...
Iustin Pop
01:37 pm Revision 7eda951b: Add a type synonym for the allocation function sig
Both iterateAlloc and tieredAlloc share the same signature, but it's
not documented nor exported (needed for refactor...
Iustin Pop
01:37 pm Revision b20cbf06: Adjust htools code to new Luxi argument format
This partially undoes commit 92678b3, more specifically it removes the
Store data type and the associated code, since...
Iustin Pop

10/13/2011

06:00 pm Revision c22d3bce: Fix RAPI documentation build
*mumble*
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:40 pm Revision 8de8e68d: rapi: Allow auto-promotion on node role change
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:40 pm Revision 94497dd1: rapi: Add resource for modifying node
A separate patch will add “auto-promote” through
“/2/nodes/[node_name]/role”.
Signed-off-by: Michael Hanselmann <han...
Michael Hanselmann
05:40 pm Revision b3d2ee31: opcodes: Add comment to *SetParams result description
Explicitely say that the second element of the tuple is the new value.
Signed-off-by: Michael Hanselmann <hansmi@goo...
Michael Hanselmann
05:40 pm Revision b8d51bb2: constants: Verify exported names
The “constants” module is a bit special in the sense that we don't want
to export random stuff from it. This unittest...
Michael Hanselmann
03:22 pm Revision abbf2cd9: http.client: Remove HTTP client pool code
This patch removes all remains of the HTTP client pool. Newly added unittests
provide 96% coverage on http.client.
S...
Michael Hanselmann
03:22 pm Revision 7071e725: rpc: Remove thread-local storage with HTTP pool
The HTTP pool is no longer used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iust...
Michael Hanselmann

10/12/2011

02:51 pm Revision 00976304: Merge branch 'devel-2.5'
* devel-2.5:
rpc: Disable HTTP client pool and reduce memory consumption
Preserve bridge MTU in KVM ifup script
...
Michael Hanselmann
02:36 pm Revision 727274dd: Tiny optimisation related to filter parsing
Currently, we get a luxi Client, then parse the filter, then execute
the query. If parsing the filter fails, we conne...
Iustin Pop
02:35 pm Revision 5b0ac1a5: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
rpc: Disable HTTP client pool and reduce memory consumption
hail: Fix result for node evacuation
...
Michael Hanselmann
02:01 pm Revision a629ecb9: Standardise LUXI call argument types
Currently, we have 4 types of arguments in LUXI calls:
- most common, a list of values
- a single argument that is s...
Iustin Pop
02:01 pm Revision 2e5c33db: Rename filter and filter_ to qfilter
We currently use 'filter' as the OpCode, QueryRequest and RAPI field
name for representing a query filter. However, s...
Iustin Pop
02:01 pm Revision 58f6738c: Merge branch 'devel-2.4' into stable-2.5
* devel-2.4:
rpc: Disable HTTP client pool and reduce memory consumption
Fix assertion error on unclean master sh...
Michael Hanselmann
01:56 pm Revision 05927995: rpc: Disable HTTP client pool and reduce memory consumption
We noticed that “ganeti-masterd” can use large amounts of memory,
especially on large clusters. Measurements showed a...
Michael Hanselmann
11:47 am Revision 92678b3c: Haskell support for generic Query in Luxi
Untill now htools did not have support for generic Query in Luxi. This
patch introduces Query as a supported Luxi ope...
Iustin Pop
11:47 am Revision 9d74cb04: TH simplification for Luxi
This patch simplifies the generation of save constructors for LuxiOp
by always using showJSON over an array of JSValu...
Agata Murawska
10:49 am Revision 05ff7a00: Dots in docstings and hlint error fixes for htools
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: I...
Agata Murawska
10:25 am Revision d85f01e7: Add design doc for the resource model changes
This is not complete, but is as close as I can get it for now. I
expect people actually implementing the various chan...
Iustin Pop

10/11/2011

05:38 pm Revision a1ec8695: Preserve bridge MTU in KVM ifup script
Closes: #201 - KVM_IFUP does not set bridge-MTU on tap devices
Signed-off-by: Andrea Spadaccini <spadaccio@google.com...
Andrea Spadaccini
11:25 am Revision e19ee6e4: Remove the oneline output option in hbal
This was, AFAIK, never used, and complicates the output code enough
that it's better to remove it.
Signed-off-by: Iu...
Iustin Pop
11:24 am Revision 5dad2589: Rework/split hbal's main function
This is just moving code around. A subsequent patch will do a bit more
cleanup and changing the output.
Signed-off-b...
Iustin Pop
11:23 am Revision 60de49c3: Skip application of 'id' in TH code
This is just beautification when dumping splices to stdout, as ghc
will optimise the 'id' away anyway.
Original gene...
Iustin Pop

10/07/2011

08:02 pm Revision 9888b9e6: Don't send gratuitous ARP if master IP setup fails
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Andrea Spadaccini
02:19 pm Revision 12637df5: Generalize docpp and sphinx_ext
autotools/docpp
* handle generic custom directives in the form <class>_<kind>
* adapt handling of query fields
build...
Andrea Spadaccini
02:19 pm Revision 830fc5da: Document --ignore-errors and --error-codes
Update the man page of gnt-cluster to contain the documentation of the
--ignore-errors and --error-codes verify optio...
Andrea Spadaccini
02:19 pm Revision 3ac3f5e4: Add error codes documentation
lib/constants.py
* add to each CV_E* tuple the documentation of the error code
* add the DOCUMENTED_CONSTANTS constan...
Andrea Spadaccini
01:00 pm Revision 1ab94e48: hail: Fix result for node evacuation
According to the iallocator documentation the “node-evacuate” call needs
to return a list of jobs, not a list of list...
Michael Hanselmann

10/06/2011

11:21 am Revision a0090487: Use TemplateHaskell to create LUXI operations
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska

10/05/2011

06:30 pm Revision fa337742: Fixes for ovfconverter + vmware
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
06:30 pm Revision a17deeab: Documentation update for ovfconverter
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:17 pm Revision 980d1330: Demote to warnings the errors in --ignore-errors
Treat the gnt-cluster verify errors identified by the error codes in
--ignore-errors as warnings; just print a warnin...
Andrea Spadaccini
03:17 pm Revision 93f2399e: Add --ignore-errors parameter to cluster verify
lib/cli.py
- add IGNORE_ERROR_OPT;
client/gnt_cluster.py
- pass the ignore_errors parameter to the opcodes
lib/opco...
Andrea Spadaccini
03:17 pm Revision eedf99b5: Move cluster verify error codes to constants
- move the cluster verify error codes from cmdlib._VerifyErrors to
constants;
- add to each of them the CV (Cluster...
Andrea Spadaccini
02:48 pm Revision 909b3a0e: Restore backend.GetMasterInfo return values order
Change 5a8648eb609f7e3a8d7ad7f82e93cfdd467a8fb5 changed the order of the
return values of backend.GetMasterInfo(). Th...
Andrea Spadaccini
12:05 pm Revision 5a8648eb: Add cluster netmask parameter
Add the master_netmask cluster parameter, that represents the netmask of
the master IP, encoded as a CIDR suffix.
Th...
Andrea Spadaccini
12:05 pm Revision 7df2c4f0: Add ValidateNetmask and GetClass IPAddress methods
Add the following methods to netutils.IPAddress:
* ValidateNetmask
* GetClassFromIpVersion
* GetClassFromIpFamily
Al...
Andrea Spadaccini

10/04/2011

09:34 pm Revision ea9c753d: Merge branch 'devel-2.5'
* devel-2.5:
cluster-merge: log an info message at node readd
Bump version to 2.5.0~rc1
Fix issue when verifyin...
Andrea Spadaccini
09:32 pm Revision a080bab8: Merge branch 'stable-2.5' into devel-2.5
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Andrea Spadaccini
09:12 pm Revision 419bb2ef: cluster-merge: log an info message at node readd
node readd can take a long time, it's good to have info messages to see
progress.
Signed-off-by: Guido Trotter <ultr...
Guido Trotter
04:10 pm Revision 07cea902: Bump version to 2.5.0~rc1
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:35 am Revision 9822b1dd: Fix Makefile rules for QCHelper.hs
Include QCHelper.hs in the distributed files, and also exclude it and
the THH.hs file from coverage reports.
Signed-...
Iustin Pop
11:33 am Revision 170b02b7: Fix issue when verifying cluster files
If a cluster has any non-master-candidate nodes, those don't contain all
files (e.g. config.data). With commit aef59a...
Michael Hanselmann

10/03/2011

01:52 pm Revision d728ac75: Revert "utils.log: Write error messages to stderr"
This reverts commit 34aa8b7c4bb6f5e2e788108e024c9cd70bdb3431. Writing
error messages to stderr would also include bac...
Michael Hanselmann
01:52 pm Revision ca6b16e5: Fix adding nodes after commit 64c7b3831dc
Commit 64c7b3831dc changed the RPC call for verifying SSH connections.
Unfortunately this case in adding nodes was mi...
Michael Hanselmann
12:17 pm Revision 53664e15: Some TH simplifications
Now that the basic code works, let's use some aliases for simpler code
and less ))))))))).
Signed-off-by: Iustin Pop...
Iustin Pop
12:17 pm Revision 72bb6b4e: A few minor test improvements
This patch adds a few niceties to the test suite:
- allows matching test groups case insensitive and emit warnings w...
Iustin Pop
12:17 pm Revision 23fe06c2: Use TemplateHaskell to decorate tests with names
This makes error message change from "Test 4 failed …" to "Test
prop_Loader_mergeData failed", which is much more rea...
Iustin Pop
12:17 pm Revision 12c19659: Use TemplateHaskell to generate opcode serialisation
This replaces the hand-coded opcode serialisation code with
auto-generation based on TemplateHaskell.
Signed-off-by:...
Iustin Pop
12:17 pm Revision 6111e296: Use TemplateHaskell to build the opID function
This replaces the hand-coded opID with one automatically generated
from the constructor names, similar to the way Pyt...
Iustin Pop
12:17 pm Revision e9aaa3c6: Use TemplateHaskell instead of hand-coded instances
This patch replaces the current hard-coded JSON instances (all alike,
just manual conversion to/from string) with aut...
Iustin Pop
12:17 pm Revision 2c9336a4: Rename some helper functions for consistency
This changes the names for some helper functions so that future
patches are touching less unrelated code. The change ...
Iustin Pop
12:16 pm Revision f047f90f: Split part of Utils.hs into JSON.hs
Utils is a bit big, let's split the JSON stuff (not all of it) into a
separate module that doesn't have any other dep...
Iustin Pop

09/30/2011

07:04 pm Revision 64c7b383: LUClusterVerifyGroup: Spread SSH checks over more nodes
When verifying a group the code would always check SSH to all nodes in
the same group, as well as the first node for ...
Michael Hanselmann
06:47 pm Revision 11705e3d: Optimise cli.JobExecutor with many pending jobs
In the case we submit many pending jobs (> 100) to the masterd, the
JobExecutor 'spams' the master daemon with status...
Iustin Pop
06:23 pm Revision 3398bff1: Merge branch 'devel-2.5'
* devel-2.5:
Use --yes to deactivate master ip in cluster merge
Use deactivate-master-ip in cluster-merge
Add g...
Andrea Spadaccini
05:45 pm Revision cea3abbd: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
listrunner: Don't pass arguments if there are none
ssh: Quote strings in error message
utils.log:...
Andrea Spadaccini
04:37 pm Revision aeb24d97: Use --yes to deactivate master ip in cluster merge
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Andrea Spadaccini <spadaccio@google.com>
Guido Trotter
03:43 pm Revision a3fad332: Use deactivate-master-ip in cluster-merge
Use the gnt-cluster deactivate-master-ip command in cluster-merge to
disable the master IP.
Signed-off-by: Andrea Sp...
Andrea Spadaccini
03:43 pm Revision fb44c6db: Add gnt-cluster commands to toggle the master IP
lib/client/gnt_cluster.py:
* Add activate-master-ip and deactivate-master-ip commands
man/gnt-cluster.rst:
* Documen...
Andrea Spadaccini
03:42 pm Revision c06e0c83: Split starting and stopping master IP and daemons
lib/backend.py
* split StartMaster() in ActivateMasterIp() and StartMasterDaemons()
* split StopMaster() in Deactivat...
Andrea Spadaccini
02:06 pm Revision e87e5afb: Use deactivate-master-ip in cluster-merge
Use the gnt-cluster deactivate-master-ip command in cluster-merge to
disable the master IP.
Signed-off-by: Andrea Sp...
Andrea Spadaccini
02:06 pm Revision fb926117: Add gnt-cluster commands to toggle the master IP
lib/client/gnt_cluster.py:
* Add activate-master-ip and deactivate-master-ip commands
man/gnt-cluster.rst:
* Documen...
Andrea Spadaccini
02:05 pm Revision fb460cf7: Split starting and stopping master IP and daemons
lib/backend.py
* split StartMaster() in ActivateMasterIp() and StartMasterDaemons()
* split StopMaster() in Deactivat...
Andrea Spadaccini
01:10 pm Revision 0c009cc5: listrunner: Don't pass arguments if there are none
If no arguments were specified the “exec_args” variable was “None”,
leading to the command being run as “… ./… None”....
Michael Hanselmann
01:10 pm Revision 9dc45ab1: ssh: Quote strings in error message
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
01:10 pm Revision 34aa8b7c: utils.log: Write error messages to stderr
When “gnt-cluster copyfile” failed it would only print “Copy of file …
to node … failed”. A detailed message is writt...
Michael Hanselmann
12:27 pm Revision 2b634302: Add signal handling doc to hbal man page
Also remove a bug note, since hbal can now for a long time directly
execute jobs.
Signed-off-by: Iustin Pop <iustin@...
Iustin Pop

09/29/2011

12:41 pm Revision 60af751d: Adapt non-KVM hypervisors to new migration RPCs
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Andrea Spadaccini
12:41 pm Revision 61643226: Add memory transfer progress info to migration
* hypervisor/hv_kvm.py
- parse the memory transfer status
* cmdlib.py
- represent memory transfer info, if avail...
Andrea Spadaccini
12:41 pm Revision 6a1434d7: Make migration RPC non-blocking
To add status reporting for the KVM migration, the instance_migrate RPC
must be non-blocking. Moreover, there must be...
Andrea Spadaccini
12:41 pm Revision f8326fca: Move _TimeoutExpired to utils
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Andrea Spadaccini
10:16 am Revision b8a2c0ab: Add an allocation limit to hspace
This is very useful for testing/benchmarking.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Muraw...
Iustin Pop
10:16 am Revision 1bf6d813: Small simplification in tryAlloc
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Murawska <agatamurawska@google.com>
Iustin Pop
10:16 am Revision b0631f10: Change how node pairs are generated/used
Currently, the node pairs used for allocation are a simple [(primary,
secondary)] list of tuples, as this is how they...
Iustin Pop
10:15 am Revision f828f4aa: Parallelise instance allocation/capacity computation
This patch finally enables parallelisation in instance placement.
My original try for enabling this didn't work well...
Iustin Pop
10:15 am Revision d7339c99: Abstract comparison of AllocElements
This is moved outside of the concatAllocs as it will be needed in
another place in the future.
Signed-off-by: Iustin...
Iustin Pop
10:14 am Revision 129734d3: Change type of Cluster.AllocSolution
Originally, this data type was used both by instance allocation (1
result), and by instance relocation (many results,...
Iustin Pop

09/28/2011

02:34 pm Revision 34fbc862: Migration: warn the user about hv version mismatch
* hv_kvm.py, hv_xen.py
- return the hypervisor version (if available) from GetNodeInfo
* cmdlib.py
- if hypervis...
Andrea Spadaccini
02:27 pm Revision 3656c889: Fix handling of cluster verify hooks
The change to enforce boolean results for cluster verify group opcode
missed the HooksCallBack, which uses a very ugl...
Iustin Pop
01:15 pm Revision 90b2eeb0: http.client: Show pending requests as “owner”
In the context of the lock monitor a “pending” item does not yet own the
requested resource. Since these HTTP request...
Michael Hanselmann
01:15 pm Revision 7cb2d205: http.client: Add nice name to requests
With this change a node name instead of the IP address can be shown for
pending RPC requests:
Name ...
Michael Hanselmann
01:15 pm Revision aea5caef: rpc/http: Show pending RPC requests in lock monitor
Not all requests use an instance of RpcRunner yet and therefore won't
show up (only instances have access to the glob...
Michael Hanselmann
01:06 pm Revision ecd61b4e: http.client: Factorize code interacting with cURL
This simplifies HttpClientPool.ProcessRequests significantly and will be
handy for showing pending RPC requests in th...
Michael Hanselmann
12:13 pm Revision 835f8b23: Redistribute the RAPI certificate
This reverts to the old behaviour in Ganeti 2.4 and before.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b...
Iustin Pop
« Previous
Next »
 

Also available in: Atom