Activity

From 05/30/2011 to 06/28/2011

06/28/2011

07:35 pm Revision e5f6768c: Fix htools, QuickCheck library detection and tests
Just saw this while testing the migration to QuickCheck v2: while
configure.ac detects that QuickCheck-2.x is not ava...
Iustin Pop
06:37 pm Revision a1cd7c1e: htools: improve more unittests
Using new functionality in QuickCheck 2 (the suchThat function), we
generate now better test cases, such that (heh) w...
Iustin Pop
06:37 pm Revision 00c75986: htools: more fixes to unsatisfiable tests
Currently the way we generate nodes in some cases is by creating a
totally random node, then restricting the test bas...
Iustin Pop
06:37 pm Revision 41085bd3: htools: Rework some unittests
The new scaffolding which replaced the batch driver of QuickCheck 1 now
shows how many passes we have for incomplete ...
Iustin Pop
06:37 pm Revision 509809db: htools: allow unittest to be replayed
This just adds glue to allow replaying of tests using a given RNG state
and test size (both are needed for exact repl...
Iustin Pop
06:37 pm Revision 309e7c9a: htools: fix corner case in prop_Text_Load_Instance
This unittest had a corner case where it could fail if the same
primary/secondary node names were generated.
Signed-...
Iustin Pop
06:37 pm Revision 752635d3: htools: fix prop_Node_rMem corner case
This patch fixes a bug in the test specification where we allowed nodes
with zero free memory (hence no instance can ...
Iustin Pop
06:37 pm Revision 8e4f6d56: htools: Switch to QuickCheck 2.x
Since current distros don't package anymore QuickCheck 1.x, let's move
to 2.x.
This requires also a few changes to t...
Iustin Pop
06:35 pm Revision cc532bdd: htools: some lint fixes
Removal of duplicate parantheses, removal of extra 'do', conversion from
nested if to guards, use hierarchical import...
Iustin Pop
06:35 pm Revision 88253d03: htools: rewrite Cluster.filterMGResults
filterMGResults was built using a sequence of map and filter calls;
while this was logically correct, it used some in...
Iustin Pop
06:35 pm Revision e4491427: htools: use the new Group.isAllocable
… instead of the hardcoded test against AllocUnallocable.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
06:35 pm Revision 0ec6344e: htools: add a helper function
… that checks if a group is allocable.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann...
Iustin Pop
06:02 pm Revision 78ff9e8f: Fix a lint warning
Patch db8e5f1c removed the use of feedback_fn, hence pylint warn
now.
Signed-off-by: Iustin Pop <iustin@google.com>
...
Iustin Pop
06:02 pm Revision b768099e: Fix bug in recreate-disks for DRBD instances
The new functionality in 2.4.2 for recreate-disks to change nodes is
broken for DRBD instances: it simply changes the...
Iustin Pop
12:56 am Revision cc8a8ed7: KVM: configure bridged NICs at migration start
Commit 5d9bfd870 moved tap interface handling from KVM to Ganeti, partly
to also solve the problem of routed interfac...
Apollon Oikonomopoulos

06/27/2011

04:35 pm Revision 96747bda: Fix RAPI documentation regarding master role
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:53 pm Revision db8e5f1c: Fix bug in drbd8 replace disks on current nodes
Currently the drbd8 replace-disks on the same node (i.e. -p or -s) has
a bug in that it does modify the instance disk...
Iustin Pop

06/24/2011

05:19 pm Revision 1d66efbe: Enable using ghc parallel version 3
Currently htools cannot be compiled under sid because the parallel
haskell library is version 3. Using it issues a fe...
Guido Trotter

06/23/2011

05:47 pm Revision de2b0d1d: Merge branch 'devel-2.4'
* devel-2.4:
LUInstanceCreate: use opcodes.RequireFileStorage
Don't add ",boot=on" to disks on kvm >= 0.14
KVM:...
Guido Trotter
04:53 pm Revision 0376655e: remove bootstrap._InitSharedFileStorage
This function is a copy of bootstrap._InitFileStorage with the following
differences:
- check constants.ENABLE_SHAR...
Guido Trotter
04:51 pm Revision 7afca87f: LUInstanceCreate: use opcodes.RequireFileStorage
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
04:51 pm Revision 4304964a: Don't add ",boot=on" to disks on kvm >= 0.14
Under newer kvm this prevents the vm from starting.
Ah, change!
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter

06/22/2011

07:16 pm Revision 3af16328: KVM: fix per-instance stored UID value
When using the pool security model, _ExecuteKVMRuntime was storing the
instance's UID using str(uid), which would res...
Apollon Oikonomopoulos

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...
Guido Trotter
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...
Guido Trotter
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
...
Guido Trotter
02:26 pm Revision c16915bd: Add DTS_FILEBASED constant
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
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
- ...
Guido Trotter
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>
Guido Trotter
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...
Guido Trotter
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>
Guido Trotter
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>
Guido Trotter
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>
Guido Trotter
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...
Guido Trotter
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>
Guido Trotter
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>
Guido Trotter
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>
Guido Trotter
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...
Apollon Oikonomopoulos

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...
Michael Hanselmann

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>
Stephen Shirley

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

Also available in: Atom