Activity
From 05/19/2011 to 06/17/2011
06/17/2011
- 03:57 pm Revision 2492231f: Merge branch 'devel-2.4'
- * devel-2.4:
Add one forgotten element to the file disk path
Signed-off-by: Guido Trotter <ultrotter@google.com>
R... - 03:57 pm Revision 00ca374a: Add one forgotten element to the file disk path
- This was left out during the fix/refactoring
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René N... - 02:36 pm Revision 08b000be: Merge branch 'devel-2.4'
- * devel-2.4:
LUInstanceCreate: fix file storage dir calculation
Check that filestorage is enabled when requested
... - 02:26 pm Revision c16915bd: Add DTS_FILEBASED constant
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 02:26 pm Revision d2129ac4: LUInstanceCreate: fix file storage dir calculation
- - Move the calculation at the beginning of CheckPrereq, since it doesn't
modify any state, but still keeps locks
- ... - 02:26 pm Revision 1bb1e297: Check that filestorage is enabled when requested
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 02:25 pm Revision 2112772e: Remove self.op.file_storage_dir isabs check
- As the manpage says, and the code does, self.op.file_storage_dir is an
additional relative path under the cluster fil... - 11:41 am Revision 9afa0de1: htools live test: test instance selection as well
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:41 am Revision bcd87e22: --select-instances hbal manpage update
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:41 am Revision fcd731d9: Check that the selected instances are known
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:38 am Revision c6ccc073: Loader.updateMovable: evaluate selected instances
- This also adds docstrings for the function arguments and renames exinst
to exinsts, which is how it is called in othe... - 11:38 am Revision 2d1708e0: Add instance selection list to Loader.mergeData
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:38 am Revision ddef0585: Add --select-instances hbal flag
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:38 am Revision 6c30ce16: Remove double whitespace in help string
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:19 am Revision eec83a95: Add gnt-network design doc
- This design covers high level network block definition and pool
management.
Signed-off-by: Apollon Oikonomopoulos <a...
06/15/2011
- 06:11 pm Revision 60152bbe: Replace iallocator's mreloc w/ change-group and node-evac
- This patch removes all occurrences of the “multi-relocate” iallocator
mode. Commit 25ee7fd845 updated the design docu...
06/14/2011
- 03:46 pm Revision fa23cc50: Fix a couple of typos
- Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
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... - 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... - 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... - 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...
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...
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... - 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,...
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> - 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...
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...
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)... - 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-... - 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... - 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... - 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... - 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-... - 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> - 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... - 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@... - 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>
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> - 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> - 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... - 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... - 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... - 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 ... - 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... - 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: ... - 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... - 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... - 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...
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... - 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... - 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 (...
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...
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 ...
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... - 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...
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... - 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... - 05:55 pm Revision f8fa4175: Fix bug in LUNodeMigrate
- Commit aac4511a added CheckArguments to LUNodeMigrate with a call to
_CheckIAllocatorOrNode. When no default iallocat... - 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... - 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...
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... - 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... - 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... - 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... - 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> - 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> - 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> - 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> - 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... - 06:22 pm Revision a69ff623: Misc other conversions
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 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... - 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> - 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> - 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> - 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> - 12:37 pm Revision 03881cb0: autotools: Add noded group
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
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@... - 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... - 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> - 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... - 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... - 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 ... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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...
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> - 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> - 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... - 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... - 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>
Also available in: Atom