Activity

From 05/14/2011 to 06/12/2011

06/10/2011

06:50 pm Revision 7ecb3d0e: Makefile: Add version check for iallocator.rst
iallocator.rst contains the Ganeti version at the top.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
06:50 pm Revision 25ee7fd8: Update iallocator design for node group-aware operations
A while ago a new ``multi-relocate`` mode was proposed and documented.
As it turned out, the interface had some defic...
Michael Hanselmann
06:48 pm Revision 194c8ca4: jqueue: Allow loading of archived jobs
Chained jobs need to look at previous jobs, including archived ones. A
nice side-effect of this change is the ability...
Michael Hanselmann
05:50 pm Revision 13699e58: Adding basic abstraction layer for caching
This includes an own simple cache implementation and an
interface to a memcache instance.
Signed-off-by: René Nussba...
René Nussbaumer

06/09/2011

04:04 pm Revision ecc760ce: Fix _checkRsaPrivateKey for newer key generation
Keys generated under debian sid just read "BEGIN PRIVATE KEY" rather
than "BEGIN RSA PRIVATE KEY".
Signed-off-by: Gu...
Guido Trotter

06/08/2011

08:44 am Revision fceb01fe: Fix locking issues in LUClusterVerifyGroup
- Use functions in ConfigWriter instead of custom loops
- Calculate nodes only once instances locks are acquired, rem...
Michael Hanselmann
08:44 am Revision c5312a10: cmdlib: Acquire BGL for LUClusterVerifyConfig
LUClusterVerifyConfig verifies a number of configuration settings. For
doing so, it needs a consistent list of nodes,...
Michael Hanselmann

06/07/2011

03:32 pm Revision fbb2c636: Export/import instance tags
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:31 pm Revision 0f8810df: Fix issue with tags on instance creation
Commit 720f56c85a added the ability to specify tags when creating an
instance. The “tags” attribute of an instance ob...
Michael Hanselmann

06/03/2011

02:10 pm Revision 1e6d5750: Fix incomplete merge
Commit 66bd7445 changed the semantics of _JobProcessor on finished
jobs, and updated the related unittests in the 2.4...
Iustin Pop

06/01/2011

08:24 pm Revision 720f56c8: Add tag handling to {Op,LU}InstanceCreate
Add a tag slot to opcodes.OpInstanceCreate. We do not reuse _PTags, as this is
intended for OpTagsSet and thus:
a)...
Apollon Oikonomopoulos
08:24 pm Revision a57981c5: Add tagging option to gnt-instance create
Add TAG_ADD_OPT option to cli.py and use it in gnt-instance. Modify
cli.GenericInstanceCreate() accordingly.
Signed-...
Apollon Oikonomopoulos
08:24 pm Revision 9dfa16fc: Export instance tags to instance hooks
Instance hooks now get an INSTANCE_TAGS environment variable, which contains a
space-delimited list of the affected i...
Apollon Oikonomopoulos
08:14 pm Revision 85061b9a: http.client: Make debug log less noisy
The HTTP client code generates quite a lot of debug log messages. With
this patch they're hidden unless explicitely e...
Michael Hanselmann
08:08 pm Revision 07346f28: Merge branch 'devel-2.4'
* devel-2.4:
jqueue: Fix potential race condition when cancelling queued jobs
Fix argument order in ReserveLV and...
Michael Hanselmann
06:04 pm Revision 28f19313: htools: introduce a type alias for JSON objects
This makes the type definitions a bit more readable/simpler.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
05:29 pm Revision b5cec17a: hail: stop using old-style 'nodes' key
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
05:29 pm Revision 695c1bab: hail: add parsing of multi-relocate request
This is not handled yet, this patch just adds parsing of the incoming
request.
Signed-off-by: Iustin Pop <iustin@goo...
Iustin Pop
05:29 pm Revision b790839a: hail: add option for displaying the parsed request
This can be used for debugging.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@...
Iustin Pop
05:29 pm Revision 2c3273e7: hail: add new data types for the multi-reloc mode
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop

05/31/2011

07:38 pm Revision 9da4dc31: Add --no-instance-moves to the htools live tests
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:38 pm Revision 0aa71dbd: Update hbal manpage for --no-instance-moves
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:38 pm Revision e08424a8: Implement balancing with no instance moves
Note that --no-disk-moves and --no-instance-moves are not incompatible,
but if both are used no solution can possibly...
Guido Trotter
07:38 pm Revision e7f7c003: Pass the instance moves option in hbal
While still being ignored, now it gets passed down to the iteration
function.
Signed-off-by: Guido Trotter <ultrotte...
Guido Trotter
07:38 pm Revision 8fcfb767: Add --no-instance-moves cli htools option
This option doesn't currently do anything.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin P...
Guido Trotter
07:17 pm Revision 66bd7445: jqueue: Fix potential race condition when cancelling queued jobs
When a job was cancelled, its status would be changed and the file
written again. Since this was a final status, the ...
Michael Hanselmann
12:40 pm Revision 509bec87: iallocator: fix incomplete refactoring
Commit fdbe29ee changed the iallocator modes from 'r'/'w' to
'ro'/'rw', but forgot one check in LUTestAllocator. This...
Iustin Pop
12:40 pm Revision ea4dc982: iallocator: export the hypervisor value
In 'allocate' mode, the documentation specifies that we export the
hypervisor value (“Allocation needs, in addition: ...
Iustin Pop
12:40 pm Revision 36bbf5b0: iallocator: change default for target_groups
Per the design doc, the target_groups request key "if present, it must
either be the empty list, or contain a list of...
Iustin Pop
12:40 pm Revision dd47a0f0: iallocator: rename mem_size to memory
Currently, the iallocator in 'allocate' requires mem_size on input
but serialises that as 'memory'. This inconsistenc...
Iustin Pop
12:40 pm Revision 297b0cd3: iallocator: add ht-checking for the request
Currently, we only ht-check the result value from the iallocator, and
we send whatever we happen to check manually in...
Iustin Pop

05/30/2011

06:07 pm Revision b7a1c816: gnt-node migrate: Use LU-generated jobs
Until now LUNodeMigrate used multiple tasklets to evacuate all primary
instances on a node. In some cases it would ac...
Michael Hanselmann
06:03 pm Revision 8785b71b: Fix argument order in ReserveLV and ReserveMAC
ConfigWriter.ReserveLV() and Configwriter.ReserveMAC() called
TemporaryReservationManager.Reserve() with the ec_id an...
Apollon Oikonomopoulos
02:08 pm Revision b99b607f: ht: Accept both int and long as integers
This fixes a unittest failure on 32 bit systems. A recently added
unittest for ht.TJobId uses a rather large number (...
Michael Hanselmann

05/28/2011

12:29 pm Revision ae9b5e0f: Design doc for CPU pinning
Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iu...
Tsachy Shacham

05/27/2011

03:14 pm Revision 8620f50e: ht: Add checks for anything, regexp, job ID, container items
The check for container items is useful for tuples and/or lists with
non-uniform values. The “anything” check can be ...
Michael Hanselmann

05/26/2011

04:01 pm Revision d469a3d5: Merge branch 'devel-2.4'
* devel-2.4:
TLReplaceDisks: Move assertion checking locks
Conflicts:
lib/cmdlib.py: Trivial
Signed-off-by: Mich...
Michael Hanselmann
03:40 pm Revision a9b42993: TLReplaceDisks: Move assertion checking locks
Commit 1bee66f3 added assertions for ensuring only the necessary locks
are kept while replacing disks. One of them ma...
Michael Hanselmann

05/25/2011

06:50 pm Revision 8d99a8bf: cli.JobExecutor: Handle empty name, allow adding job IDs
With LU-generated jobs only the ID is known.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iust...
Michael Hanselmann
06:50 pm Revision 60452edf: cli.JobExecutor: Use counter for indexing jobs
If “SubmitPending” were mixed with calls to “QueueJob”, jobs in the
internal structures will get duplicate indices. W...
Michael Hanselmann
05:55 pm Revision f8fa4175: Fix bug in LUNodeMigrate
Commit aac4511a added CheckArguments to LUNodeMigrate with a call to
_CheckIAllocatorOrNode. When no default iallocat...
Michael Hanselmann
12:30 pm Revision dac81741: config: Add method to get members of nodes' groups
This will be used for locking during node evacuation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
12:29 pm Revision 876f6a5e: Yet another attempt to fix builds
It seems that abs_top_srcdir is not a good option, so I tested again
with just using the same as in doc/examples/bash...
Iustin Pop

05/24/2011

07:58 pm Revision 11fd5a86: Fix build breakage
Sorry, I already had PYTHONPATH exported in my env, and as I said I
wasn't able to test this on buildbot.
Signed-off...
Iustin Pop
07:52 pm Revision df0d116f: Merge branch 'devel-2.4'
* devel-2.4:
node evac: don't call IAllocator if no instances
Signed-off-by: Michael Hanselmann <hansmi@google.com...
Michael Hanselmann
07:48 pm Revision cb156a3e: node evac: don't call IAllocator if no instances
Currently we generate an empty list only for the '-n node' invocation,
but for iallocator we still call the iallocato...
Iustin Pop
07:40 pm Revision bd614fa4: Merge branch 'devel-2.4'
* devel-2.4:
RPC/Backend: Make UploadFile uid and gid agnostic
Resolve uid/gid upon mainloop run
GetEntResolver...
Michael Hanselmann
06:22 pm Revision df5227dc: IAllocator.hs: replace a few strings with constants
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:22 pm Revision e82271f8: Replace instance states hardcoded with constants
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:22 pm Revision 2e5eb96a: Convert group policies to constants
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:22 pm Revision 56c094b4: Convert job status strings to constants
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:22 pm Revision 3f1e065d: gnt-debug: rename allocator to iallocator
I'm always confused by this strange difference, so let's rename the
command to match what it tests.
Signed-off-by: I...
Iustin Pop
06:22 pm Revision a69ff623: Misc other conversions
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:22 pm Revision d99d1e36: Implement conversion of Python constants to Haskell
With the merge of the repositories, we can now auto-generate the code
for Haskell constants from the Python code.
Cu...
Iustin Pop
12:37 pm Revision 9a914f7a: RPC/Backend: Make UploadFile uid and gid agnostic
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:37 pm Revision b604d0c8: Resolve uid/gid upon mainloop run
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:37 pm Revision 44fbd23b: GetEntResolver: Make it possible to resolve uid/gid to name
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:37 pm Revision 0a9a0e5a: utils.algo: Add InvertDict to invert a dict
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:37 pm Revision 03881cb0: autotools: Add noded group
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

05/20/2011

07:44 pm Revision 83a2da0f: Improve hooks documentation unittest
Also check for the opcode ID.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@...
Michael Hanselmann
06:20 pm Revision 56372573: Update hooks.rst for cluster verify changes
Also update NEWS on this change.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann...
Guido Trotter
06:20 pm Revision e0508c86: Fix a couple of style mistakes
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
01:37 pm Revision 40167d65: Cluster verify: accept a --node-group option
This will trigger a ClusterVerifyGroup operation only on the specified
group, skipping other groups as well as cluste...
Adeodato Simo
01:37 pm Revision adfa3b26: Cluster verify: check for nodes/instances with no group
Previously, all nodes and instances would *always* be visited/verified. By
driving the verification by node group now...
Adeodato Simo
01:37 pm Revision fe870648: Cluster verify: fix LV checks for split instances
When sharding by group, if a mirrored instance is split (primary and
secondary) between two groups, its volumes will ...
Adeodato Simo
01:37 pm Revision 2dad1652: Cluster verify: make NV_NODELIST smaller
To cope with increasing cluster sizes, we now make nodes try to contact all
other nodes in their group, and one node ...
Adeodato Simo
01:37 pm Revision d23a2a9d: Cluster verify: verify hypervisor parameters only once
The list of all hypervisor parameters has to be computed in
LUClusterVerifyGroup, since it needs to be passed to node...
Adeodato Simo
01:37 pm Revision bf93ae69: Split LUClusterVerify into LUClusterVerify{Config,Group}
With this change, LUClusterVerifyConfig becomes a "light" LU that only
verifies the global config and other, master-o...
Adeodato Simo
01:37 pm Revision a5c30dc2: Cluster verify: factor out error codes and functions
We move all error code definitions, plus the _Error and _ErrorIf helpers,
to a private _VerifyErrors mix-in class tha...
Adeodato Simo
01:37 pm Revision 14970c32: Cluster verify: make "instance runs in wrong node" node-driven
Previously, the "instance should not be running in this node" error was
computed by verifying, for each instance, whe...
Adeodato Simo
01:37 pm Revision 4e272d8c: Verify an absent vm_capable node for files
If we're not verifying all nodes, adding a node outside the current
group for file checksums helps us making sure che...
Guido Trotter
01:37 pm Revision 2f10179b: Cluster verify: master must be present for _VerifyFiles
This commit prepares the call to _VerifyFiles for the case when the master
node is not one of the nodes that's being ...
Adeodato Simo
01:37 pm Revision cf692cd0: Cluster verify: don't assume we're verifying all nodes/instances
This commit fixes a few initial simple cases in which it was assumed that
we're always working over the whole cluster...
Adeodato Simo
01:37 pm Revision c711d09e: Cluster verify: gather node/instance list in CheckPrereq
This commit introduces no behavior changes, and is only a minor refactoring
that aids with a cleaner division of futu...
Adeodato Simo
11:11 am Revision 6aac5aef: Merge remote branch 'origin/devel-2.4'
* origin/devel-2.4:
Fix errors in hooks documentation
Clarify a bit the noded man page
Note --no-remember in NE...
Iustin Pop

05/19/2011

06:03 pm Revision 235407ba: cli: Replace hardcoded disk templates with constants
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:01 pm Revision eb279644: mcpu: Add missing docstring to _ProcessResult
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:01 pm Revision c71b049c: config: Add function to get instances in node group
This will be used for evacuating instances in a node group.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re...
Michael Hanselmann
01:54 pm Revision a01225a6: iallocator: Stricter check for multi-evac result
Check new secondary nodes' group like it's already done for
multi-relocation requests.
Signed-off-by: Michael Hansel...
Michael Hanselmann
01:54 pm Revision 3d45d304: cmdlib: Use ganeti.ht for checking iallocator result
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann

05/17/2011

07:18 pm Revision 8ac5c5d7: Fix errors in hooks documentation
In many cases the opcode ID was incorrect. A unittest for this will
be added in the master branch.
Signed-off-by: Mi...
Michael Hanselmann
06:05 pm Revision a464ce71: ht: Add strict check for dictionaries
This allows checking specific dictionary items, unlike TDict
or TDictOf.
Signed-off-by: Michael Hanselmann <hansmi@g...
Michael Hanselmann
06:05 pm Revision 4f898534: cmdlib: Remove punctuation from error messages
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:09 pm Revision dfba45b1: Various grammar fixes and updates
Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Stephen Shirley

05/16/2011

04:41 pm Revision 42c161cf: gnt-debug: New iallocator mode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:41 pm Revision bee581e2: Add new iallocator mode to LUTestAllocator
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:41 pm Revision 55011921: cmdlib.IAllocator: Add multi-relocate support
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:41 pm Revision 23cfbaab: Add constants for multi-relocation iallocator mode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:24 pm Revision b578501b: Clarify a bit the noded man page
"This can be overriden" can be read as either the port we listen on or
the address we bind to. Replace with "The port...
Iustin Pop
04:24 pm Revision 6e1156ff: Note --no-remember in NEWS
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:24 pm Revision b998270c: Switch QA over to using instance stop --no-remember
Instead of hardcoded Xen commands. This will make it work for all
hypervisors, instead of duplicating hypervisor func...
Iustin Pop
04:24 pm Revision 2ba39b8f: Implement no_remember at RAPI level
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:24 pm Revision 885a0fc4: Implement no_remember at CLI level
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:24 pm Revision 9b64e486: Introduce instance start/stop no_remember attribute
This will allow stopping or starting an instance without changing the
remembered state. While this seems counter-intu...
Iustin Pop
« Previous
Next »
 

Also available in: Atom