Activity
From 02/13/2014 to 03/14/2014
03/14/2014
- 04:03 pm Revision 11825d94: Update QA sample to include QA storage
- ... which is a Web server URL that serves additional files needed by
QA.
Signed-off-by: Jose A. Lopes <jabolopes@goo... - 04:03 pm Revision 9bd52012: Fix QA tests related to OS image
- If QA storage is enabled, fetch OS images and use them to test
instance reinstalls. Otherwise, just skip the two tes... - 04:03 pm Revision 3360026f: Remove SSH copyfile from LU and assume the file exists
- According to Ganeti design, files should not be copied from master to
nodes and instead they are assumed to exist and... - 04:03 pm Revision d46dbe0a: Fix OS image detection on master
- Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com> - 04:03 pm Revision 326e0925: Extend '_DumpDevice' to enable/disable file truncation
- ... because when the data source is infinite, truncation is not
necessary, but when the data source is finite and is,... - 04:03 pm Revision ee6106f0: Fix disk truncation in download and dump OS images
- Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com> - 04:03 pm Revision d00e49f6: Check if OS image exists on the node before dumping
- Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
03/13/2014
- 07:59 pm Revision 925ad2e1: Fixing formatting of design-node-security
- Turns out, rst wants to have a blank line before
enumerations. Also rearranging some paragraph to make the
lines alig... - 05:40 pm Revision b123fb31: Detailing SSH part of 'desing-node-security'
- This patch elaborates the node security design wrt to SSH
key handling to make sure it is feasible before starting
th... - 02:49 pm Revision 87ed6b79: Make mcpu acquire WConfD locks
- So far, the mcpu acquires locks that live in memory
of masterd. This design does not fit with our jobs-as-processes
g... - 02:49 pm Revision 69b139f6: Add a mock for the wconfd module
- As our so-called unit tests for the logical units are more
like integration tests, calling the actual LU through an a... - 02:49 pm Revision cb0269fb: Add a mock version of livelocks
- ...as the will be used by mcpu for lock handling and that will
require tests to be adapted accordingly.
Signed-off-b... - 02:49 pm Revision 5a8921f3: Add downgrading locks by level to WConfd
- Export a function that downgrades all locks of an owner of a
given level to own them only shared.
Signed-off-by: Kla... - 02:49 pm Revision 1243b689: Add convenience function to downgrade locks
- Add a convenience function that downgrades all locks with a given
property to be held only at shared level.
Signed-o... - 02:49 pm Revision 5e46225d: Fix typo in lock levels
- Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
03/12/2014
- 01:32 pm Revision df62c62d: Merge branch 'stable-2.11' into master
- * stable-2.11
Rename compression option in gnt-backup export
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Revie...
03/11/2014
- 06:12 pm Revision 67f3ee87: Rename compression option in gnt-backup export
- The gnt-backup export option --compress did not do what most would
expect upon seeing the name: compress the exported... - 05:09 pm Revision 83f54caa: Instance reinstall with OS images
- This patch allows instances to be reinstalled using OS images:
* extract OS scripts installation to a separate method... - 05:09 pm Revision a07ae57f: Extend QA with OS image
- Extend QA with OS image tests for instance reinstall and instance
modify.
Signed-off-by: Jose A. Lopes <jabolopes@go... - 05:09 pm Revision 1c4910f7: OS images in 'LUInstanceCreate' and OS scripts optional
- * Use the empty string in 'ganeti.objects.Instance.os' to signify that
the instance does not use OS scripts.
* Mak... - 05:09 pm Revision 2329ffdd: Instance create with OS image
- Extend 'LUInstanceCreate' to image the instance's first disk if an OS
image is specified via the OS params. If the O... - 05:09 pm Revision 0247d20f: Function to image disks while ensuring that disks are paused
- * Add 'ImageDisks' that actually calls the 'blockdev_image' RPC in a
context where disk sync is paused.
* Add 'Imag... - 05:09 pm Revision 7bc4d6ac: Function to check if the OS image parameter is valid
- Add helper function to check if the OS image parameter contained in
the OS parameters of an opcode is valid.
Signed-... - 05:09 pm Revision 987ec378: Function to remove instance if disks are degraded
- * Extract code, into '_RemoveDegradedDisks', that checks if the disks
of an instance are degraded and, if so, remov... - 05:09 pm Revision a303027b: RPC 'blockdev_image' to image devices
- Add RPC 'blockdev_image' that uses 'ganeti.backend.BlockdevImage' to
dump an image to an instance's disk device, opti... - 05:09 pm Revision 2b8322f7: Helper function to image a device by downloading or dumping
- Add 'BlockdevImage' which downloads a file and dumps it to an
instance's disk if the path is a URL, otherwise it dump... - 05:09 pm Revision c89622cd: Helper function that downloads an image and dumps it to disk
- * Add constant that holds the curl binary.
* Add '_DownloadAndDumpDevice' which downloads a file (e.g., OS image)
... - 05:09 pm Revision 229fb4ea: Generalize 'WipeDevice' to 'DumpDevice'
- * Fix order of imports
* Generalize 'WipeDevice' to 'DumpDevice' which takes an additional
argument which is the d... - 05:09 pm Revision ff89ab03: Fix export order according to definition order
- Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com> - 05:09 pm Revision 433d2933: Helper functions to get and update OS image from OSParams
- Add 'GetOSImage' and 'PutOSImage' which handle the OS image key in the
OS parameters dict.
Signed-off-by: Jose A. Lo... - 05:09 pm Revision 3cf06dd4: Fix docstrings
- Fix several docstrings.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google... - 05:08 pm Revision a16ffac0: Reuse method to parse name from OS 'name+variant' string
- Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com> - 03:28 pm Revision e11d0f55: Support releasing locks by level
- Add a function to WConfD allowing to release locks by
Ganeti lock level.
Signed-off-by: Klaus Aehlig <aehlig@google.... - 03:28 pm Revision e227f161: Add a convenience function to release locks by property
- While definable from listLocks and updateLocks, it is convenient
to be able to all locks with a given property. This ... - 03:28 pm Revision 32cbb380: BGL is not a set lock
- Despite what the name suggests, the Big Ganeti Lock does not act as a
set of all locks. It is just a lock as any othe... - 03:28 pm Revision 0108d385: Verify serialisation of LockLevel
- For the new JSON instance Ganeti.Locking.Locks.LockLevel, verify that
readJSON . showJSON = Ok.
Signed-off-by: Klaus... - 03:28 pm Revision 5714a925: For each Ganeti Lock provide its level
- ...so set a job can request operations on all its locks of a given level.
Signed-off-by: Klaus Aehlig <aehlig@google... - 03:28 pm Revision 1835fd75: Add network locks to Haskell
- Ganeti also has a lock level for networks, however this level was forgotten
when the Ganeti lock hierarchy was implem... - 03:28 pm Revision 1310339c: Fix allocation order of locks
- The correct allocation order for node-related Ganeti locks is
allocation, group, the node itself, resources.
Signed-... - 03:28 pm Revision 2754dc7d: Allow transitions from sets to elements
- Owning a set-lock has the same effect as owning each member. So asking
for a member while already holding the set loc... - 03:28 pm Revision a55a40d6: Fix typo
- Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
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
... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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,... - 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:... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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 ... - 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... - 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... - 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... - 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>
... - 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:... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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 ... - 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'... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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... - 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 ... - 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 ... - 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.
... - 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.
... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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.... - 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:... - 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 ... - 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...
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.... - 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... - 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... - 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... - 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... - 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> - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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...
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... - 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... - 11:21 am Revision a6986cfb: Update the NEWS file
- Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com> - 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... - 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 ... - 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... - 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... - 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... - 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 <... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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... - 11:21 am Revision a9a3416e: Fix minor accidental concatenation
- Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com> - 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, ... - 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... - 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... - 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... - 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> - 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... - 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... - 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... - 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...
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... - 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> - 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: ... - 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... - 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... - 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... - 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.... - 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... - 05:19 pm Revision 0df2d967: Document 'fieldExtraKeys' in 'Field'
- Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com> - 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... - 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... - 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... - 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... - 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@... - 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@... - 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... - 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... - 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... - 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... - 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.... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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... - 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...
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>
... - 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... - 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>... - 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... - 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... - 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... - 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:... - 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... - 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... - 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-... - 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 ...
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... - 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... - 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... - 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 ->... - 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... - 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>
... - 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... - 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... - 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 ... - 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... - 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. ...
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 ... - 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 <... - 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... - 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... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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 ... - 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.... - 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... - 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... - 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... - 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... - 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> - 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... - 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... - 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... - 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... - 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-... - 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... - 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... - 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... - 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... - 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... - 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...
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... - 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... - 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... - 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... - 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-... - 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... - 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... - 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... - 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)
... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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 ... - 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 ... - 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... - 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...
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... - 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... - 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> - 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> - 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> - 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> - 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 ... - 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...
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 ... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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... - 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.... - 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.... - 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... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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.... - 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.... - 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... - 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 ... - 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 ... - 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. ... - 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. ... - 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... - 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 ... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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...
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... - 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... - 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... - 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... - 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... - 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 ...
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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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...
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 ... - 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 ... - 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... - 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... - 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 ... - 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 ... - 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... - 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... - 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... - 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 ... - 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... - 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 ... - 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-... - 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> - 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... - 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... - 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... - 03:18 pm Revision 1a0dacf6: Haskell: Lift disk objects
- 03:18 pm Revision bb3011ad: Python: Lift disk objects
- 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... - 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... - 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... - 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... - 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... - 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> - 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... - 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.... - 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> - 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... - 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:... - 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... - 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... - 12:36 pm Revision 8d4c25f2: Add disks entry to config.data
- Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
- 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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...
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> - 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... - 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...
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... - 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... - 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... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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...
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... - 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... - 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... - 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... - 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.
... - 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... - 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... - 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>
... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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.... - 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 ... - 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... - 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... - 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... - 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... - 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-... - 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 ... - 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... - 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... - 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... - 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 ... - 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... - 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 ... - 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... - 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...
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... - 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... - 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... - 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... - 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:... - 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:... - 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... - 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... - 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... - 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... - 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... - 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... - 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 ... - 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 ... - 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... - 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)... - 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... - 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... - 02:33 pm Revision a987c040: Fix indentation
- Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com> - 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...
Also available in: Atom