Activity

From 02/06/2014 to 03/07/2014

03/07/2014

08:54 pm Revision 8436d0da: Merge branch 'stable-2.11' into master
* stable-2.11
(no changes)
* stable-2.10
Revision bump for the 2.10.1 release
Update NEWS file for 2.10.1
...
Klaus Aehlig
08:33 pm Revision 205d3309: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Revision bump for the 2.10.1 release
Update NEWS file for 2.10.1
Use node UUIDs for executing LU ...
Klaus Aehlig
07:53 pm ganeti-local Revision 4cbe5138: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix error introduced during merge
gnt-cluster copyfile: accept relative paths
* stable-2.8
Improv...
Klaus Aehlig
07:53 pm Revision 4cbe5138: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix error introduced during merge
gnt-cluster copyfile: accept relative paths
* stable-2.8
Improv...
Klaus Aehlig
07:32 pm ganeti-local Revision ddc64582: Fix error introduced during merge
A parameter was lost while resolving a conflict in the signature of a function.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
07:32 pm Revision ddc64582: Fix error introduced during merge
A parameter was lost while resolving a conflict in the signature of a function.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
07:25 pm ganeti-local Revision 74a4fc94: gnt-cluster copyfile: accept relative paths
If, on the command line, the argument to gnt-cluster copyfile is
a relative path, consider this a shorthand for the c...
Klaus Aehlig
07:25 pm Revision 74a4fc94: gnt-cluster copyfile: accept relative paths
If, on the command line, the argument to gnt-cluster copyfile is
a relative path, consider this a shorthand for the c...
Klaus Aehlig
07:07 pm ganeti-local Revision 85530402: Merge branch 'origin/stable-2.8' into stable-2.9
* stable-2.8
Improve RAPI detection of the watcher
Add patching QA configuration files on buildbots
Enable a ti...
Michele Tartara
07:07 pm Revision 85530402: Merge branch 'origin/stable-2.8' into stable-2.9
* stable-2.8
Improve RAPI detection of the watcher
Add patching QA configuration files on buildbots
Enable a ti...
Michele Tartara
05:22 pm Revision 7ea201c9: Add an asynchronous task for distributing SSConf to nodes
The task computes the SSconf data and compares it to the last state that
was successfully distributed. If it differs,...
Petr Pudlak
05:22 pm Revision a8b9a6e3: Let WConfd distribute SSConf to nodes
.. and remove the corresponding code from lib/config.py.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by:...
Petr Pudlak
05:22 pm Revision 9a8952e0: Add Haskell RPC call for distributing SSConf to nodes
The data is sent as a dictionary mapping file names to lists of lines.
Signed-off-by: Petr Pudlak <pudlak@google.com...
Petr Pudlak
05:22 pm Revision 3fb0d66f: Let the SSConf RPC server side handle lists
Since on Haskell side we represent SSConf as list of lines, let the
Python side understand it as well.
Signed-off-by...
Petr Pudlak
05:22 pm Revision 1f87d93d: Add a test for (de)serialization of Ssconf
.. to verify that readJSON . showJSON = Ok.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig...
Petr Pudlak
05:22 pm Revision 41ea331e: Let WConfd distribute the configuration to MCs
.. and remove the distribution from lib/config.py
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus ...
Petr Pudlak
05:22 pm Revision ce52f060: Add a data type for representing the complete SSConf
.. as a map from SSKeys to lists of strings.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehli...
Petr Pudlak
05:22 pm Revision 3d148957: Improve Haskell functions for managing the UidPool
Add a formatting function that is needed by Ssconf.
Also expose 'ipFamilyToRaw', which is needed as well.
Signed-off...
Petr Pudlak
05:22 pm Revision 6b76931c: Add missing keys to Ganeti.Ssconf
These keys were probably introduced only in Python later and weren't
added to the Haskell code.
Signed-off-by: Petr ...
Petr Pudlak
05:22 pm Revision 9faf1c01: Add Foldable/Traversable instances for GenericContainer
This makes working with it easier as it allows use of many standard
functions.
Signed-off-by: Petr Pudlak <pudlak@go...
Petr Pudlak
05:22 pm Revision 94c7e022: Function that distributes the configuration to MCs
Also refactor helper functions in WConfd/ConfigWriter into smaller ones
and add helpers for RPC calls.
Signed-off-by...
Petr Pudlak
05:22 pm Revision a1f35d0a: Add a function for listing online nodes to Haskell
.. and also simplify 'getMasterCandidates'.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig...
Petr Pudlak
05:22 pm Revision b6eee126: Add the RPC call for uploading a file to Haskell
.. and also add a function that prepares the call from a given file.
Signed-off-by: Petr Pudlak <pudlak@google.com>
...
Petr Pudlak
05:22 pm Revision 2f254850: Functions for conversions between POSIX time and ClockTime
This will be needed by the RPC calls to convert Haskell native
representation to the one used in RPC.
Signed-off-by:...
Petr Pudlak
05:22 pm Revision 129bde01: Add reverse mappings to RuntimeEnts from UIDs to names
.. and GIDs to names. Also create a proper data type for it.
The reverse mapping to names is needed for properly tr...
Petr Pudlak
05:22 pm Revision b3590640: Add a new RPC server call for uploading a single file
The server side processes the request exactly the same as for
"upload_file".
Unlike "upload_file", the new call "upl...
Petr Pudlak
05:22 pm Revision 127266b4: Add more meaningful error messages to asserts in vcluster
.. to simplify debugging of RPC calls.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aeh...
Petr Pudlak
05:22 pm Revision d6f05205: Create a data type for representing RPC compressed data
It is serialized as a JSON pair. The first element is a number
describing the compression type, the second element th...
Petr Pudlak
05:22 pm Revision 8c337f87: Add a module for handling compression
Since the Haskell 'zlib' library by default uses exceptions for
signalling errors, we need to use its internals to im...
Petr Pudlak
05:22 pm Revision 8e527d04: Enhance logRpcResults to also return the list of errors
It is common to log all RPC errors and then check if there were any.
Since 'logRpcResults' needs to filter the errors...
Petr Pudlak
05:22 pm Revision e45eeb79: Use lenses for modifying DaemonState in WConfd
This removes the verbose code for record updating and leads to more
point-free code.
Signed-off-by: Petr Pudlak <pud...
Petr Pudlak
05:22 pm Revision 0d1d2d22: Write the configuration only if it changed
.. to avoid expensive operation when they're not actually needed.
Comparing the two objects in memory is much less co...
Petr Pudlak
05:22 pm Revision 227c0ef3: Add a module for generated lenses for Ganeti.Objects
The module also adds type classes for lenses for common fields (serial,
mTime, uuid and tags).
Splitting the lenses ...
Petr Pudlak
05:22 pm Revision ba40281b: Add a module for custom generic Lens functions
The module currently re-exports Control.Lens and adds a function that
creates lenses from data types by appending 'L'...
Petr Pudlak
05:22 pm Revision eb9d2acc: Add 'lens' Haskell dependency
.. that will be used in WConfd
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@goog...
Petr Pudlak
05:22 pm Revision 6696f1f9: Add a helper for creating 'FileMode' fields
.. which will be used for RPC objects.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aeh...
Petr Pudlak
05:22 pm Revision 72375ff8: Move helpers for specific fields into a separate module
These helpers aren't needed by other code in Ganeti.THH and since the
module is already large, it'll be better to sep...
Petr Pudlak
05:22 pm Revision 1e0d1a19: Add a helper to ConfigWriter for creating async. workers
In particular, stateful workers that can fail with an error, in which
case the error is logged and the state remains ...
Petr Pudlak
05:22 pm Revision 731152ce: Add a module for constructing Ssconf from the configuration
This migrates the functionality from Python
ConfigWriter._UnlockedGetSsconfValues to Haskell.
Signed-off-by: Petr Pu...
Petr Pudlak
05:15 pm ganeti-local Revision 6177890b: Improve RAPI detection of the watcher
If the watcher is not allowed to access RAPI, it doesn't mean that it is dead
and needs to be restarted.
Fixes Issue...
Michele Tartara
05:15 pm Revision 6177890b: Improve RAPI detection of the watcher
If the watcher is not allowed to access RAPI, it doesn't mean that it is dead
and needs to be restarted.
Fixes Issue...
Michele Tartara
04:02 pm Revision 342b888d: Update style guide with respect to Haskell imports
With the number of imports increasing, our style has
evolved over time.
- We don't distinguish between standard and ...
Klaus Aehlig
02:16 pm Revision 9558c2a4: Clean up RunWithLocks
This patch cleans RunWithLocks up a little bit by reducing the number
of delay function terminations, and using the Q...
Hrvoje Ribicic
02:16 pm Revision e677d5e8: Add an exception-trapping thread class
To have better control over threads, this patch adds a helper Thread
subclass which captures any exceptions occurring...
Hrvoje Ribicic
02:16 pm Revision fbab1c76: Wait for delay to provide interruption information
The RunWithLocks test assumed that gnt-debug delay would have the info
needed for interruption ready immediately afte...
Hrvoje Ribicic
01:59 pm ganeti-local Revision b7630577: Add patching QA configuration files on buildbots
In order to work, it is necessary:
* Write a JSON Patch to file "qa/qa-patch.json" in a source repository.
(And be ...
Petr Pudlak
01:59 pm Revision b7630577: Add patching QA configuration files on buildbots
In order to work, it is necessary:
* Write a JSON Patch to file "qa/qa-patch.json" in a source repository.
(And be ...
Petr Pudlak
12:08 pm Revision 874f6148: Enable a timeout for instance shutdown
Add the timeout parameter to the StopInstance function of the hypervisor base
class and to all its implementations.
...
Michele Tartara
12:08 pm ganeti-local Revision 874f6148: Enable a timeout for instance shutdown
Add the timeout parameter to the StopInstance function of the hypervisor base
class and to all its implementations.
...
Michele Tartara
12:08 pm Revision 2a2d087a: Allow KVM commands to have a timeout
Modify the function that sends commands to the KVM monitor so that it is
possible to specify an optional timeout afte...
Michele Tartara
12:08 pm ganeti-local Revision 2a2d087a: Allow KVM commands to have a timeout
Modify the function that sends commands to the KVM monitor so that it is
possible to specify an optional timeout afte...
Michele Tartara
12:07 pm ganeti-local Revision 7066724d: Allow xen commands to have a timeout
Modify the function that runs Xen commands so that it is possible to specify an
optional timeout after which the comm...
Michele Tartara
12:07 pm Revision 7066724d: Allow xen commands to have a timeout
Modify the function that runs Xen commands so that it is possible to specify an
optional timeout after which the comm...
Michele Tartara
12:07 pm ganeti-local Revision 76e2e6f6: Fix wrong docstring
Fields must be the final elements in an epytext string.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewe...
Michele Tartara
12:07 pm Revision 76e2e6f6: Fix wrong docstring
Fields must be the final elements in an epytext string.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewe...
Michele Tartara
10:57 am Revision f3010b75: Also clean up stale livelock files
Upon detection of a stale livelock, make WConfD also
try to clean it up. We can safely ignore any failures,
as the Ga...
Klaus Aehlig
09:35 am Revision 01e7bf98: Add Haskell dependency on 'lens'
.. which will be needed soon for WConfd.
While at it, also ensure we have the required version of
base64-bytestring....
Petr Pudlak
09:35 am Revision 885759da: Refactor warnings issued by the latest 'hlint'
.. as the newest version of hlint adds additional checks
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by:...
Petr Pudlak
09:35 am Revision 33ead7a7: devel: Instal vanilla GHC7 in the squeeze schroot
Since the default GHC6 isn't usable for modern libraries and starting
from wheezy there is GHC7 anyway, download and ...
Petr Pudlak
09:35 am Revision 58bcf276: devel: Make the built schroots rsync-able, if available
This speeds down transferring them to buildbots, at a negligible size
cost.
Signed-off-by: Petr Pudlak <pudlak@googl...
Petr Pudlak

03/06/2014

05:35 pm Revision 8a37b426: Use correct lockfile for gnt-debug wconfd
As jobs are currently running in masterd, use the masterd livelock
file.
Signed-off-by: Klaus Aehlig <aehlig@google....
Klaus Aehlig
05:35 pm Revision a0a92e23: Add utility to guess livelock file for an owner
As livelock files are constructed in a systematic manner,
we can guess what the livelock file for a given owner is.
W...
Klaus Aehlig
05:35 pm Revision 25e9f9b2: Make masterd create a livelock file
...so that it can request resources from WConfd.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr P...
Klaus Aehlig
05:35 pm Revision 1de2b387: Rename setup_queue to setup_context in masterd
...as this function sets up a much richer context than just
the job queue, including the current lock management.
Si...
Klaus Aehlig
05:35 pm Revision a8c2197d: Add utilities for liveliness lock files
To request resources from WConfD, requesters have to provide
the name of a file they own an exclusive lock on. In thi...
Klaus Aehlig
05:35 pm Revision 5d83892f: Ensure the existence of LIVELOCK_DIR
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Klaus Aehlig
05:35 pm Revision 38e28375: Add a path to store the lock files presented to WConfD
When requesting resources from WConfD, a file has to be
presented where an exclusive lock is owned on, so that
WConfD...
Klaus Aehlig
05:35 pm Revision db0d2ee9: In WConfD run a cleanup task
Add the cleanup task for locks of died owners to WConfD,
as a separate thread.
Signed-off-by: Klaus Aehlig <aehlig@g...
Klaus Aehlig
05:35 pm Revision b57c50de: Provide a periodic lock cleanup task
Provide a task that periodically checks for all locks
owners whether they are still alive. If not, it cleans
up their...
Klaus Aehlig
05:35 pm Revision a15072d7: Add a constant for the polling of jobs death
Add a constant for the time interval at which WConfD checks for
resource owners that have died and cleans up their re...
Klaus Aehlig
05:35 pm Revision 01a9a382: Verify that all lock owners indeed own a lock
Add a test verifying that the list of lock owners is not
too big in the sense that every subject contained in that
li...
Klaus Aehlig
05:35 pm Revision 27f28739: Verify the list of lock owners is complete
In other words, verify that if all the lock owners release their
locks, the empty lock allocation is reached.
Signed...
Klaus Aehlig
05:35 pm Revision 26436ab5: Add a function to determine the lock owners
To allow for clean up, add a function that provides the list
of all the owners holding at least one lock.
Signed-off...
Klaus Aehlig
05:35 pm Revision bacb44fe: Add a function to detect death of a job
With jobs running in processes different from the lock management soon,
we need to detect if a job holding locks dies...
Klaus Aehlig

03/05/2014

02:17 pm Revision 0f6997b9: Merge branch 'stable-2.11' into master
* stable-2.11
Convert int to float when checking config. consistency
Updateing release date to tomorrow
Revisio...
Klaus Aehlig
01:51 pm Revision f1638b0b: Convert int to float when checking config. consistency
When reading the configuration file from RPC JSON, values without a
floating point are parsed as 'int', not as 'float...
Petr Pudlak
11:21 am Revision a6986cfb: Update the NEWS file
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Hrvoje Ribicic
11:21 am Revision 57efdaf5: Add an expected block option to RunWithLocks
To compensate for the cases where a QA test is supposed to block when
a lock is present, add an additional option sho...
Hrvoje Ribicic
11:21 am Revision 34c5ec6c: Track if a QA test was blocked by locks
This patch adds threading to the RunWithTests function, allowing one
thread to execute the QA test, and the other to ...
Hrvoje Ribicic
11:21 am Revision ffafdcf6: Add option to turn off command logging to GetCommandOutput
The command logging performed by GetCommandOutput can be distracting
and unwelcome. This patch adds a switch allowing...
Hrvoje Ribicic
11:21 am Revision 1de1cd0c: Add an option for disabling the SSH multiplexer in QA
The SSH multiplexer is used by default in every connection made, and
when multiple threads are used, this causes stra...
Hrvoje Ribicic
11:21 am Revision 343c9ed2: Add a RunWithLocks QA utility function
This patch adds a QA utility function that acquires a set of locks, and
attempts to run a given function with the loc...
Hrvoje Ribicic
11:21 am Revision 6b924ca3: Sort imports in qa_rapi.py
This patch sorts the imports of qa_rapi.py to make things a little bit
more orderly.
Signed-off-by: Hrvoje Ribicic <...
Hrvoje Ribicic
11:21 am Revision fe5144b0: Align timestamps in gnt-job info
This patch aligns the timestamps output as a part of gnt-job info, and
performs minor refactorings in the process.
S...
Hrvoje Ribicic
11:21 am Revision d0202de7: Add alignment support to PrintGenericInfo
Aligning dictionary entries makes no difference to a YAML parser, but
makes the output much easier to read and compar...
Hrvoje Ribicic
11:21 am Revision 087f5520: Make gnt-job info output valid YAML
This patch changes gnt-job info to use standard functions defined in
cli.py, and output valid YAML.
Signed-off-by: H...
Hrvoje Ribicic
11:21 am Revision 9ec1bcbd: Make PrintGenericInfo handle tuples better
The PrintGenericInfo function in cli.py did not handle tuples as
containers of items, making it impossible for these ...
Hrvoje Ribicic
11:21 am Revision 5fb7679c: Refactor move-instance QA test
The move-instance QA test will have to be changed in the following
patches to allow testing opportunistic locking.
T...
Hrvoje Ribicic
11:21 am Revision 9dc47292: Make gnt-debug delay interruptible
The gnt-debug delay command could be useful as a means of acquiring
locks for testing purposes. In practice, to be us...
Hrvoje Ribicic
11:21 am Revision 22c828a9: Add new log type
Following the example of the job-queue test, the delay also defines a
log message type of its own.
Signed-off-by: Hr...
Hrvoje Ribicic
11:21 am Revision 787074d5: Add the interruptible option to gnt-debug delay
This patch allows the opcode option to be used through the gnt-debug
client.
Signed-off-by: Hrvoje Ribicic <riba@goo...
Hrvoje Ribicic
11:21 am Revision 2868f3f7: Add the interruptible option to the delay opcode
To prepare for the use of sockets to interrupt a running delay opcode,
this patch adds an option to the opcode for do...
Hrvoje Ribicic
11:21 am Revision c346d0ac: Factor Unix domain socket creation into helper class
As the delay class will also have to start using domain sockets,
extract the functionality into a helper class.
Sign...
Hrvoje Ribicic
11:21 am Revision a9a3416e: Fix minor accidental concatenation
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Hrvoje Ribicic
11:21 am Revision aa14fb0a: Fix failing tests
The previously introduced changes caused some tests to fail. This patch
alters the tests to expect different values, ...
Hrvoje Ribicic
11:21 am Revision 8631b46b: Handle incorrect duration more elegantly
The previous version of the LUTestDelay opcode relied on the utility
function complaining about the negative duration...
Hrvoje Ribicic
11:21 am Revision 36870aa1: Make gnt-debug delay command run in parallel
The gnt-debug delay command executes the delay first on the master, and
only then on all the other nodes, causing a s...
Hrvoje Ribicic
11:21 am Revision 47c43de1: Extend RAPI client constant unit test with error codes
The RAPI client is meant to be independent from the wider Ganeti
codebase, but it still needs to use Ganeti constants...
Hrvoje Ribicic
11:20 am Revision 363e2869: Fix typo in RAPI client utility
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Hrvoje Ribicic
11:20 am Revision 4fe43605: Add variation to delays between creation attempts
Attempting to acquire node locks with a certain fixed delay could lead
to unwanted synchronization with other process...
Hrvoje Ribicic
11:20 am Revision a396b2d6: Implement opportunistic locking in the move-instance tool
This patch allows opportunistic instance creations to be attempted,
with a delay between them giving nodes the opport...
Hrvoje Ribicic
11:20 am Revision 2c4ec08e: Add options for opportunistic creation during moves
To start off the introduction of oppportunistic locking during instance
creation, this patch adds the options allowin...
Hrvoje Ribicic
10:58 am Revision ec3a7362: Remove duplicated '_CheckOSVariant'
It seems '_CheckOSVariant' was moved from 'ganeti.cmdlib.instance' to
'ganeti.cmdlib.instance_utils' but the source w...
Jose A. Lopes

03/04/2014

06:31 pm Revision b7d4a7c5: Updateing release date to tomorrow
Since the release could not be made today, let's prepare
it for tomorrow.
Signed-off-by: Helga Velroyen <helgav@goog...
Helga Velroyen
06:14 pm Revision bd701370: Revision bump for the 2.11.0~beta1 release
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Helga Velroyen
06:14 pm Revision a1116f57: Set release date of 2.11 beta1
Set the release date of 2.11 beta1 in the NEWS file.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: ...
Helga Velroyen
05:19 pm Revision 91f0dc1e: Add a helper function for testing 'ArrayObject' instances
It checks if 'fromJSArray . toJSArray' is equivalent to 'Ok'.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewe...
Petr Pudlak
05:19 pm Revision 0b3a266d: Test the instance 'ArrayObject Disk'
.. which is one of the few ones that use extra fields.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: K...
Petr Pudlak
05:19 pm Revision 35cded14: Use 'ArrayObject' in Ganeti.RPC instead of manual encoding
Before most of the calls were implemented manually, ignoring any
generated code for maniupulating JSON. Using 'ArrayO...
Petr Pudlak
05:19 pm Revision 26e32dee: Move 'DictObject' and 'ArrayObject' to Ganeti.JSON
The type classes are more closely related to JSON and for using them
it should not be necessary to import Ganeti.THH....
Petr Pudlak
05:19 pm Revision c2e136e2: Enhance DictObject and refactor loading/saving TH functions
Since there is already `DictObject` type class which could share code
with generated instances of `showJSON`, the gen...
Petr Pudlak
05:19 pm Revision 0df2d967: Document 'fieldExtraKeys' in 'Field'
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Petr Pudlak
05:19 pm Revision 58b37916: Remove toDist... functions completely
Since thre already is `DictObject` class with `toDict`, there is no need
for them, just polluting the name space.
Si...
Petr Pudlak
05:19 pm Revision 948f6540: Add a typeclass for type serializable as a JSON array
This is in particular needed for RPC requests which are serialized this
way and therefore using `showJSON` on the gen...
Petr Pudlak
05:03 pm Revision 1d4febbd: Write lock state to disk after updates
Make use of asynchronous worker to save to log status after every
update. The answer to the query is only returned, o...
Klaus Aehlig
05:03 pm Revision 61fd6337: Provide an asynchronous task for writing lock status
It will be used to persist the state of the lock allocation on
disk, allowing locks to survive reboots of WConfD.
Si...
Klaus Aehlig
02:35 pm ganeti-local Revision 714022e4: Revision bump for the 2.10.1 release
Set the version to 2.10.1.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Helga Velroyen <helgav@...
Thomas Thrainer
02:35 pm Revision 714022e4: Revision bump for the 2.10.1 release
Set the version to 2.10.1.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Helga Velroyen <helgav@...
Thomas Thrainer
02:35 pm ganeti-local Revision 53332264: Update NEWS file for 2.10.1
Set the release date to tomorrow and mentioned fixed bugs in the NEWS
file.
Signed-off-by: Thomas Thrainer <thomasth...
Thomas Thrainer
02:35 pm Revision 53332264: Update NEWS file for 2.10.1
Set the release date to tomorrow and mentioned fixed bugs in the NEWS
file.
Signed-off-by: Thomas Thrainer <thomasth...
Thomas Thrainer
02:27 pm Revision 69809ae3: Verify the intervall property of GanetiLocks
According to the specification in our design, if A is a group
lock and B belogs to this group, then all locks between...
Klaus Aehlig
02:27 pm Revision 2e1399da: Update Arbitrary GanetiLocks
With the extension of Ganeti.Locking.Locks.GanetiLocks to the
full lock hierarchy, also extend the instantiation of A...
Klaus Aehlig
02:27 pm Revision cf7f8e51: Verify implication restriction on locks
As specified in our design, if A is a group lock and B
belongs to A, then A must be earlier in the lock order
than B....
Klaus Aehlig
02:27 pm Revision ec2355ad: Add Ganeti Lock Hierarchy
Make Ganeti.Locking.Locks.GanetiLocks present the full Ganeti
lock hierarchy. This is in accordance with the current ...
Klaus Aehlig
02:26 pm Revision 79786c6b: Serialize locks as JSON strings
...as the current Python implementation does as well.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: P...
Klaus Aehlig
11:41 am ganeti-local Revision ff1c051b: Use node UUIDs for executing LU hooks
LUNodeAdd, the only LU using a node name still, is changed to overwrite
PreparePostHookNodes() and use node UUIDs onl...
Thomas Thrainer
11:41 am Revision ff1c051b: Use node UUIDs for executing LU hooks
LUNodeAdd, the only LU using a node name still, is changed to overwrite
PreparePostHookNodes() and use node UUIDs onl...
Thomas Thrainer
11:40 am ganeti-local Revision 237a833c: Add PreparePostHookNodes to LUs
This method can be used to alter the list of node UUIDs on which post
hooks are executed. PreparePostHookNodes is cal...
Thomas Thrainer
11:40 am Revision 237a833c: Add PreparePostHookNodes to LUs
This method can be used to alter the list of node UUIDs on which post
hooks are executed. PreparePostHookNodes is cal...
Thomas Thrainer
11:35 am ganeti-local Revision 510f672f: Fix error propagation in post-commit hooks
An error in the post-commit hooks could not be propagated correctly and could
result in e.g. the return code of gnt-c...
Michele Tartara
11:35 am Revision 510f672f: Fix error propagation in post-commit hooks
An error in the post-commit hooks could not be propagated correctly and could
result in e.g. the return code of gnt-c...
Michele Tartara

03/03/2014

06:05 pm Revision 5d7ac40f: Export opportunistic lock union through WConfd
Make WConfD provide a function to opportunistically allocate
locks.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
...
Klaus Aehlig
06:05 pm Revision dee434c2: Support name generation for pairs
Add support for naming of python variables if the type
is a pair.
Note: on older versions of haskell, Q is not an in...
Klaus Aehlig
06:05 pm Revision 66927d09: Export lock intersection through WConfD
Export the functionality to restrict the owned locks to a given set.
Signed-off-by: Klaus Aehlig <aehlig@google.com>...
Klaus Aehlig
06:05 pm Revision b4d1b49f: Export freeLocks through WConfD
Export the functionality to free all locks of a given
owner.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
06:05 pm Revision 032befbd: Add lock modification without result to WConfdMonad
Enrich the structure of WConfdMonad by a convenience
wrapper around modifyLockAllocation for the case that
the modifi...
Klaus Aehlig
06:05 pm Revision f919184d: Export updateLocks through WConfD
Export the functionality to update the locks of a given
owner through WConfD.
Signed-off-by: Klaus Aehlig <aehlig@go...
Klaus Aehlig
06:05 pm Revision 62f1e053: Add serialization for LockRequest GanetiLocks
Add a module describing how abstract requests, like lock requests are
passed over the wire to WConfD.
Signed-off-by:...
Klaus Aehlig
06:05 pm Revision 5dd9a07e: Add listlocks to gnt-debug wconfd
So that wconfd's locking can be debugged directly.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr...
Klaus Aehlig
06:05 pm Revision 84640a93: Export listing of locks
Make WconfD answer requests about the locks of a specific
owner.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Rev...
Klaus Aehlig
06:05 pm Revision 3e80d1b7: Support reading the lock allocation in WConfdMonad
As opposed to the atomic modify-and-read provided my modifyLockAllocation,
no storing is necessary here.
Signed-off-...
Klaus Aehlig
06:00 pm Revision bc69c426: Stop watcher from restarting down instances during an opcode
This patch changes the watcher to check whether an instance that is
down is also locked by some LU before attempting ...
Jose A. Lopes

02/28/2014

03:44 pm Revision 51b69fc8: Remove unused import in rpc/transport.py
.. which got there by mistake.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@goog...
Petr Pudlak
03:39 pm Revision 71b770a9: Merge branch 'stable-2.11' into master
* stable-2.11
Setting correct permissions of client cert (split-user)
Add luxid group to 'users-setup'
Add some...
Klaus Aehlig
03:00 pm Revision f3aebf6f: Retry luxi/wconfd RPC calls if the connection is closed
Since the daemon can decide to close a client connection after a
timeout, the client needs to be able to automaticall...
Petr Pudlak
02:31 pm Revision 2992f2f7: Fix generic uncurrying
in the case of n>1, the n-ary uncurry function is of the form
\f (x_1, ..., x_n) -> ... rather than \f x_1 ... x_n ->...
Klaus Aehlig
02:08 pm Revision e715a6d6: Add --mac-prefix to gnt-cluster modify manpage
Update the manpage for mac-prefix modification in 'gnt-cluster modify'
command.
Signed-off-by: Dimitris Bliablias <b...
Dimitris Bliablias
02:08 pm Revision b4726cd7: Add unittest for gnt-cluster modify --mac-prefix
Add unittest for cluster mac-prefix modification support.
Signed-off-by: Dimitris Bliablias <bl.dimitris@gmail.com>
...
Dimitris Bliablias
02:08 pm Revision 0cffcdb1: Allow cluster mac prefix modification
Extend LUClusterSetParams to allow the modification of the cluster
mac-prefix setting in 'gnt-cluster modify' command...
Dimitris Bliablias
02:08 pm Revision 353bd75b: Show mac prefix setting in gnt-cluster info
Include mac-prefix setting in the output of 'gnt-cluster info'
command.
This fixes part of issue 239.
Signed-off-by...
Dimitris Bliablias
11:06 am Revision 22114677: Setting correct permissions of client cert (split-user)
This patch makes sure that the client certificate gets
the right permissions and owner when created. Additionally
it ...
Helga Velroyen
11:06 am Revision 7d720a67: Add luxid group to 'users-setup'
The creation of the luxid group was missing in the
'users-setup' script. Ganeti will refuse to start
if this group do...
Helga Velroyen
10:58 am Revision 10df0dfe: Add documentation for "gnt-debug wconfd"
The missing part caused a doclint test to fail.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Jose A. ...
Petr Pudlak

02/27/2014

07:15 pm Revision f33307bd: Add a command to gnt-debug to test various aspects of wconfd
For debugging purpose, support direct communication to WConfD from
the commandline for some of its commands. For the ...
Klaus Aehlig
05:28 pm Revision 46ae85de: Add some whitespace to fix formatting
Some error messages were lacking some spaces between lines
to make it more readable.
Signed-off-by: Helga Velroyen <...
Helga Velroyen
05:28 pm Revision da27bc7d: Consider old client cert only when available
This fixes a bug which occurred only after upgrading
from 2.10 to 2.11. During the cluster renew-crypto
operation, Ga...
Helga Velroyen
05:11 pm Revision b3724640: Fix return of 'Validate'
* fix return of 'Validate' in docstrings
* fix all call sites
* fix all tests
Signed-off-by: Jose A. Lopes <jabolope...
Jose A. Lopes
04:33 pm Revision e1e36b88: Locks are owned by job id file path pairs
...according to our updated design.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak...
Klaus Aehlig
04:33 pm Revision b28f715a: Remove the client state from WConfD monad
As we decided to keep our protocols stateless, the client
state is no longer needed.
Signed-off-by: Klaus Aehlig <ae...
Klaus Aehlig
04:33 pm Revision 7786784e: design: keep WConfD's protocols stateless
To simplify the setup, keep all protocols of WConfD stateless. This implies
that the job id has to be sent with every...
Klaus Aehlig
04:04 pm Revision ef89d9d5: Have SubmitManyJobs add entries to the reason trail
Not only SubmitJobToDrainedQueue (and therefore SubmitJob) but also
SubmitManyJobs has to add "gnt:opcode:*" entries ...
Michele Tartara
03:51 pm Revision 8a7738b9: Fix the dependencies of Makefile.ghc
Include only the programs that were configured to be built, and let GHC
figure out the required Haskell sources by it...
Petr Pudlak
03:50 pm Revision 7959b875: Include mond and confd only when configured
Previously they were included no matter of what the configuration was,
failing to compile if some of the dependencies...
Petr Pudlak
03:17 pm Revision 830b09dd: Add reason trail pickup constant
Add a constant for the reason trail, representing the pickup of a job from the
disk.
Also, refactor a bit the other ...
Michele Tartara
03:17 pm Revision be6cdf67: Add reason for job pickup to the trail
Add a new entry in the reason trail when a job is picked up by MasterD from the
hard drive, after LuxiD put it there....
Michele Tartara
03:17 pm Revision 653bc0f1: Make the AddReason method public
It will need to be accessed from outside the class too in one of the next
commits.
Signed-off-by: Michele Tartara <m...
Michele Tartara
03:17 pm Revision 0c779689: Have LuxiD add the "gnt:opcode" reason trail entry
The entry used to be added in jqueue.py, but after switching the queue
management from masterd to luxyd it had been l...
Michele Tartara
03:17 pm Revision 65a3ff88: Add function for extending the reason trail in Luxid
The function will be used by the next commit.
Also, remove a few trailing whitespaces lying around the file.
Signed...
Michele Tartara
01:52 pm Revision 39e169c9: Update INSTALL wrt missing dependencies
This patch updates the quick installation guide with
with respect to some missing dependencies. Besides,
it rephrases...
Helga Velroyen
12:29 pm Revision 8ffd7e4b: hsqueeze also partially implemented in 2.11
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
12:28 pm Revision 25cf4130: Let config.py use WConfd for reading/writing the config
Currently it only relays the reads/writes to the file to WConfd,
everything else yet remains in config.py.
Also if t...
Petr Pudlak
12:27 pm Revision 80a56f26: Start WConfd temporarily during master failover
.. in order to update the configuration and distribute ssconf, before
starting the daemons by the scripts.
Signed-of...
Petr Pudlak
12:27 pm Revision c0eb47b9: Include WConfd in the list of daemons started on a master
.. and make it the first one so that masterd can use it when it starts.
Signed-off-by: Petr Pudlak <pudlak@google.co...
Petr Pudlak
12:27 pm Revision 08fcaf55: Add missing constant for the name of WConfd
The constant is used when calling the daemon startup/shutdown scripts.
Signed-off-by: Petr Pudlak <pudlak@google.com...
Petr Pudlak
12:27 pm Revision bc820a01: Add the --force-node option to WConfd
.. and fix the superfluous options list in ganeti-wconfd.hs
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-...
Petr Pudlak
12:27 pm Revision 9a0b8258: Add an option for disabling node checks at daemon startup
This is needed for WConfd, because during failover it needs to be
temporarily started in order to update the configur...
Petr Pudlak
12:27 pm Revision 710a2863: Convert int to float when checking config. consistency
When reading the configuration file from RPC JSON, values without a
floating point are parsed as 'int', not as 'float...
Petr Pudlak
12:18 pm Revision 803dafcd: While at it, fix the order of imports in OpCodes.hs
.. so that Ganeti imports are below library imports and ordered
alphabetically.
Signed-off-by: Petr Pudlak <pudlak@g...
Petr Pudlak
12:18 pm Revision e713a686: Add a function for generating OpCode reason src. names
The function convert the opcode name to lowercase with underscores,
strips the 'Op' prefix and prepends Constants.opc...
Petr Pudlak
12:18 pm Revision ffdcc263: Add a TH function for lower-cased stripped opcode names
The function strips the 'Op' prefix from a constructor name and converts
it to lower-case with underscores.
Signed-o...
Petr Pudlak
12:18 pm Revision 8aab74e9: Generalize genConstrToStr to custom monadic functions
This will allow compile-time checks for constructor names.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-b...
Petr Pudlak

02/26/2014

07:17 pm Revision 5ca6adf5: Prefer unless over when (not...)
...and by doing so, please lint.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@g...
Klaus Aehlig
06:23 pm Revision 5e26a86e: At startup, make WConfD read the lock allocation from disk
On startup, make wconfd read a the state of the lock allocation from disk,
instead of starting from an empty allocati...
Klaus Aehlig
06:23 pm Revision f3eb4bfd: Provide path to persist locks
As we aim to handle jobs as separate processes with locks
handled by WConfD, we need to persist the locks to ensure
t...
Klaus Aehlig
06:23 pm Revision c8751a72: Add a function to load lock allocation from disk
Lock allocation are stored on disk as their JSON representation.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Rev...
Klaus Aehlig
06:23 pm Revision e3b02e1f: Verify serialization/deserialization consistency for Locks
As we made Ganeti.Locking.Locks an instance of JSON, we better verify
that we can readJSON what we showJSON.
Signed-...
Klaus Aehlig
06:23 pm Revision 15a53b1e: Make Locks a JSON instance
As requests to acquire or release locks come via
inter-process communication, we need a serialization
of the locks da...
Klaus Aehlig
06:23 pm Revision 89d140d1: Add test for serialization of LockAllocation
Verify readJSON . showJSON = Ok for LockAllocations.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Pe...
Klaus Aehlig
06:23 pm Revision 71dc39a1: Make LockAllocation an instance of JSON
In this way, we can serialize a lock state to disk, so that
locks can survive a restart of WConfD.
Signed-off-by: Kl...
Klaus Aehlig
05:50 pm Revision d977f86c: Merge branch 'stable-2.11' into master
* stable-2.11
Add query support for locks to luxid (cherry-pick)
Provide fields for lock queries (cherry-pick)
...
Hrvoje Ribicic
03:48 pm Revision a8c1f633: Merge branch 'origin/stable-2.10' into stable-2.11
* stable-2.9
Make gnt-debug locks display fake job locks properly
Make NiceSort treat integers well
Revision bu...
Hrvoje Ribicic
03:04 pm Revision 508c7d70: Add query support for locks to luxid
While requests only get forwarded, it still helps to
get luxid feature-complete with respect to master.
Signed-off-b...
Klaus Aehlig
03:04 pm Revision 014eaaa0: Provide fields for lock queries
For luxid to be feature-complete with respect to masterd, it
also needs to answer requests about locks. This includes...
Klaus Aehlig
02:07 pm Revision 59651d52: Export reading and writing the configuration using RPC
Note that currently these functions lack any kind of locking and
concurrent calls to 'writeConfig' will result in los...
Petr Pudlak
02:07 pm Revision 833c32b3: Add a module for functions specific to config. management
.. and include ConfigData in WConfd's ConfigState.
Currently it includes functions for asynchronous saving the
confi...
Petr Pudlak
02:06 pm Revision 13d26b66: Add more general conf. handling functions to WConfd's Monad
Add functions for reading and writing the configuration. Writing
triggers the asynchronous worker which saves the con...
Petr Pudlak
02:06 pm Revision a6a6a1b5: Add functions for saving the configuration to Ganeti.Config
.. so that it can be not only read, but also written to the master
configuration file.
Signed-off-by: Petr Pudlak <p...
Petr Pudlak
02:06 pm Revision c5f6dcdf: Add a module for creating and using asynchronous workers
Each such worker has its own background thread and performs a given
task when triggered. Triggers arriving when the w...
Petr Pudlak
02:06 pm Revision 5f6515b6: A separate module for functions for atomic file operations
Utils is getting too big, so better split this new set of functions into
a separate sub-module. This also allows us t...
Petr Pudlak
02:06 pm Revision 0efada2a: Add a function for lifting ResultT from a MonadBase
Often we have `ResultT e IO a` as the return type of our primitive
functions and we need to lift them into a monad st...
Petr Pudlak
02:06 pm Revision 32be18fc: Add a type alias for "ResultT GanetiException IO"
This type occurs often in the upcoming code so it's worth having an
alias for it.
It's included in Errors instead of...
Petr Pudlak
02:06 pm Revision 015278eb: Add logging functions lifted into MonadBase
Calling logging functions in a monad transformer stack requires
instances for all the transformers.
This patch adds a...
Petr Pudlak
02:06 pm Revision 78e0f701: Add a MonadLog instance for strict StateT and IdentityT
This will be used for asynchronous workers, for which it's convenient to
use StateT to keep their internal state.
Si...
Petr Pudlak
02:06 pm Revision 5349519d: Require lifted-base >= 0.1.2 for lifted IORef operations
This allows to use them in any IO-based monad.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aeh...
Petr Pudlak
02:06 pm Revision a8d64f26: Add default arguments for WConfd to scripts
In particular, this enables debug logging for WConfd on our test
environment.
Signed-off-by: Petr Pudlak <pudlak@goo...
Petr Pudlak
01:41 pm ganeti-local Revision 52b655cb: Merge branch 'origin/stable-2.9' into stable-2.10
* stable-2.9
Make gnt-debug locks display fake job locks properly
Make NiceSort treat integers well
Signed-off-b...
Hrvoje Ribicic
01:41 pm Revision 52b655cb: Merge branch 'origin/stable-2.9' into stable-2.10
* stable-2.9
Make gnt-debug locks display fake job locks properly
Make NiceSort treat integers well
Signed-off-b...
Hrvoje Ribicic
12:22 pm ganeti-local Revision fa0192b2: Make gnt-debug locks display fake job locks properly
When a job is dependent on other jobs, a fake lock is created whose
pending entry contains a list of job ids waiting ...
Hrvoje Ribicic
12:22 pm Revision fa0192b2: Make gnt-debug locks display fake job locks properly
When a job is dependent on other jobs, a fake lock is created whose
pending entry contains a list of job ids waiting ...
Hrvoje Ribicic
12:22 pm ganeti-local Revision 0fe20731: Make NiceSort treat integers well
NiceSort is invoked on arrays that may contain strings, but in other
situations can contain ints as well. As this sur...
Hrvoje Ribicic
12:22 pm Revision 0fe20731: Make NiceSort treat integers well
NiceSort is invoked on arrays that may contain strings, but in other
situations can contain ints as well. As this sur...
Hrvoje Ribicic

02/25/2014

05:25 pm ganeti-local Revision 7253aaf2: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.5
Set release date for 2.9.5
Add NEWS entry for 2.9.5
Conflicts:
NEWS: tak...
Klaus Aehlig
05:25 pm Revision 7253aaf2: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.5
Set release date for 2.9.5
Add NEWS entry for 2.9.5
Conflicts:
NEWS: tak...
Klaus Aehlig
03:03 pm Revision eeeed365: Revision bump for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
03:03 pm ganeti-local Revision eeeed365: Revision bump for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
03:03 pm Revision 8cf85651: Set release date for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
03:03 pm ganeti-local Revision 8cf85651: Set release date for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
12:29 pm Revision 5ac4e986: A quick fix for broken 'make distcheck'
The offending target 'test/hs/offline-test.sh' requires the dependencies
even when the test isn't actually run. This ...
Petr Pudlak
12:01 pm Revision c60fb21d: Fix tab/spaces indentation in Makefile.am
At some places a few items of lists use 8 spaces, while we use tabs
everywhere (as makefiles require anyway). This pa...
Petr Pudlak

02/24/2014

05:44 pm Revision 5fd32824: Merge branch 'stable-2.11' into master
* stable-2.10
Let the instance's tuple of nodes start with the primary
Fix the test that checks for the order of ...
Klaus Aehlig
04:42 pm Revision ead368bb: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Let the instance's tuple of nodes start with the primary
Fix the test that checks for the order of ...
Klaus Aehlig
04:23 pm Revision e210c6d7: Add NEWS entry for 2.9.5
Describe the changes since 2.9.4 for the soon-to-be-released
version 2.9.5.
Signed-off-by: Klaus Aehlig <aehlig@goog...
Klaus Aehlig
04:23 pm ganeti-local Revision e210c6d7: Add NEWS entry for 2.9.5
Describe the changes since 2.9.4 for the soon-to-be-released
version 2.9.5.
Signed-off-by: Klaus Aehlig <aehlig@goog...
Klaus Aehlig
03:56 pm Revision 0f0ca306: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:56 pm ganeti-local Revision 0f0ca306: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:47 pm ganeti-local Revision 90402786: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:47 pm Revision 90402786: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:33 pm Revision ad55b2d4: Fix expression describing optional parameters
The NIC's network and vlan are also newly added, hence need to be
considered optional to remain backwards compatible....
Klaus Aehlig
03:33 pm ganeti-local Revision ad55b2d4: Fix expression describing optional parameters
The NIC's network and vlan are also newly added, hence need to be
considered optional to remain backwards compatible....
Klaus Aehlig
01:53 pm ganeti-local Revision 2977b72c: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix net-common script in case of routed mode
Document hspace's SPN parameters
Document spindles in...
Klaus Aehlig
01:53 pm Revision 2977b72c: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix net-common script in case of routed mode
Document hspace's SPN parameters
Document spindles in...
Klaus Aehlig
01:50 pm Revision 931ca734: gitignore the files introduced by the compilation change
In particular, the test object and interface files and Makefile.ghc
Signed-off-by: Petr Pudlak <pudlak@google.com>
R...
Petr Pudlak
01:50 pm Revision f0ac917e: Show Haskell dependencies when compiling
Instead of showing the long GHC command line, show which file is being
compiled and what its dependencies are. This g...
Petr Pudlak
01:50 pm Revision 9b6d2d92: Compile every Haskell object file separately
This allows parallel compilation of all targets, including the Haskell
object files. While re-starting GHC for every ...
Petr Pudlak
01:50 pm Revision 1551758e: Add configuration options for Haskell compilation variants
Previously this was addressed by Makefile variables, which meant that
it was possible to build the same binary with d...
Petr Pudlak
01:50 pm Revision 06929681: Fix the generation of ListConstants with VPATH
When the build directory differs from the source directory, the
automatic variable '$<' points to the file found by p...
Petr Pudlak
12:48 pm ganeti-local Revision 6386c546: Fix net-common script in case of routed mode
setup_route should run in case or routed mode and not
openvswitch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
12:48 pm Revision 6386c546: Fix net-common script in case of routed mode
setup_route should run in case or routed mode and not
openvswitch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
12:13 pm Revision 77dac68c: Improve locale generation instructions
Precise has a different way to handle locales w.r.t. debian distributions.
This patch adds code to make the distincti...
Michele Tartara
12:13 pm ganeti-local Revision 14e61dd1: Document hspace's SPN parameters
With the introduction of spindles as resources, the machine-readable
output of hspace(1) has been extended. Document ...
Klaus Aehlig
12:13 pm Revision 14e61dd1: Document hspace's SPN parameters
With the introduction of spindles as resources, the machine-readable
output of hspace(1) has been extended. Document ...
Klaus Aehlig
12:13 pm ganeti-local Revision 91fba1d1: Document spindles in TSPEC
As spindles are now considered a resource, they are also output in
the TSPEC parameter of hspace --machine-readable. ...
Klaus Aehlig
12:13 pm Revision 91fba1d1: Document spindles in TSPEC
As spindles are now considered a resource, they are also output in
the TSPEC parameter of hspace --machine-readable. ...
Klaus Aehlig
12:13 pm Revision f6a6c79b: Add missing package to build_chroot
A package was missing both from the Precise chroot and from the generic chroot.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
11:20 am Revision f2a3c4f0: Let the instance's tuple of nodes start with the primary
Before the tuple of nodes of an instance was created from a set, listing
the nodes in alphabetical order. This patch ...
Petr Pudlak
11:20 am ganeti-local Revision f2a3c4f0: Let the instance's tuple of nodes start with the primary
Before the tuple of nodes of an instance was created from a set, listing
the nodes in alphabetical order. This patch ...
Petr Pudlak
11:19 am ganeti-local Revision 93a968aa: Fix the test that checks for the order of instance's nodes
The test checks if the first node in the tuple is the primary node, but
because it names the node so that it's the le...
Petr Pudlak
11:19 am Revision 93a968aa: Fix the test that checks for the order of instance's nodes
The test checks if the first node in the tuple is the primary node, but
because it names the node so that it's the le...
Petr Pudlak
11:11 am ganeti-local Revision 87f2f426: man: Update the manual page of gnt-node FAILOVER
In particular explicitly note that a node failover causes all instances
to be stopped and later restarted (issue #724...
Petr Pudlak
11:11 am Revision 87f2f426: man: Update the manual page of gnt-node FAILOVER
In particular explicitly note that a node failover causes all instances
to be stopped and later restarted (issue #724...
Petr Pudlak
11:09 am Revision 9cdea43f: Check the existence of system users and groups at bootstrap
Before, if any of these were missing, the creation of a cluster failed
and the cluster remained in an inconsistent st...
Petr Pudlak
09:49 am Revision e63e8891: Configure luxid to run with the same user as masterd
Currently masterd and luxid run under separate user accounts, which
makes it impossible for them to share access to t...
Petr Pudlak

02/21/2014

02:14 pm Revision 13caa61d: Verify the result of opportunistic union
Verify that the result returned by the opportunistic union correctly
reflects the state change: locks not in the resu...
Klaus Aehlig
02:14 pm Revision fb68bc0c: Verify that opportunistic union only adds to the locks held
Add a test verifying that by opportunistic union the set of locks
held, and the level at which the locks are held, on...
Klaus Aehlig
02:14 pm Revision 9f9c4543: Use opportunisticUnion in Arbitrary LockAllocation
Also allow the newly exported function opportunisticLockUnion in the
construction of arbitrary lock allocations.
Sig...
Klaus Aehlig
02:14 pm Revision 4b217f68: Support opportunistic lock allocation
Add a function to opportunistically allocate as many locks of a given
set as possible. This is equivalent to sequenti...
Klaus Aehlig
02:14 pm Revision 07eec0fc: Generate arbitrary :: LockAllocation according to interface
While we know that freeLocks and intersectLocks are defined in terms
of updateLocks, it is still cleaner to test agai...
Klaus Aehlig
02:14 pm Revision d8216f2d: Add a convenience function to restrict locks to a given set
As it is an operation the locking daemon is supposed to provide,
add a function restricting the locks of a user to a ...
Klaus Aehlig

02/20/2014

07:05 pm ganeti-local Revision fd5578ee: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Improve job status assert affected by race condition
Export and import Disk/NIC name
Fix backup im...
Klaus Aehlig
07:05 pm Revision fd5578ee: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Improve job status assert affected by race condition
Export and import Disk/NIC name
Fix backup im...
Klaus Aehlig
05:23 pm Revision e6e17529: Improve job status assert affected by race condition
In the sliver of time between choosing a waiting job to be executed and
trying to acquire locks for its execution, th...
Hrvoje Ribicic
05:23 pm ganeti-local Revision e6e17529: Improve job status assert affected by race condition
In the sliver of time between choosing a waiting job to be executed and
trying to acquire locks for its execution, th...
Hrvoje Ribicic
04:45 pm Revision 0f68f7fa: Export and import Disk/NIC name
Name of Disk/NIC were not exported during backup until now.
Use the exported info during gnt-backup import.
Signed-o...
Dimitris Aragiorgis
04:45 pm ganeti-local Revision 0f68f7fa: Export and import Disk/NIC name
Name of Disk/NIC were not exported during backup until now.
Use the exported info during gnt-backup import.
Signed-o...
Dimitris Aragiorgis
04:45 pm ganeti-local Revision 0973f9ed: Fix backup import in case NIC is inside a network
Network UUID is written in .ini file during backup export
but is not used by _ReadExportParams(). This patch fixes it...
Dimitris Aragiorgis
04:45 pm Revision 0973f9ed: Fix backup import in case NIC is inside a network
Network UUID is written in .ini file during backup export
but is not used by _ReadExportParams(). This patch fixes it...
Dimitris Aragiorgis
04:45 pm Revision 523170de: Override get() method of ConfigParser
During backup import/export SafeConfigParser() is used to
save/restore instance's configuration. There is a possibili...
Dimitris Aragiorgis
04:45 pm ganeti-local Revision 523170de: Override get() method of ConfigParser
During backup import/export SafeConfigParser() is used to
save/restore instance's configuration. There is a possibili...
Dimitris Aragiorgis
11:11 am Revision af8492ff: Add precise to build_chroot
Modify the build_chroot script to support Ubuntu Precise as a target
environment.
Signed-off-by: Michele Tartara <mt...
Michele Tartara
10:24 am Revision 992fd37d: Updating security doc wrt to SSL security
This patch updates the security document with respect to
the recent changes in RPC security. For details see
design-n...
Helga Velroyen
10:24 am Revision 362fcd0b: Update design docs for 2.11
Updating the status of the design docs in 2.11.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus...
Helga Velroyen
10:22 am Revision 3e8a6f39: Smooth renewal of client certificates
This patch fixes another chicken-and-egg problem which
occurred when the node certificates get renewed. When
renewing...
Helga Velroyen
10:12 am Revision 956b83d6: Enforce the order restrictions on group locks
Disallow requests for an exclusive lock, if the owner already
holds a shared (and only shared) lock on a group lock t...
Klaus Aehlig
10:12 am Revision fe78783d: Document restrictions on lock implication
As owning a group lock has the same effect as owning a
group of locks, some restrictions have to be added to
to avoid...
Klaus Aehlig

02/19/2014

04:31 pm ganeti-local Revision 3daaab6c: Make hbal deal with no-LVM storage space properly
Since 2.6, hbal crashes when used on a cluster where no
LVM storage is enabled at all. The problem is that it
always ...
Helga Velroyen
04:31 pm Revision 3daaab6c: Make hbal deal with no-LVM storage space properly
Since 2.6, hbal crashes when used on a cluster where no
LVM storage is enabled at all. The problem is that it
always ...
Helga Velroyen
03:59 pm Revision c25bd091: Revision bump for the 2.10.0 release
Remove the ~rc3 suffix from the version for the official 2.10.0 release.
Signed-off-by: Thomas Thrainer <thomasth@go...
Thomas Thrainer
03:59 pm ganeti-local Revision c25bd091: Revision bump for the 2.10.0 release
Remove the ~rc3 suffix from the version for the official 2.10.0 release.
Signed-off-by: Thomas Thrainer <thomasth@go...
Thomas Thrainer
03:59 pm ganeti-local Revision d2d04f94: Update NEWS file for 2.10.0
Mention the bug fix commited to the 2.8 branch and set the release date
to tomorrow.
Signed-off-by: Thomas Thrainer ...
Thomas Thrainer
03:59 pm Revision d2d04f94: Update NEWS file for 2.10.0
Mention the bug fix commited to the 2.8 branch and set the release date
to tomorrow.
Signed-off-by: Thomas Thrainer ...
Thomas Thrainer
03:45 pm Revision 1ca6b451: Efficiently verify consistent lock requests
Most requests for lock updates are consistent and mention
every lock only once. So verify this property efficiently
b...
Klaus Aehlig
03:45 pm Revision 277c969f: Add a test verifying that lock-implication is honored
Locks can be included in one another. This inclusion can be violated
in two ways, viz.,
- A holds a lock L and B hold...
Klaus Aehlig
03:45 pm Revision 381889dc: Support lock implication in allocation
Make the module abstractly handling lock allocation
honor the additional restrictions caused by lock
implications.
S...
Klaus Aehlig
03:45 pm Revision 64df329d: Verify that every owner mentioned as blocking actually is
If a request is blocked by multiple lock owners, verify that each
single one of them actually blocks the request. In ...
Klaus Aehlig
03:45 pm Revision 9bf17b50: Verify that the set of blocking owners is big enough
When a request is blocked, the list of blocking owners
should exhaust all blocking reasons, i.e., if those
owners rel...
Klaus Aehlig
03:45 pm Revision 80004e70: Add a convenience function to free all locks of an owner
While freeing all locks of a single owner can easily be defined
out of listLocks and updateLocks, it is worth having ...
Klaus Aehlig
03:45 pm Revision 619b12df: Make TestLock an instance of Lock
Equip the type of test locks with a simple group structure
consisting of two lock groups and a big lock.
Signed-off-...
Klaus Aehlig
03:45 pm Revision 75033afd: Make GanetiLocks an instance of Lock
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Klaus Aehlig
03:45 pm Revision 91e5d533: Add a type class describing types that can serve as locks
Besides the lock order and Show, an additional datum is needed in order
to describe lock inclusion, used, e.g., for g...
Klaus Aehlig
03:45 pm Revision a9c3ba29: Verify that releasing a lock always succeeds
There are no restrictions on releasing a lock; so this operation
has to succeed unconditionally. Verify this.
Signed...
Klaus Aehlig
03:45 pm Revision c6d48e16: Add missing documentation to exported function listLocks
The module Ganeti.Locking.Allocation exports the function listLocks,
hence a documentation string is required. Add it...
Klaus Aehlig
03:18 pm Revision 1a0dacf6: Haskell: Lift disk objects
Ilias Tsitsimpis
03:18 pm Revision bb3011ad: Python: Lift disk objects
Ilias Tsitsimpis
12:36 pm Revision af5dd836: Add methods to config to get disks
'GetInstanceDisks' returns a list of disk objects for the given
instance. 'GetDiskInfo' returns information about a d...
Ilias Tsitsimpis
12:36 pm Revision b6dd32db: Get MapLVsByNode from config
Use 'GetInstanceLVsByNode' from config file instead of Instance's
MapLVsByNode method.
Signed-off-by: Ilias Tsitsimp...
Ilias Tsitsimpis
12:36 pm Revision cae20ea0: Add a disk to an instance in config
Implement functions 'AddDisk' and 'AttachInstDisk'. The first one adds
a new disk to the config file and the second o...
Ilias Tsitsimpis
12:36 pm Revision 2b941e94: Remove a disk from an instance in config
Implement functions 'RemoveDisk' and 'DettachInstDisk'. The first one
removes a disk from the config file and the sec...
Ilias Tsitsimpis
12:36 pm Revision 8e8cf324: Add 'disks_info' Instance slot
Instance's 'disks' slot will contain a list of disk uuids. Create a new
slot named 'disks_info' which will be annotat...
Ilias Tsitsimpis
12:36 pm Revision 9e8ff434: Add 'all_nodes' property to disk objects
This property returns the nodes covered by a disk.
Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
Ilias Tsitsimpis
12:36 pm Revision dd2ddda2: Add timestamp/serial_no slot to disk objects
Now that disks are top level citizens in config,
they need a timestamp and a serial_no slot.
Signed-off-by: Ilias Ts...
Ilias Tsitsimpis
12:36 pm Revision 2f1c2fe6: Add 'GetInstanceNodes' to config
Get all disk-releated nodes for an instance.
Also use 'GetInstanceSecondaryNodes' to get the
list of secondary nodes....
Ilias Tsitsimpis
12:36 pm Revision 7abe5725: Add 'GetInstanceLVsByNode' to config
Provide a mapping of node to LVs a given instance owns.
Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
Ilias Tsitsimpis
12:36 pm Revision 8533cd2d: Fix '_create_instance' in config_unittest
Previously '_create_instance' would initialize the config object every
time it would be called. This causes '_WriteCo...
Ilias Tsitsimpis
12:36 pm Revision 4e7f986e: Get instance's nodes from config
Use 'GetInstanceNodes' to get the nodes of an instance, instead of the
'all_nodes' Instance property.
Signed-off-by:...
Ilias Tsitsimpis
12:36 pm Revision 6ccce5d4: Get instance secondary nodes from config
Use 'GetInstanceSecondaryNodes' to get the secondary nodes of an
instance, instead of the 'secondary_nodes'.
Annotate...
Ilias Tsitsimpis
12:36 pm Revision 5b798711: Change TestInstance in objects unittest
Now that 'all_nodes' and 'secondary_nodes' of an instnace is computed
from the 'config' module, move the correspondin...
Ilias Tsitsimpis
12:36 pm Revision 8d4c25f2: Add disks entry to config.data
Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr> Ilias Tsitsimpis
12:36 pm Revision 26e1312d: Add 'instance' slot to Disk object
This slot will contain the uuid of the instance that
a disk is attached to.
Signed-off-by: Ilias Tsitsimpis <iliasts...
Ilias Tsitsimpis
12:14 pm Revision 8982a0cd: Increase the waiting time in gnt-job cancel test
The wait that is used for gnt-job cancel could cause flakiness if the
wait is small enough for the job not to get can...
Hrvoje Ribicic
11:23 am Revision 336b1c88: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Revision bump for 2.10.0~rc3
Update NEWS file for 2.10.0~rc3
* stable-2.8
Fix integer overflow p...
Klaus Aehlig
10:58 am ganeti-local Revision c715d059: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Fix integer overflow problem in hbal
Add missing space
Signed-off-by: Thomas Thrainer <thomasth@goo...
Thomas Thrainer
10:58 am Revision c715d059: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Fix integer overflow problem in hbal
Add missing space
Signed-off-by: Thomas Thrainer <thomasth@goo...
Thomas Thrainer
10:39 am Revision 93f1e606: Add '-c | --instance-communication' flag to instance modify
* Add the instance communication flag to the 'OpInstanceSetParams'
opcode. This flag allows the user to enable/dis...
Jose A. Lopes
10:39 am Revision e04860cc: Constant for instance communication network mode
Create a new constant to hold the instance communication network mode
as this constant will be necessary during the Q...
Jose A. Lopes
10:39 am Revision 67bd83ae: Fix 'gnt-group add' output in QA
The command 'gnt-group add' might return a list of jobs, therefore, we
can print the job's output during the QA, in a...
Jose A. Lopes
10:39 am Revision e81d80bd: Add QA for instance communication with instance modify
Extend QA with tests related to feature that adds the instance
communication mechanism to running instances, via 'gnt...
Jose A. Lopes
10:39 am Revision e25625ab: Refactor instance comm NIC name creation
Refactor name creation for the NICs used in instance communication.
These names are generated based on a prefix and t...
Jose A. Lopes
10:39 am Revision 93029a5b: Extend 'AssertIn' with an optional error message
Extend 'AssertIn' with an optional error message, thus making it
easier to find the cause of an error when errors occ...
Jose A. Lopes
10:39 am Revision 9808764a: Enable/disable instance comm via 'gnt-instance modify'
This patch adds the logic necessary to enable/disable the instance
communication in a running instance via 'gnt-insta...
Jose A. Lopes
10:39 am Revision ebe70850: Fix copy of NIC objects to be consistent with the other call
... which can be found just right below in the same module.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Revi...
Jose A. Lopes
10:39 am Revision fc963293: Fix param name to conform to convention of optional params
The opcode parameters can be optional and parameters that are optional
have their names prefixed by 'pOpt'. This pat...
Jose A. Lopes

02/18/2014

04:39 pm Revision 7a51281a: Fix whitespace and typos in comments
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Jose A. Lopes
01:56 pm Revision 79cf373a: Disable pylint warnings for ignored files
Some files (like RPC stubs) are marked to be ignored by pylint.
However pylint emits warning messages to remind of su...
Petr Pudlak
12:30 pm Revision 857a05fe: Disable deprecation warnings in PyRPC
Since on Debian Squeeze we have TH version 2.4, we need to use 'report'
instead of 'reportWarning/reportError'. Howev...
Petr Pudlak

02/17/2014

03:40 pm Revision a317d77a: Make the lock allocation part of WConfD's state
As WConfD is supposed to be the authoritative source for
configuration and locks, it needs to have access to the lock...
Klaus Aehlig
03:40 pm Revision 95eb97c8: Add a module for the Ganeti lock structure
Already provide a module holding the structure of the locks
available in Ganeti, so that the overall structure of WCo...
Klaus Aehlig
03:40 pm Revision 3f173b09: Derive Ord JobId
Make the type JobId an instance of Ord. While the order itself
does not matter, it is a prerequisite to be an instanc...
Klaus Aehlig
03:40 pm Revision 1d49428b: Verify atomicity of lock updates
Add a test verifying the atomicity of an update, i.e., if an update
succeeds, then all requests must be satisfied in ...
Klaus Aehlig
03:40 pm Revision 987fcfb7: Verify lock stability over updates
Add a test that verifies that updates by one user do not
affect the locks held by a different user.
Signed-off-by: K...
Klaus Aehlig
03:40 pm Revision 3469663d: Verify Basic property for lock allocation
Verify the minimal consistency property for any form
of lock handling: if a user holds an exclusive lock,
then no oth...
Klaus Aehlig
03:40 pm Revision 15208e95: Add function describing lock updates
Add the pure part of the mechanism of updating locks. To allow
for efficient waiting on locks, return the set of owne...
Klaus Aehlig
03:40 pm Revision a1da8a50: Add a function to leave the list monad
The list monad provides convenient syntax for non-deterministic
algorithms. Add a function leaving that monad with th...
Klaus Aehlig
03:40 pm Revision c2b8d366: Add data structure representing current lock status
To allow for jobs as processes, a central daemon (wconfd) will
handle allocation and release of locks. Add an appropr...
Klaus Aehlig
01:27 pm Revision 438ce535: Rename 'BUILT_PYTHON_SOURCES' to 'built_python_sources'
This patch fixes the warnings produced by ./autogen.sh
Makefile.am:310: variable `BUILT_PYTHON_SOURCES' is defined...
Jose A. Lopes

02/14/2014

04:57 pm Revision a53772a0: Merge branch 'stable-2.11' into master
* stable-2.11
Update design doc wrt to improved SSL design
Test node certificate renewal in QA
Use node UUID as...
Klaus Aehlig
03:51 pm Revision 0565f862: Update design doc wrt to improved SSL design
This patch updates the design document of Ganeti's node
security to make it consistent with the implementation
and to...
Helga Velroyen
03:51 pm Revision e593c9c8: Test node certificate renewal in QA
This extends the QA by explicitely testing the renewal
of SSL client certificates.
Signed-off-by: Helga Velroyen <he...
Helga Velroyen
03:51 pm Revision ab4b1cf2: Use node UUID as client certificate serial number
It turns out, that some implementations of OpenSSL are more
pedantic in checking the certficates than others. In this...
Helga Velroyen
03:51 pm Revision a15cd685: Revert "Temporarily remove SSL changes from NEWS file"
This reverts commit 89671df1c, which temporarily removed
the announcement of improved SSL security in the NEWS file.
...
Helga Velroyen
03:51 pm Revision d5104ca4: Revert "Disabling client certificate usage"
This reverts commit 45f75526b848, which was introduced to
temporarily disable the implementation of SSL client
certif...
Helga Velroyen
11:47 am Revision a2a1a8ca: Add functions for atomic operations on files
Function 'atomicUpdateFile' extends 'atomicWriteFile' that allows any
action to be run on a temporary file.
Function...
Petr Pudlak
11:47 am Revision e465608f: Add mtime/ctime to ConfigData
It's used on the Python side, it's been missing on the Haskell side.
Signed-off-by: Petr Pudlak <pudlak@google.com>
...
Petr Pudlak
11:47 am Revision 31daf7db: Re-export liftIO from BasicType
This makes usage of ReaderT's liftIO more convenient.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Kl...
Petr Pudlak
11:47 am Revision 14551dc3: Add lib/rpc/stubs/ and src/ganeti-wconfd to .gitignore
All stubs are generated from Haskell during compilation.
Also ignore the executable of the new daemon.
Signed-off-by...
Petr Pudlak
11:47 am Revision 5a89351b: Fix an ambiguity in the documentation for GetNodesSshPorts
This ambiguity was introduced by adding the WConfd client.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-b...
Petr Pudlak
11:47 am Revision bd2fab62: Add the Python client for WConfD
The client combines the abstract client class and the WConfD
stub to provide a Python interface to WConfD.
Signed-of...
Petr Pudlak
11:47 am Revision 81959e7b: Generate WConfD Python stubs from Haskell
The generation is included in hs2py.hs, together with other
Haskell to Python code generators.
Signed-off-by: Petr P...
Petr Pudlak
11:47 am Revision c4071978: Add an RPC Python client for generated stub classes
The client provides _GenericInvoke(...) for a stub and uses its
_GetSocketPath() for opening a Transport.
Signed-off...
Petr Pudlak
11:47 am Revision f952ed9f: Generate Python stubs by inspecting functions using TH
The names of the arguments of generated Python methods are derived from
Haskell types to be as descriptive as possibl...
Petr Pudlak
11:47 am Revision 30ac9195: Update Makefile.am to properly install generated stubs
This involves adding a new sets of variables for the directory.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Revie...
Petr Pudlak
11:47 am Revision abd0ddfc: Add a Python directory for RPC generated stubs
Directory "lib/rpc/stubs" will contains RPC stubs generated from
Haskell.
Signed-off-by: Petr Pudlak <pudlak@google....
Petr Pudlak
11:47 am Revision d36e433d: Let RPC clients handle their socket address
.. instead of AbstractClient itself. Also let every client call
_InitTransport() as needed. This allows to determine ...
Petr Pudlak
11:47 am Revision 59881a0b: Add the WConfD daemon itself
The daemon exposes the declared functions in Ganeti.WConfd.Core to RPC
clients (currently just 'echo').
Signed-off-b...
Petr Pudlak
11:47 am Revision fb0fa957: Add the WConfD daemon to build configuration files
Also list it in the Haskell datatype, constants, Python constants and
test configuration.
Signed-off-by: Petr Pudlak...
Petr Pudlak
11:47 am Revision 13f59e11: Add a module for WConfd core functions
There are no exported functions yet, except for `echo`, which just
returns its argument back to a client.
Signed-off...
Petr Pudlak
11:47 am Revision 12121213: Add a MonadLog instance for strict variant of RWS
This allows to log in monad stacks containing RWS.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus...
Petr Pudlak
11:46 am Revision 9515a7d2: Add a monad for running all WConfD functions
This monad encapsulates working with the daemon and client state, as
well as failures and IO operations.
Signed-off-...
Petr Pudlak
11:46 am Revision a85aef5c: Add a generic RPC module
The main function in this module takes a list of names of functions and
uses TH to create an RPC server, represented ...
Petr Pudlak
11:46 am Revision 63571096: Add tests for Ganeti.THH.Types
In particular, test (de)serialization of "OneTuple".
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Kla...
Petr Pudlak
11:46 am Revision 1263a102: Add a helper test method for checking deserialization
It tests if a deserialization method fails properly when an invalid
input is given.
Signed-off-by: Petr Pudlak <pudl...
Petr Pudlak
11:46 am Revision f3a522ff: Add common functions for working with TH's Type
In particular, functions for extracting types of arguments from a
function type, and for uncurrying functions with an...
Petr Pudlak
11:46 am Revision f20038fd: Another workaround for GHC linking error "unknown symbol"
This error appears after adding the dependency to lifted-base.
See also #683 and ee7caf27.
I surmise that something ...
Petr Pudlak
11:46 am Revision d5868411: Add instances of MonadBase and MonadControl for ResultT
This allows to use lifted operations like 'fork' or 'bracket' inside
ResultT.
Signed-off-by: Petr Pudlak <pudlak@goo...
Petr Pudlak
11:46 am Revision b172b0ab: Allow clients of UDSServer to use different monads
.. as long as they're instances of "MonadBaseControl IO" and "MonadLog".
This allows the UDSServer to call functions ...
Petr Pudlak
11:46 am Revision e1b9b5c6: Add lifted-base to the list of requirements
This includes NEWS and INSTALL
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@goog...
Petr Pudlak
11:46 am Revision fb1a5271: Add dependencies for lifted-base to build_chroot
.. for both Debian distribution. Also check that the library is present
during the configuration step.
Signed-off-by...
Petr Pudlak

02/13/2014

06:09 pm ganeti-local Revision 81869422: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix integer overflow problem in hbal
Add missing space
Signed-off-by: Klaus Aehlig <aehlig@google.c...
Klaus Aehlig
06:09 pm Revision 81869422: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix integer overflow problem in hbal
Add missing space
Signed-off-by: Klaus Aehlig <aehlig@google.c...
Klaus Aehlig
03:52 pm Revision 95ee8abb: Fix integer overflow problem in hbal
waitForJobs in src/Ganeti/Jobs.hs has an integer overflow that (at least on
amd64) causes it to break after waiting f...
Michele Tartara
03:52 pm ganeti-local Revision 95ee8abb: Fix integer overflow problem in hbal
waitForJobs in src/Ganeti/Jobs.hs has an integer overflow that (at least on
amd64) causes it to break after waiting f...
Michele Tartara
03:52 pm ganeti-local Revision 0e2a45dd: Add missing space
Also, refactor the line to keep it under 80 chars.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by:...
Michele Tartara
03:52 pm Revision 0e2a45dd: Add missing space
Also, refactor the line to keep it under 80 chars.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by:...
Michele Tartara
03:03 pm Revision f398c9b9: Fix watcher tampering with instance userdown QA
The watcher was tampering with the instance user down QA because, when
the watcher sees an instance marked an 'USER_d...
Jose A. Lopes
02:40 pm Revision 4b75f8a4: Rename some functions not to collide with opcode names
Rename some functions related to instance communication not to collide
with the naming convention used in the opcodes...
Jose A. Lopes
02:34 pm Revision 2ff6426b: Refactor instance communication network add and connect
Factor out the opcodes 'OpNetworkAdd' and 'OpNetworkConnect' used in
'LUClusterSetParams' and 'LUGroupAdd' in order t...
Jose A. Lopes
02:34 pm Revision f985ecbd: Instance communication mechanism QA (for cluster only)
Extend QA with tests for the instance communication mechanism. These
tests cover only the cluster creating the insta...
Jose A. Lopes
02:34 pm Revision 39e27230: Connect new groups to the instance communication network
When a new group is added, if the instance communication network is
enabled, then this group must also be connected t...
Jose A. Lopes
02:34 pm Revision 0fcb3314: 'gnt-cluster modify' with '--instance-communication-network'
Extend CLI 'gnt-cluster modify' with
'--instance-communication-network'. Given that the return type for
'OpClusterSe...
Jose A. Lopes
02:33 pm Revision d6a7518a: 'LUClusterSetParams' creates the instance communication net
Extend 'LUClusterSetParams' to create the user-supplied instance
communication network in case this network does not ...
Jose A. Lopes
02:33 pm Revision 11eeb1b9: Check prereq instance communication network in 'SetParams'
Later, the logical unit for 'OpClusterSetParams' will be responsible
for creating the instance communication network ...
Jose A. Lopes
02:33 pm Revision 42fda604: Add 'instance_communication_network' to 'OpClusterSetParams'
... and update the unit tests.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Helga Velroyen <helg...
Jose A. Lopes
02:33 pm Revision fcafd191: Add helper to handle CLIs that optionally spawn several jobs
This helper function detects whether an opcode returned a list of jobs
(i.e., a result of the type ht.TJobIdListOnly)...
Jose A. Lopes
02:33 pm Revision 9a94cee3: Instance comm network from config instead of predefined
* Add 'ganeti.objects.Cluster.instance_communication_network' to the
config so the logical unit for 'OpInstanceCrea...
Jose A. Lopes
02:33 pm Revision 8a5d326f: Add 'instance_communication_parameter' to 'Cluster'
* Add parameter 'instance_communication_parameter' to the Python
'ganeti.objects.Cluster' and the Haskell 'Ganeti.O...
Jose A. Lopes
02:33 pm Revision a987c040: Fix indentation
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Jose A. Lopes
11:25 am Revision a21440d8: Correct test for existance of instances
Since python interprets an empty dictionary as 'False',
testing for the existance of the 'instances' field in
the con...
Helga Velroyen

02/12/2014

07:58 pm Revision 514dcbda: Correct number of empty lines
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
07:20 pm Revision 65b526e7: Remove osparams_private when downgrading the configuration
The instance parameter "osparams_private" was newly introduced
in 2.12. So remove it when downgrading the configurati...
Klaus Aehlig
07:20 pm Revision 4f7cc3c2: Remove osparams_private_cluster on config downgrade
The new cluster parameter "osparams_private_cluster" was
newly introduced in 2.12. So remove it when downgrading
to 2...
Klaus Aehlig
05:54 pm Revision bcb1ab78: Merge branch 'stable-2.11' into master
* stable-2.11
Update the list dependencies in INSTALL
Make luxid's Haskell dependencies mandatory
Fix start/sto...
Petr Pudlak
05:27 pm Revision f4445f53: Make htools and luxid mandatory in the Makefile
Since Ganeti now uses luxid for core operations, it needs to be always
present.
Signed-off-by: Petr Pudlak <pudlak@g...
Petr Pudlak
05:27 pm Revision eb84bb80: Add a config. conditional for running Haskell coverage
Similarly to PY_UNIT, add HS_UNIT to run Haskell coverage only if we
have the required modules.
Signed-off-by: Petr ...
Petr Pudlak
05:27 pm Revision 5a5a64c6: Update the list dependencies in INSTALL
In particular, move luxid's dependencies to the section with mandatory
dependencies.
Signed-off-by: Petr Pudlak <pud...
Petr Pudlak
05:27 pm Revision 6b06efa7: Fix start/stop scripts to run luxid unconditionally
and update the unit check the list of daemons.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Helga Vel...
Petr Pudlak
05:27 pm Revision 636e66d1: Make luxid's Haskell dependencies mandatory
in the build configuration files.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Helga Velroyen <helgav...
Petr Pudlak
05:27 pm Revision 0cd5ab45: Remove the HTOOLS configuration variable
.. and update the code that uses it.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Helga Velroyen <hel...
Petr Pudlak
05:15 pm Revision 89671df1: Temporarily remove SSL changes from NEWS file
Since the current changes in the SSL handling have
been partially disabled, remove their announcement
in the NEWS fil...
Helga Velroyen
12:48 pm Revision fd34efbb: Fix bracket style in rapi-workload
Pep8 complained about bracket indentation. This fixes it to satisfy Pep8
as well as our style guide.
Signed-off-by: ...
Petr Pudlak
11:46 am Revision 8d2ca7d1: git-ignore automatically generated file tools/kvm-ifup-os
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig

02/11/2014

06:43 pm Revision f65784ac: Merge branch 'stable-2.11' into master
* stable-2.11
Gracefully handle queries for non-existing nodes
Consider job-IDs queried for twice only once
Conf...
Klaus Aehlig
06:05 pm Revision 929efcc3: Gracefully handle queries for non-existing nodes
When adding a node, Ganeti checks whether the node is already
part of the cluster by querying for the node name. Howe...
Klaus Aehlig
05:29 pm Revision fb8d8645: Consider job-IDs queried for twice only once
As reading jobs from disk is an expensive operation, when querying
for jobs, we optimize by considering which values ...
Klaus Aehlig
02:33 pm Revision 0bcd6096: Revision bump for 2.10.0~rc3
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Thomas Thrainer
02:33 pm ganeti-local Revision 0bcd6096: Revision bump for 2.10.0~rc3
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Thomas Thrainer
02:33 pm ganeti-local Revision 0ffbeb1e: Update NEWS file for 2.10.0~rc3
Mention changes between 2.10.0~rc2 and 2.10.0~rc3 and set the release
date to tomorrow.
Signed-off-by: Thomas Thrain...
Thomas Thrainer
02:33 pm Revision 0ffbeb1e: Update NEWS file for 2.10.0~rc3
Mention changes between 2.10.0~rc2 and 2.10.0~rc3 and set the release
date to tomorrow.
Signed-off-by: Thomas Thrain...
Thomas Thrainer

02/10/2014

06:38 pm Revision d759a02b: Merge branch 'stable-2.11' into master
* stable-2.11
(no changes)
* stable-2.10
Fix 'JobIdListOnly' type from 'List' to 'Map'
Remove NEWS entry for 2...
Klaus Aehlig
06:24 pm Revision adcccd43: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Fix 'JobIdListOnly' type from 'List' to 'Map'
Remove NEWS entry for 2.9.4
Workaround for monitor ...
Klaus Aehlig
06:18 pm Revision a28216b0: Fix default for luxi clients in python
As masterd is going away, set default for all clients to
luxid's socket.
Signed-off-by: Klaus Aehlig <aehlig@google....
Klaus Aehlig
04:42 pm ganeti-local Revision 673425b8: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.4
Set release date for 2.9.4
Note UUID identification change in NEWS file
...
Klaus Aehlig
04:42 pm Revision 673425b8: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.4
Set release date for 2.9.4
Note UUID identification change in NEWS file
...
Klaus Aehlig
03:31 pm Revision 28de1c3c: Fix 'devel/check_copyright' remote branch detection
... but do not try to check the copyrights for local branches which do
not have a proper remote branch, which would f...
Jose A. Lopes
02:58 pm ganeti-local Revision b57b1df4: Revision bump for 2.9.4
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
02:58 pm Revision b57b1df4: Revision bump for 2.9.4
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
02:58 pm ganeti-local Revision 82fca490: Set release date for 2.9.4
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
02:58 pm Revision 82fca490: Set release date for 2.9.4
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
02:17 pm Revision a154caa4: Remove query option from RAPI client
As all RAPI requests now go to luxid, and masterd is going away,
remove option from RAPI client to chose a different ...
Klaus Aehlig
02:17 pm Revision 7f28a87a: Remove query option from GetClient
As all luxi clients talk to luxid now, and masterd will
go away, remove the option to use socket different from
luxid...
Klaus Aehlig
02:17 pm Revision 2af8b9c9: Remove explicit reference to the query socket
Now that luxid's socket is the default socket anyway, do not
pass the "query=True" parameter to GetClient. This will ...
Klaus Aehlig
02:17 pm Revision 39bdcf76: Make watcher use luxid socket only
With luxid being feature-complete with respect to masterd,
make the watcher use its socket exclusively. This is also
...
Klaus Aehlig
12:44 pm Revision b6e31235: Fix 'JobIdListOnly' type from 'List' to 'Map'
* This patch fixes a type discrepancy between the Haskell type
'Ganeti.OpCodes.JobIdListOnly' and the Python type p...
Jose A. Lopes
12:44 pm ganeti-local Revision b6e31235: Fix 'JobIdListOnly' type from 'List' to 'Map'
* This patch fixes a type discrepancy between the Haskell type
'Ganeti.OpCodes.JobIdListOnly' and the Python type p...
Jose A. Lopes
11:24 am Revision d027b72b: Fix instance create and import parameters
Move OS parameter related constants to 'ganeti.cli' so they are used
both by instance create and instance import from...
Jose A. Lopes
11:24 am Revision 31d3b918: Fix compatibility issues
* Fix GenericInstanceCreate
* Fix pylint disable annotation
* Change some assert methods to assertTrue()
Signed-off-...
Santi Raffa

02/07/2014

05:40 pm Revision fcc27323: Fix 'UserDown' QA
Increase instance shutdown timeout and make call 'pkill' more
reliable, which should fix the KVM QA.
Signed-off-by: ...
Jose A. Lopes
03:42 pm ganeti-local Revision 1b84e2d7: Note UUID identification change in NEWS file
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic
03:42 pm Revision 1b84e2d7: Note UUID identification change in NEWS file
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic
03:42 pm Revision 13ef1fa5: Allow classic queries to use either names or UUIDs
When UUIDs are used in CLI commands, such addressing of objects fails
or succeeds inconsistently across object types....
Hrvoje Ribicic
03:42 pm ganeti-local Revision 13ef1fa5: Allow classic queries to use either names or UUIDs
When UUIDs are used in CLI commands, such addressing of objects fails
or succeeds inconsistently across object types....
Hrvoje Ribicic
11:15 am Revision 483e3012: NEWS: update with public and private parameters
Also warn about debug mode.
Signed-off-by: Santi Raffa <rsanti@google.com>
Reviewed-by: Jose A. Lopes <jabolopes@goo...
Santi Raffa
11:15 am Revision 285ece5b: SimpleFillOS: add unit tests for OS parameter merging
Adds tests to ensure OS parameters are dealt with consistently.
Signed-off-by: Santi Raffa <rsanti@google.com>
Revie...
Santi Raffa
11:15 am Revision 3062d395: luxid: give stern warnings about debug mode
Luxid as it is can leak private and secret parameters by logging
all requests as they arrive, before any preprocessin...
Santi Raffa
11:15 am Revision da0aa302: OpCodes: modify InstanceReinstall for private, secret params
Modify InstanceReinstall to accept and process private and secret
parameters.
Signed-off-by: Santi Raffa <rsanti@goo...
Santi Raffa
11:14 am Revision 6bce7ba2: OpCodes: modify InstanceCreate for private, secret params
Modify InstanceCreate to accept process private and secret parameters.
Signed-off-by: Santi Raffa <rsanti@google.com...
Santi Raffa
11:14 am Revision 07e3c124: OpCodes: modify ClusterSetParams for private parameters
Modify ClusterSetParams to accept and process private parameters.
Signed-off-by: Santi Raffa <rsanti@google.com>
Rev...
Santi Raffa
11:14 am Revision a0eeb01a: CLI: add parameters for private and secret OS parameters
Define the CLI parameters for private and OS parameters.
Signed-off-by: Santi Raffa <rsanti@google.com>
Reviewed-by:...
Santi Raffa
11:14 am Revision 1a182390: OpCodes: modify InstanceSetParams for private parameters
Modify InstanceSetParams to accept and process private parameters.
Signed-off-by: Santi Raffa <rsanti@google.com>
Re...
Santi Raffa
11:14 am Revision a5efec93: Add private OS parameters to cluster and instance conf
This updates objects, constructors and mocks for Instance and Cluster
objects in Python and Haskell.
Signed-off-by: ...
Santi Raffa
11:13 am Revision 92389be9: algo: add GetRepeatedKeys
We do not want public, private and secret parameters to have
overlapping keys. This function implements this check.
...
Santi Raffa
11:13 am Revision 560ef132: serializer: emit and encode Private values
For inbound data the simplest, safest thing to do is to traverse all
JSON right after encoding and search for private...
Santi Raffa
11:13 am Revision 4884f187: Add Private types to Python, Haskell
This commit adds the private containers to Python and Haskell.
Signed-off-by: Santi Raffa <rsanti@google.com>
Review...
Santi Raffa
11:13 am Revision 9d929656: OpCodes test: fix argument order (expected/but got)
Fix expected/but got value in some unit tests.
Signed-off-by: Santi Raffa <rsanti@google.com>
Reviewed-by: Jose A. L...
Santi Raffa
11:10 am Revision d4102e0c: RPCs: add docstrings for instance_os_add
This RPC's instance_osp input has a non-obvious, non documented
type. This patch adds documentation to this RPC.
Sig...
Santi Raffa
10:20 am Revision 9269d118: design: simplify how luxid determins job termination
With the job files, we already have designated files per job. So
there is no need to additionally signal through a so...
Klaus Aehlig

02/06/2014

05:14 pm Revision 0ee0bc74: Switch to luxid for RAPI
...now that luxid knows of all RAPI requests.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudl...
Klaus Aehlig
05:14 pm Revision 88772d17: Remove wildcard luxi operation matching in luxid
In that way, we explicitly name the operations that are not
handled by luxid and explain the reason. In particular, w...
Klaus Aehlig
05:14 pm Revision 0349f9c6: Implement QueryExports in luxid
...by handling as a classical query, using that queries for
export are already implemented. Note that QueryExport is ...
Klaus Aehlig
03:34 pm Revision 90f089c2: Add instance communication CLI flags to the man page
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
03:34 pm Revision dc1fe8df: Add 'kvm-ifup-os' to configure instance communication TAP
The script 'tools/kvm-ifup-os' configures TAP network interfaces for
for instances, routing, DHCP server, etc. Note ...
Jose A. Lopes
03:34 pm Revision 015f1517: Add CLI and OpCode instance communication option
* Add command-line interface flag to enable instance communication
* Add instance communication parameter to the opco...
Jose A. Lopes
03:34 pm Revision 81c222af: Add extra NIC to instance being created for communication
When an instance is being created, add an extra NIC (if necessary)
which is meant to be used by the instance communic...
Jose A. Lopes
03:34 pm Revision 81c717cd: Generate TAP names ('gnt.com.%d') for instance comm NICs
* Add helper function that generates names of the form 'gnt.com.%d'
which are the names for the TAP interfaces mean...
Jose A. Lopes
03:34 pm Revision 89473be8: Add TAP interface name as argument in '_OpenTap'
This is necessary in order to create TAP interfaces for the
communication mechanism, which are named 'gnt.com.%d', wh...
Jose A. Lopes
03:34 pm Revision 3af1359f: Add metadata daemon
... including, user, group, daemonizing code with command line
options, integration with the Snap HTTP server, and lo...
Jose A. Lopes
02:57 pm Revision b0159850: Update the steps for implementing WConfD in the daemons doc
After Step 1 WConfD will handle the access to the configuration
and will allow job-as-processes to access it.
Signed...
Petr Pudlak
02:57 pm Revision 2de55c83: Add job death detection to the daemons refactoring doc
Describe how to use file lock to implement it in a POSIX compliant way.
Signed-off-by: Petr Pudlak <pudlak@google.co...
Petr Pudlak
02:27 pm Revision 4de4b66c: Let Haddock also generate Hoogle documentation
The Hoogle database is generated to doc/api/hs/ganeti.txt when Haddock
is run. The database can be used by developers...
Petr Pudlak
02:16 pm Revision a2dbdd82: Merge branch 'stable-2.11' into master
* stable-2.11
Implement ChangeJobPriority in luxid
Provide a function to change the priority of a queued job
Wh...
Klaus Aehlig
01:58 pm ganeti-local Revision adf082f3: Remove NEWS entry for 2.9.4
Remove the NEWS entry for 2.9.4 temporarily until it actually gets
released. Otherwise check-news would complain abou...
Thomas Thrainer
01:58 pm Revision adf082f3: Remove NEWS entry for 2.9.4
Remove the NEWS entry for 2.9.4 temporarily until it actually gets
released. Otherwise check-news would complain abou...
Thomas Thrainer
12:50 pm ganeti-local Revision c02b8f91: Document the change of noded's group in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Klaus Aehlig
12:50 pm Revision c02b8f91: Document the change of noded's group in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Klaus Aehlig
12:45 pm ganeti-local Revision ddd667f7: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Make the LUInstanceCreate return node names, not UUIDs
Document new handling of degraded instances i...
Thomas Thrainer
12:45 pm Revision ddd667f7: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Make the LUInstanceCreate return node names, not UUIDs
Document new handling of degraded instances i...
Thomas Thrainer
12:43 pm Revision 155df343: Change return type of internal rmJob
...to also provide the job itself. In this way, the function can
also be used for tasks that require temporarily remo...
Klaus Aehlig
12:43 pm Revision f7743189: When enqueuing new jobs, respect job ID
When adding new jobs, don't add them at the end, but at a
position that fits with their job id. In this way, we can
b...
Klaus Aehlig
12:43 pm Revision 7711f32b: Implement ChangeJobPriority in luxid
For jobs still queued, we ask the queue to change the priority,
and replicate the changed job. For jobs that have alr...
Klaus Aehlig
12:43 pm Revision 96d55b50: Provide a function to change the priority of a queued job
There is a separation of responsibilities here. For jobs still
in the queue, it is the responsibility of the queue (s...
Klaus Aehlig
12:43 pm Revision a7ab381a: Add a function changing the priority of an opcode
This pure function follows the semantic that an opcode, including
its priority, may only be changed if the opcode is ...
Klaus Aehlig
12:43 pm Revision a6b33b72: Add a function to change the priority of a job
...by changing the priority of the non-finished opcodes.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by...
Klaus Aehlig
12:43 pm Revision 27a5367a: Add functions for manipulating errors in Result(T)
There is often need to manipulate these errors, for example to convert a String
from Result into an exception. These ...
Petr Pudlak
12:43 pm Revision e061eb16: Remove FromString in favor of Error from standard libraries
They have the very same functionality, and using our own FromString only
causes unnecessary code duplication.
Signed...
Petr Pudlak
12:42 pm Revision f2e06f0f: Add Alternative instances for GenericResult and ResultT
This allows to use Alternative specific combinators, namely `optional`.
Signed-off-by: Petr Pudlak <pudlak@google.co...
Petr Pudlak
10:49 am Revision 7231ca26: Workaround for monitor bug related to greeting msg
QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
u...
Dimitris Aragiorgis
10:49 am ganeti-local Revision 7231ca26: Workaround for monitor bug related to greeting msg
QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
u...
Dimitris Aragiorgis
10:49 am Revision 066f16b0: hotplug: Verify if a command succeeded or not
Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searche...
Dimitris Aragiorgis
10:49 am ganeti-local Revision 066f16b0: hotplug: Verify if a command succeeded or not
Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searche...
Dimitris Aragiorgis
10:49 am ganeti-local Revision 89c10241: hotplug: Call each qemu commmand with an own socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)
After ha...
Dimitris Aragiorgis
10:49 am Revision 89c10241: hotplug: Call each qemu commmand with an own socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)
After ha...
Dimitris Aragiorgis
« Previous
Next »
 

Also available in: Atom