Activity

From 09/21/2009 to 10/20/2009

10/20/2009

11:28 pm Revision aeaa2ea2: Fix typo in install.rst
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Guido Trotter
07:59 pm Revision 8ab90d80: install.rst: mention xen config for live migration
This addresses issue 75.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi...
Guido Trotter
12:35 pm Revision 62066d05: Bump version to 2.1.0~beta2
I forgot to bump the configure.ac version before tagging the 2.1.0~beta1
release. Since we cannot remove old tags (se...
Michael Hanselmann
06:53 am Revision 7c0aa8e9: Introduce checks for /sys and /proc
This patch adds checks for /proc and /sys in cluster verify, since
Ganeti relies on these special filesystems to be m...
Iustin Pop

10/19/2009

05:57 pm Revision d357f531: Fix serializer unittests
Commit d22b29997cd broke the serializer unittests with certain
versions of simplejson. This patch removes sort_keys a...
Michael Hanselmann
09:06 am Revision 8ed71b67: Old update to the NEWS file
0.1.8 was never documented in the NEWS file. Iustin Pop
01:08 am Revision e7724ccc: Change the Container.findByName function
This patch changes the signature and implementation of the function;
returning the item makes more sense (saves a loo...
Iustin Pop
01:08 am Revision bbd8efd2: Some small style fixes
Iustin Pop
12:17 am Revision 8c9af2f0: Simplify the cstats initializer
Since all values are initialized to zero, the exact ordering is not
important and thus we can use the positional mode...
Iustin Pop
12:11 am Revision 668c03b3: Simplify Cluster.computeMoves
Since we now have an actual type for describing the instance moves
(IMove), it's simpler to convert this into the mov...
Iustin Pop

10/18/2009

11:20 pm Revision eb2598ab: Remove obsolete export
The ‘Placement’ type has been moved to Types.hs but we kept exporting it
from Cluster, which is not needed.
Iustin Pop
08:21 pm Revision c5f7412e: Generalise the node/instance listing
This patch introduces a generic formatTable function (based on, and
similar to the Ganeti one, but different and more...
Iustin Pop
07:38 pm Revision ad6cffe4: Fix instance listing for non-redundant case
Iustin Pop

10/16/2009

05:51 pm Revision aeb0c953: cfgupgrade: Implement upgrade to 2.1.0
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:51 pm Revision c008906b: bootstrap: Factorize HMAC key generation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:51 pm Revision cd34faf2: Make bootstrap._GenerateSelfSignedSslCert public
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:51 pm Revision 11c31f5c: cfgupgrade: Remove Ganeti 1.2 support
This also fixes a few typos.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@g...
Michael Hanselmann
05:51 pm Revision d22b2999: serializer: Sort keys in JSON
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:24 pm Revision c4ef235b: Fix two haddoc/happy docstring issues
Iustin Pop
05:20 pm Revision d1f5d461: Update hbal manpage with details about dynutil
Iustin Pop
04:59 pm Revision ee9724b9: Start using the utilisation scores in balancing
This enables the per-node load/total available capacity scores to be
used in balancing. Note that the total available...
Iustin Pop
04:59 pm Revision aa8d2e71: Add loading and processing of utilisation data
This patch adds loading and processing the utilisation data during
instance moves. While the data is not yet used, it...
Iustin Pop
02:54 pm Revision 4f83a560: Add an option to input utilisation data
Iustin Pop
02:43 pm Revision a488a217: Merge the Node.setPri and Node.addCpus functions
The latter is only used right after the former in the Loader module, and
we'll need more of this 'update not with the...
Iustin Pop
10:41 am Revision 5b763470: Move some utility functions to Utils.hs
These were already duplicate (Text and Simu) and we need tryRead in more places. Iustin Pop
10:09 am Revision 183a9c3d: Show the load on nodes in node lists
The strange printf usage is due to some limitation (it seems) in ghc for
very long argument lists. The whole printout...
Iustin Pop

10/15/2009

05:47 pm Revision b03ee906: Bump version to 2.1.0~beta0
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:47 pm Revision a6db1af2: mcpu: Use new timeout class for timeout
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:47 pm Revision f4e673fb: locking: Convert pipe condition to new timeout class
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:47 pm Revision 7e8841bd: locking.LockSet: Move timeout calculation to separate class
This class can also be used by mcpu.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <...
Michael Hanselmann
05:47 pm Revision b6b87034: locking, mcpu: Ensure timeout is always >= 0.0
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:05 pm Revision 2180829f: Add initial structure for utilisation balancing
This patch adds the datatypes and modifies the nodes and instance types to have
such attributes. They are not used ye...
Iustin Pop
05:00 pm Revision 507fda3f: Allow displaying the instance map in hbal
This is similar to --print-nodes, but with much fewer fields. Iustin Pop
11:49 am Revision 181d4e04: Add an explicit export list to Instance.hs
This exports all functions, but it's still good to have. Iustin Pop
11:33 am Revision 3a3c1eb4: More hlint fixes
This makes (for now) the code hlint-clean. This is per se not a huge
gain, but it allows easier tracking of regressio...
Iustin Pop

10/14/2009

04:43 pm Revision c15f7183: Style change: camel-casing of unittests
Iustin Pop
04:41 pm Revision f5b553da: Style change: cluster CStats camel-casing
This is again the cs_x to csX name change. Iustin Pop
04:41 pm Revision 2060348b: Style change: node and instance attributes
This changes from a_b to aB in all node and instance attributes, to
match the standard Haskell style. Also attributes...
Iustin Pop
01:45 pm Revision fca250e9: Modify the internals of the detailed CV scores
Before we used a tuple; since we'll need more metrics in the future,
it's simpler to transform this into a list of do...
Iustin Pop
11:56 am Revision 0bfbb3e8: Update the hbal manpage w.r.t. job execution
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
11:56 am Revision b2245847: Implement first version of job execution
This not so nice patch adds submit/wait-for-completion functionality in
hbal. When enabled via ‘-X’ (only working on ...
Iustin Pop
11:56 am Revision 0df5a1b4: Add a command line option for executing jobs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
11:56 am Revision 9a2ff880: Add two specialized Luxi calls
This are higher level wrappers over the basic callMethod.
Signed-off-by: Iustin Pop <iustin@google.com>
Iustin Pop
11:56 am Revision dfbbd43a: Change iMoveToJob to properly create migrates
The current Cluster.iMoveToJob always creates failovers, which is not
what we want. This simply used the original ins...
Iustin Pop
11:55 am Revision 924f9c16: Extend the MoveJob type to hold the instance index
This will be needed in order to generate the proper instance move commands.
Signed-off-by: Iustin Pop <iustin@google...
Iustin Pop
11:53 am Revision 13b6cb3f: Add a simple module for dealing with Ganeti jobs
This holds for now just the job status definitions and its serialisation
to/from JSON.
Signed-off-by: Iustin Pop <iu...
Iustin Pop

10/13/2009

08:08 pm Revision e4335b5b: locking.LockSet: Improve assertions
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
08:08 pm Revision 76e2f08a: locking: Factorize LockSet.acquire
By moving the main code of LockSet.acquire to its own function
we reduce the code complexity a bit and clarify the ex...
Michael Hanselmann
08:08 pm Revision 6f14fc27: mcpu: Make sure added locks are released on errors
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
08:08 pm Revision 23683c26: Test LockSet.acquire return value for timeout
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
08:08 pm Revision fc1baca9: opcodes: Add missing shutdown_timeout to OpRemoveInstance
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
08:08 pm Revision 63d96e4c: luxi: Pass socket path directly to exception, not in tuple
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
04:02 pm Revision f940cf61: Update NEWS for instance shutdown timeout
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
04:02 pm Revision 4d98c565: gnt-* use the correct opcode slot to build opcodes
gnt-* scripts were building wrong opcodes for commands which had the
shutdown_timeout slot (due to missing testing af...
Guido Trotter
03:18 pm Revision cc291012: Update documentation for recreate-disks
This also clarifies the UUIDs NEWS entry.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselm...
Iustin Pop
03:03 pm Revision 64246438: rapi: fix tag operations
This patch fixes the tag PUT/DELETE operations, and additionally changes
the _Tags_* functions to take only positiona...
Iustin Pop
01:58 pm Revision 920a91bf: Update NEWS for Ganeti 2.1
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:58 pm Revision aa287e8c: Convert NEWS to ASCII
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:24 pm Revision 7e5eaaa8: cli: add SHUTDOWN_TIMEOUT_OPT
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
01:24 pm Revision 17c3f802: Add timeout options to other LUs
All the LUs that shut down the instance need to be able too pass the
timeout parameter as well.
Signed-off-by: Guido...
Guido Trotter
01:24 pm Revision 1e2c9fd3: Update manpages for --shutdown-timeout
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter

10/12/2009

03:30 pm Revision f6c68f9d: Only update the version file on make dist
Since on regular compiles the version information is not critical, it's
better to only update it on make dist; furthe...
Iustin Pop
03:13 pm Revision 66dac8e0: Fix haddock issues with tuple members
It seems that haddock cannot document tuple members - but arguably, once
one needs to do that, tuples should not be u...
Iustin Pop
01:48 pm Revision e3200b18: mcpu: Change lock attempt timeout calculation
With this patch all timeouts are pre-calculated. The interface of
the _LockTimeoutStrategy class is also changed a bi...
Michael Hanselmann
01:48 pm Revision 69b99987: Code and docstring style fixes
Found using pylint and epydoc.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ult...
Michael Hanselmann
01:47 pm Revision 211b6132: mcpu: Improve lock reporting with timeouts
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
01:47 pm Revision 407339d0: mcpu: Implement lock timeouts
The timeout is always between ~0.1 and ~10.0 seconds. A small
variation of ±5% is added to prevent different jobs fro...
Michael Hanselmann
01:47 pm Revision 6b95b76d: mcpu: Remove unused exclusive_BGL attribute
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
01:46 pm Revision 5aab242c: locking.LockSet: Implement acquire timeouts
The timeout passed to LockSet.acquire() is measured over all lock acquires. If
LockSet.acquire fails to acquire all r...
Michael Hanselmann

10/09/2009

06:28 pm Revision 95a5d0fb: Update gnt-instance(8) for shutdown --timeout
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:28 pm Revision 6263189c: Accept shutdown timeout from the user
Using the new --timeout option:
- gnt-instance shutdown is changed to accept a timeout
- the opcode is changed to ho...
Guido Trotter
06:02 pm Revision a2771c83: ChrootManager: clean StopInstance
Currently it has lots for duplicated code, and internal retries.
Clean it up with the following assumptions:
We'll p...
Guido Trotter
06:02 pm Revision b5762e2a: cli: add a timeout option
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:02 pm Revision 4ad45119: KVMHypervisor: use the StopInstance retry feature
Since we know StopInstance is going to be called more than once (at
least twice, once with force and once without, bu...
Guido Trotter
06:01 pm Revision e4e9b806: backend.InstanceShutdown: small cleanup
1) unhardcode the timeout, abstracting it in a constant
2) Use time.time() rather than hiding the timeout in a range(...
Guido Trotter
06:01 pm Revision 88cd08aa: Add default instance shutdown timeout constant
It reflects the "current" two minutes we give to the instance.
Signed-off-by: Guido Trotter <ultrotter@google.com>
R...
Guido Trotter
06:01 pm Revision 07b49e41: Hypervisors: Add retry= to StopInstance
Currently some hypervisors need the stop operations to be retried more
than once, while other ones only do it in one ...
Guido Trotter
05:28 pm Revision 6915bc28: Get rid of utils.CommaJoin
- We never remember to use it (5 uses vs 21 " ,".join())
- It's longer to write than " ,".join()
- The added value of...
Guido Trotter

10/08/2009

01:36 pm Revision ca2843dc: makefile: regenerate version when it changes
If we're building on a different version, the version file needs to be
regenerated.
Signed-off-by: Guido Trotter <ul...
Guido Trotter
01:06 pm Revision e97f211e: parseNode: don't lookup values in drained nodes
Currently parseNode skips looking for values in offline nodes, but tries
to read them for drained ones. With this pat...
Guido Trotter

10/07/2009

01:16 pm Revision 691dfed9: ethers hook: allow more than one daemon pidfile
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
01:14 pm Revision 9e32b93b: burnin: skip instance moves on single node
If we have only one node, instance moves fail, because it tries to move
the instance to itself. Skipping the operatio...
Guido Trotter
12:31 pm Revision bcdf16d7: Match instance and node names case insensitively
Since DNS cannot contain two names with different cases anyway, this
should be ok.
Signed-off-by: Guido Trotter <ult...
Guido Trotter
12:31 pm Revision 256eb94b: Add case_sensitive keyword to MatchNameComponent
Now featuring unit testing, and more deterministic results on some
corner cases.
Signed-off-by: Guido Trotter <ultro...
Guido Trotter

10/06/2009

03:35 pm Revision 6e6bb8d5: VNC password: move to hv param and use in kvm
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Guido Trotter

10/05/2009

04:49 pm Revision c69a43c8: Implement strict mode for devel/review
This should prevent typos in aliases from going unnoticed.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Rev...
Michael Hanselmann
12:47 pm Revision f2c05717: Check the OS name for variants
If an OS supports variants, unless --force-variant is specified a valid
variant must be passed.
Signed-off-by: Guido...
Guido Trotter
12:47 pm Revision bdfec6fd: Update ganeti-os-interface(7) for API 15
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Guido Trotter
12:47 pm Revision 06073e85: Allow --force-variant for instance add/reinstall
Passing this option makes an undeclared variant be passed to the os "as
is", hoping it'll be able to figure it out (a...
Guido Trotter
12:47 pm Revision 47804ec9: Add force_variant slot to Create/ReinstallInstance
These two opcode need to know whether an unknown variant must be forced
through or not.
Signed-off-by: Guido Trotter...
Guido Trotter
12:46 pm Revision e3ac208c: Update client os lists to name+variant format
List of OSes are displayed by gnt-os list, rapi, and gnt-instance
reinstall --select-os, and checked by burnin. In al...
Guido Trotter
12:39 pm Revision 6d79896b: Add slot and constant for supported OS variants
The slot will contain a list of variants, and the variants file constant
contains the file in the os dir which is sup...
Guido Trotter
12:39 pm Revision 95075fba: Populate OS variants if an api >= 15 is present
Adding the file name to the os_files dict will fill in the full path and
get it checked, if present we also read it a...
Guido Trotter
12:39 pm Revision f11280b5: OSEnvironment: populate OS_VARIANT
According to the design on api_version >= 15 the OS variant is the part
of the OS name after the "+" sign. If none is...
Guido Trotter
12:39 pm Revision e16dfb5b: gnt-os diagnose: show os variants
We already show the per-node os variants, also show the global ones.
Signed-off-by: Guido Trotter <ultrotter@google....
Guido Trotter
12:39 pm Revision ba00557a: Add per-node variants list to OS diagnose output
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Guido Trotter
12:39 pm Revision 1e288a26: Add "variants" field to LUDiagnoseOS
If selected this field will contain a list of os variants supported on
all nodes.
Signed-off-by: Guido Trotter <ultr...
Guido Trotter
12:39 pm Revision 07150497: cli.CalculateOSNames
Given an os and its variants, return a list of "full" os names.
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter
12:39 pm Revision 6ee7102a: OSFromDisk: handle variants when loading os
When we load an OS from disk, we need _TryOSFromDisk to get the real
name, without any variant. This allows any funct...
Guido Trotter
12:39 pm Revision 84e3f66f: Fix rpc.call_os_get to actually return the OS
Since nobody ever read the actual OS object, this bug was introduced in
the rpc conversion.
Signed-off-by: Guido Tro...
Guido Trotter
12:39 pm Revision b6b45e0d: Convert os api version file name to a constant
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Guido Trotter
12:39 pm Revision 0757c107: TryOSFromDisk: only check actual os scripts for +x
Currently all checked files in the loop are os scripts, so nothing will
change, but in the future we only want the +x...
Guido Trotter
12:39 pm Revision 41ba4061: TryOSFromDisk: s/os_scripts/os_files/
We'll be using this dict/loop to check more than just scripts, so we're
renaming the variables appropriately.
Signed...
Guido Trotter
12:31 pm Revision 2f2dbb4b: Add support for using the bootloader in xen-pvm
This patch adds three optional parameters:
- 'use_bootloader', whether use or not the bootloader
- 'bootloader_pa...
Jun Futagawa

10/02/2009

06:54 pm Revision a2e90275: Store the instance move in the MoveJobs
This will automatically sort our Ganeti jobs into the independent job
sets, and then we can submit them separately.
Iustin Pop
06:53 pm Revision 11c684bf: Disallow "xrange" function
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:52 pm Revision f1501b3f: Replace all xrange() with range()
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:48 pm Revision 92e32d76: Move some more type definitions to Types.hs
Iustin Pop
06:37 pm Revision 6b20875c: Add a function converting Placements into Jobs
This converts from htools-specific Placements into Ganeti standard
OpCodes, which will later allow execution via Luxi.
Iustin Pop
06:35 pm Revision 702a4ee0: Add a small implementation of OpCodes
These are just a few opcodes we need for executing instance moves. Iustin Pop
05:52 pm Revision 3173c987: Record the move being performed in a Placement
This will allow a more descriptive output later in the solution list, as
opposed to trying to reconstruct the move fr...
Iustin Pop
03:54 pm Revision a1b5eeaf: Add definitions for more Luxi calls
Iustin Pop
03:54 pm Revision 6583e677: Split the Luxi generic parts from the loader
The Luxi loader implements both a generic Ganeti Luxi client and the
loader; it is better if these two are separated....
Iustin Pop
03:04 pm Revision 008b92fa: More locking tests race conditions fixes
There were more race conditions. By adding a notify function to
SharedLock.acquire we can prevent them.
Signed-off-b...
Michael Hanselmann
03:03 pm Revision 9648f1b4: check-python-code: Show line number for problems
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Michael Hanselmann
02:56 pm Revision 0e8ae201: hbal: Implement grouping of moves into jobsets
Since moving two instances between different node-quadruples (inst X: A,
B → C, D and inst Y: E, F → G, H) can be par...
Iustin Pop
11:59 am Revision 3d9eb52b: LUSetNodeParams: autopromote self when needed
If we're de-offlining or de-draining a node we need to promote it to MC
if we have not enough, or the config will be ...
Guido Trotter
11:58 am Revision 6d7e1f20: Abstract self-promotion decision
During node add we decide whether to self promote to an MC. Abstract
this decision making to a separate function.
Si...
Guido Trotter
11:58 am Revision 44485f49: Fix master candidate removal
Currently during a master candidate removal, when it's possible to
promote another node, the removal operation fails ...
Guido Trotter
11:58 am Revision 8fbf5ac7: LUSetNodeParams: Don't break config on mc demotion.
If --force is used to demote an MC, but then there are not enough MCs in
the cluster, the configuration gets corrupte...
Guido Trotter

10/01/2009

08:37 pm Revision e623dbe3: Master candidate stats, return one more value
Other than returning the current number of candidates, and the number of
desired and possible candidates, we also ret...
Guido Trotter
07:47 pm Revision 34cb5617: SingleActionPipeCondition =~ s/Action/Notify/
With this patch we simplify usage on the SingleActionCondition (which
wasn't a condition at all) by making it a real ...
Guido Trotter
07:46 pm Revision b8140229: testNotification: add more checking about order
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
07:45 pm Revision c5fe2a67: Abstract base condition test cases
This way they can be used to test different condition classes.
Signed-off-by: Guido Trotter <ultrotter@google.com>
R...
Guido Trotter
07:45 pm Revision 63f2e724: Move the "done" queue inside _ThreadedTestCase
All (ok, all but one) _ThreadedTestCase users have a done Queue, so we
move its building in the _ThreadedTestCase set...
Guido Trotter
07:45 pm Revision 2419060d: Abstract "base" condition code in a separate class
Each condition has an underlying lock, the acquire and release methods,
and a few helper methods to check that it's c...
Guido Trotter
07:35 pm Revision a66bd91b: locking.SharedLock: Fix bug in delete function
SharedLock.__acquire_unlocked uses keyword parameters. Just passing
the timeout would set the “shared” parameter.
Si...
Michael Hanselmann
07:17 pm Revision 5e0a6daf: Rename LockSet.acquire parameter “blocking” to “timeout”
Also remove the “blocking” parameter from LockSet.remove and
GanetiLockManager.remove. There's no point in implementi...
Michael Hanselmann
04:59 pm Revision 2042aa94: Try to fix locking unittests
Our automated test system found a few problems in the new locking
unittests. This patch should fix them, although I w...
Michael Hanselmann

09/30/2009

06:35 pm Revision c6997f21: Change SharedLock to new pipe(2)-based condition
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
06:34 pm Revision 48dabc6a: Add _PipeCondition class
_PipeCondition is a condition implemented using pipe(2) and poll(2).
It allows the implementation of timeouts without...
Michael Hanselmann
06:34 pm Revision d76167a5: Add _SingleActionPipeCondition class
This class will be used as a basic block for pipe(2)-based
conditions. Upon initialization it creates a pipe and can ...
Michael Hanselmann
06:33 pm Revision 84e344d4: SharedLock: implement timeouts
This patch greatly simplifies the SharedLock code and implements
timeouts for the acquire() and delete() functions. A...
Michael Hanselmann
05:49 pm Revision 23824641: Extend confd instances ips query
The query now accepts a link parameter.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Guido Trott...
Luca Bigliardi
03:59 pm Revision c8872a0b: Merge remote branch 'origin/master' into mogu
* origin/master:
Fix burnin's verbose mode
Final NEWS update and version increase for 2.0.4
Encode the actual e...
Iustin Pop
03:12 am Revision 1cf97474: Change ExtLoader to only handle I/O errors
Due to the Control.Exception changes between 6.8 and 6.10, using it
portably is difficult. Since we're only intereste...
Iustin Pop

09/29/2009

08:25 pm Revision e73a5804: Improve description of migrate/failover post hooks env
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Luca Bigliardi
08:25 pm Revision 454fe3cd: Update env vars for instances in hooks documentation
Remove variables which are listed at the beginning of the section and variables
which are not declared when building ...
Luca Bigliardi
06:52 pm Revision 88d31e5c: Fix burnin's verbose mode
The timestamp need special formatting, which was done for the internal
buffer storage but not for the messages logged...
Iustin Pop
04:43 pm Revision cf924b6d: Brown-paper-bag release fixing haddock issues
Haddock doesn't like pre-processed files (at least not in all versions).
Thus we need to remove the ExtLoader module ...
Iustin Pop
02:26 pm Revision 12fa49b3: Update NEWS file for the 0.1.7 release
Iustin Pop
02:25 pm Revision 38f536cb: Make the test suite return an reasonable exit code
Test.QuickCheck.Batch.runTests doesn't return any error statistics,
which makes the test suite just display errorrs a...
Iustin Pop
01:31 pm Revision d303fefe: Final NEWS update and version increase for 2.0.4
QA passed successfully, let's try to have a release.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mich...
Iustin Pop
01:06 pm Revision 74554d66: Add initial confd client unittests
Some basic tests for the confd client library
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Micha...
Guido Trotter
01:06 pm Revision a5229439: confd/client: make it possible to update peer list
Until now the peers have to be the same all the time. Adding a new
function to update the list, and call it from the ...
Guido Trotter
12:48 pm Revision 834f8b67: Remove ‘-u’ from masterd shebang
This is not needed anymore - the original change was more than a year
ago when masterd was in its incipient phase.
S...
Iustin Pop

09/28/2009

06:58 pm Revision 5f6f260a: confd/client: pass self to upcalls
It may be handy for upcalls to know which client called them, and call
it back. So we create a new "client" field in ...
Guido Trotter
05:09 pm Revision 685f5bc6: Brown bag fix: invert a test
During testing I used the test inversely to see it triggers correctly,
and committed by mistake the inverted test. Fi...
Iustin Pop
05:09 pm Revision fbb95f28: Turn on, and fix, more warnings
The Makefile was intented to be -Wall and not simply -W, but I missed
that. This enables more warnings and also enabl...
Iustin Pop
04:16 pm Revision 45ab6a8d: Add support for building without curl
Since curl is not always needed (e.g. when only using luxi or less
likely file backends only) and is also not always ...
Iustin Pop
03:50 pm Revision e8f89bb6: Split the exernal data loader out of CLI.hs
Currently the external data loader is in CLI.hs, which makes all
programs that need cli functionality (options, etc.)...
Iustin Pop
12:38 pm Revision ab1a6973: devel/upload.in: make it more project generic
Only install ganeti specific files if they exist. This way we can call
ganeti's devel/upload in another sub-projects ...
Guido Trotter
12:37 pm Revision a9613def: ConfdFilterCallback: fix a bug in expire
The HandleExpire function takes the whole "up" structure, and not just
the salt.
Signed-off-by: Guido Trotter <ultro...
Guido Trotter
12:36 pm Revision 1fea2f0d: ganeti-confd: cleanup imports
Many functionalities of confd have been moved to other classes/modules,
and the main confd daemon doesn't reference t...
Guido Trotter
12:36 pm Revision 0b678558: ganeti-confd: don't depend on the os log dir
ganeti-confd doesn't need to log anything related to os installations.
Signed-off-by: Guido Trotter <ultrotter@googl...
Guido Trotter

09/25/2009

06:56 pm Revision e6345c35: Encode the actual exception raised by LU execution
Currently, the actual exception raised during an LU execution (one of
OpPrereqError, OpExecError, HooksError, etc.) i...
Iustin Pop
06:56 pm Revision a6607331: Move the luxi error handling into errors.py
Currently the luxi error handling is hardcoded as special encoding on
the masterd-side and special decoding on the cl...
Iustin Pop
06:54 pm Revision 31821208: Fix the confusing ssh/hostname message in node add
Before, it used to say:
ssh/hostname verification failed node1.example.com -> hostname mismatch, got
node2
Now ...
Iustin Pop
06:41 pm Revision bae7e531: Add man page for ganeti-cleaner
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:37 pm Revision 392ca296: Implement ConfdFilterCallback
This callback can be stacked with another one, and will filter duplicate
or old results, making handling of results e...
Guido Trotter
05:37 pm Revision ed008420: Remove secrets and kill confd on cluster leave
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:37 pm Revision cf7b0cc4: Confd client: add module level documentation
Populate the docstring with documentation on the client library's usage.
Signed-off-by: Guido Trotter <ultrotter@goo...
Guido Trotter
05:37 pm Revision 7579eb06: Update NEWS file for version 2.0.4
We don't bump up the version yet, pending more QA tests.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
05:14 pm Revision 430b923c: Add uuid on node/instance add and cluster init
This patch does a little bit of cleanup first, since we want to call
GenerateUniqueID without reacquiring the lock.
...
Iustin Pop
05:13 pm Revision 22482387: Fix RAPI QA, broken by NIC parameters changes
This also adds the new nic.links query field.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trott...
Iustin Pop
04:27 pm Revision 8db31d6b: Automatically cleanup _temporary_ids at save
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
(cherry picked from...
Iustin Pop
04:27 pm Revision 26b316d0: Separate the computation of all config IDs
We will need this in another place, so we abstract the 'compute all
current IDs' functionality into a separate functi...
Iustin Pop
04:01 pm Revision 2d90608c: Change config upgrade to be explicit
Currently the config upgrade is done at each object instantiation, that
means that ganeti-noded will run UpgradeConfi...
Iustin Pop
03:22 pm Revision 59b76636: Merge commit 'origin/next'
* commit 'origin/next': (74 commits)
Fix gnt-node modify online help
Fix gnt-job info entry in gnt-job(8)
locki...
Iustin Pop

09/24/2009

06:32 pm Revision 7faf5110: Wrap documentation to max 72 characters per line
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:31 pm Revision 558fd122: Set Vim textwidth in each documentation file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:12 pm Revision c124045f: Add missing import sys to lib/daemon.py
It does “print >> sys.stderr, …” but there is no import sys.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
06:10 pm Revision 56c9a709: Add documentation on manual cluster cleanup
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
05:44 pm Revision ca9ccea8: Add implementation details for 2.1 locking changes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:06 pm Revision d63218ce: KVMHypervisor: wrap long line
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
02:38 pm Revision 7118a0df: Export the uuid in RAPI
This also simplifies a little the field declaration in RAPI.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
02:38 pm Revision 259578eb: Export and show the cluster uuid in cluster info
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:38 pm Revision edc8fc5f: Man page updates for the uuid field
Also corrects wrong indentation in the gnt-instance.sgml file.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
02:37 pm Revision 033d58b0: Implement uuid in gnt-node/instance list and info
The patch modifies LUQueryInstanceData to return the uuid too and also
adds support for it in the gnt-* scripts.
Sig...
Iustin Pop
02:37 pm Revision 19bed813: Simplify handling of regular fields in LUQuery*
For fields that correspond directly to an object's field, we can
simplify the handling. The patch also adds the new '...
Iustin Pop
02:37 pm Revision 76d5d3a3: Automatically fill in missing UUIDs
The patch also starts using the current UUIDs (in the new attributes)
while computing the _AllIDs list.
Signed-off-b...
Iustin Pop
02:37 pm Revision e1dcc53a: Add uuid attributes to configuration entities
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:37 pm Revision 34d657ba: Automatically cleanup _temporary_ids at save
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:36 pm Revision 34e54ebc: Separate the computation of all config IDs
We will need this in another place, so we abstract the 'compute all
current IDs' functionality into a separate functi...
Iustin Pop
01:04 pm Revision 77b076ca: Node init: copy hmac key as well
Without this confd will not start when a node is added to the cluster.
Signed-off-by: Guido Trotter <ultrotter@googl...
Guido Trotter
01:04 pm Revision 9f83899a: Install guide: talk about routing mode
The networking section is updated to talk about both routing and
bridging.
Signed-off-by: Guido Trotter <ultrotter@g...
Guido Trotter
01:04 pm Revision c103d7ae: Unpack the confd reply as an object, from the dict
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:04 pm Revision 8063787e: document the nic link meaning in routed mode
Currently this feature is hypervisor specific, but under kvm we use it
by default (aka: if the user hasn't specified ...
Guido Trotter
01:04 pm Revision 756d5ec3: Update hypervisor installation section
Currently the section is called "Installing Xen" and also mentions KVM.
Updating the title and also make it slightly ...
Guido Trotter
01:04 pm Revision 0a3c881e: KVM nic script: enable interface forwarding
If forwarding is enabled globally this is a no-op. If instead it's
enabled only for some special interfaces where ins...
Guido Trotter
12:53 pm Revision 7c60f7a2: KVM nic script: use routed link as table
In order to be able to maintain the node network standard routing
untouched while routing instance traffic through a ...
Guido Trotter

09/23/2009

06:07 pm Revision 90469357: Confd client: make SendRequest args optional
By default "None" will be used as an args value
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mic...
Guido Trotter
06:07 pm Revision 96e03b0b: Confd client: Change callback model
We move to one callback in total, rather than one per call, and call it
both for server replies and request expiring....
Guido Trotter
06:07 pm Revision 7d20c647: Confd client: make confd port configurable
The port can be now chosen at library init time, with a default of
calling GetDaemonPort.
Signed-off-by: Guido Trott...
Guido Trotter
06:07 pm Revision a3db74e4: Confd client library: enable optional logging
If a logger is passed in, we log some debugging messages that might help
someone who's debugging a confd client to un...
Guido Trotter

09/22/2009

05:37 pm Revision 90d726a8: Change config upgrade to be explicit
Currently the config upgrade is done at each object instantiation, that
means that ganeti-noded will run UpgradeConfi...
Iustin Pop
05:35 pm Revision d01ae714: Confd: add instances IPs query
Extend confd to answer queries about instances IPs.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by:...
Luca Bigliardi
05:01 pm Revision 3a541d90: Fix utils.MatchNameComponent for full matches
While ‘test1’ matches both ‘test1’ and ‘test1.example’, it has a full,
exact match and we should return it if that is...
Iustin Pop
04:32 pm Revision 0f828357: Design doc changes for UUID tracking of objects
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop

09/21/2009

05:31 pm Revision dfc2a24c: Fix _RemoveDisk for file based instances
During 621b7678 two typos were introduced which prevent file based
instances removal to work correctly. Fixing both o...
Guido Trotter
04:31 pm Revision a5b360e4: Re-wrap locking changes design to 76 chars per line
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:13 pm Revision 700bb843: Revert "Include NEWS file in documentation"
This reverts commit 350ecfecca136f50877898774c6b40014b5c2b1c. It broke
distcheck.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
02:08 pm Revision 14ea9302: gnt-instance info: fix nic display
In branch-2.1 the conversion of NICs to Tuples has been unified to the
_NICListToTuple function, which is used by bot...
Guido Trotter
01:28 pm Revision 9b4127eb: cmdlib._CreateDisks fix a broken result.Raise
The format string has the ": %s" at the end, but no argument is passed,
which of course raises a TypeError. Removing ...
Guido Trotter
« Previous
Next »
 

Also available in: Atom