Activity

From 01/30/2014 to 02/28/2014

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

02/05/2014

08:01 pm ganeti-local Revision 12321d90: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix execution group of NodeD
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose A. Lop...
Klaus Aehlig
08:01 pm Revision 12321d90: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix execution group of NodeD
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose A. Lop...
Klaus Aehlig
07:51 pm ganeti-local Revision 97b7831a: Fix execution group of NodeD
The Node deamon was executed with the wrong gid (gnt-daemons) instead of the one
assigned to it by configure.ac.
Fix...
Michele Tartara
07:51 pm Revision 97b7831a: Fix execution group of NodeD
The Node deamon was executed with the wrong gid (gnt-daemons) instead of the one
assigned to it by configure.ac.
Fix...
Michele Tartara

02/04/2014

04:30 pm Revision 66e40fd6: Catch exceptions in 'readConfig' in Ganeti.Config
.. and convert them into a "Result".
This is accomplished by using "liftIO" from ResultT.
Signed-off-by: Petr Pudlak...
Petr Pudlak
04:30 pm Revision 69bf84e1: Catch errors in 'lockFile' in Ganeti.Utils
Opening a file can fail as well, so catch errors there too.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-...
Petr Pudlak
04:12 pm Revision b775af80: Assert correct usage of AndRestArguments fields
The special field andRestArguments is intended to be only used
as the last field of an object, catching all remaining...
Klaus Aehlig
04:09 pm Revision adec726e: Fix missing '@raise' in docstring
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
04:09 pm Revision 32542155: Fix missing '@raise' in docstring
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
04:09 pm Revision 002764e8: Fix missing 'L{...}' in docstring
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
04:09 pm Revision 472cc1e9: Rename 'CdromOption' to '_CdromOption'
... because it is a protected definition.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele T...
Jose A. Lopes
04:09 pm Revision 582bfaf6: Fix whitespace
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
03:47 pm Revision ed6d006b: ifdown: Use new methods to unconfigure NICs
We unconfigure a NIC (invoke ifdown script) during:
* instance cleanup
* finalizing successful migration on source n...
Dimitris Aragiorgis
03:47 pm Revision 31a2b501: ifdown: Use new methods to create NIC files
NIC files containing corresponding tap name are created during:
* instance startup
* NIC hot-add
For compatibility ...
Dimitris Aragiorgis
03:33 pm Revision a97bcacf: ifdown: Introduce _UnconfigureNIC() helper method
This method takes a NIC object, creates the proper invironment
and invokes ifdown script.
It takes an extra boolean ...
Dimitris Aragiorgis
03:14 pm Revision 45907709: Merge branch 'stable-2.11' into master
* stable-2.11
Add andRestArguments to IDiskParams
Add function providing the canonical andRestArguments
Add gen...
Petr Pudlak
03:04 pm Revision 12eaf843: ifdown: Make Read/LoadKVMRuntime classmethods
.. and make LoadKVMRuntime() take instance_name rather than the
whole instance object as first argument. This will be...
Dimitris Aragiorgis
02:56 pm Revision cc3a2cd9: ifdown: Extract env creation from ConfigureNic()
Introduce new helper method that creates the environment passed
to ifup/ifdown scripts. Instance tags and NIC index w...
Dimitris Aragiorgis
02:25 pm Revision 9dcc20b4: ifdown: Introduce helper methods
Until now Ganeti upon TAP creation, a NIC file was created
under $RUNDIR/kvm-hypervisor/nic/<instance_name>/<nic_inde...
Dimitris Aragiorgis
10:51 am Revision 2e09344f: Add andRestArguments to IDiskParams
In this way, we cann pass through the opaque parameters
required for disk creation and modification in the case of
ex...
Klaus Aehlig
10:51 am Revision 4e4821bd: Add function providing the canonical andRestArguments
The field catching the remaining fields will always be of the same
shape, so add a function for this to make usage si...
Klaus Aehlig
10:51 am Revision db9583f2: Add genAndRestArguments :: Gen (Map String JSValue)
So that objects using AndRestArguments are available for testing.
As the AndRestArguments are intended for passing th...
Klaus Aehlig
10:51 am Revision c2442429: Add additional constructor AndRestArguments to OptionalType
A field of this type will capture all the remaining fields
of an object as JSValues. Obviously, the intended use is
t...
Klaus Aehlig
10:51 am Revision b26a275a: Fix specification of TIDiskParams
Commit 580b1fdd incorrectly assumes that disk parameters are
just the standard ones, whereas the man page explicitly ...
Klaus Aehlig
10:48 am Revision bddc92ee: Make BlockDev subclasses adhere the interface for Create
In commit 702c3270 two new parameters were added to the
Create function of BlockDev. Make subclasses also adhere
this...
Klaus Aehlig

02/03/2014

11:50 pm Revision 0585ede0: Change kvm-if* scripts
* Rename kvm-vif-bridge to kvm-ifup-custom
* Search if /etc/ganeti/kvm-if*-custom is available
and execute it inste...
Dimitris Aragiorgis
11:50 pm Revision a4156442: Add example kvm-ifdown script
This script currently does nothing more that calling user the
user provided one if it exists.
User provided script s...
Dimitris Aragiorgis
11:50 pm Revision 5063d1d5: (kvm) Hotplug a device found only in config.data
A device can be added *only* in config.data by omitting `--hotplug`
option. With this patch we allow this device to b...
Dimitris Aragiorgis
11:49 pm Revision 86b60f21: (2.10) 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
11:49 pm Revision 065d194b: (2.10) hotplug: Verify if a command succeeded or not
Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searche...
Dimitris Aragiorgis
11:48 pm Revision 84ba0048: (2.10) hotplug: Each hotplug qemu commmand with a separate socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)
After ha...
Dimitris Aragiorgis
11:47 pm Revision 5e4475de: (2.9) Gracefully handle degraded instances in verification
The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the o...
Klaus Aehlig
11:47 pm Revision 3f08994d: (2.9) Preserve disk basename on instance rename
For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename ...
Klaus Aehlig
11:47 pm Revision 6be5f3e0: (2.9) Be aware of the degraded case when cleaning up an instance
In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by loo...
Klaus Aehlig
11:47 pm Revision 6839584c: (2.9) Assign unique filenames to filebased disks
With the new format for cmdline arguments, the user is able to add a
disk to an instance at a specific index. But fil...
Ilias Tsitsimpis
05:45 pm Revision b7a990e3: Make the LUInstanceCreate return node names, not UUIDs
The LUInstanceCreate returned names instead of UUIDs in 2.6. Along the
way, the names were internally replaced with U...
Hrvoje Ribicic
05:45 pm ganeti-local Revision b7a990e3: Make the LUInstanceCreate return node names, not UUIDs
The LUInstanceCreate returned names instead of UUIDs in 2.6. Along the
way, the names were internally replaced with U...
Hrvoje Ribicic
04:16 pm Revision c032b2ce: Make BlockDev subclasses adhere to new interface
In commit 702c3270 two new parameters were added to the
constructor of BlockDev. Make the subclassess accept these
ad...
Klaus Aehlig

01/31/2014

06:28 pm Revision 702c3270: Make disk.name and disk.uuid available in bdev
Until now Disk name and uuid was not available on bdev level.
In case of ExtStorage, this info is useful, and may be ...
Dimitris Aragiorgis
12:07 pm ganeti-local Revision 401b773e: upgrade: start daemons after ensure-dirs
On upgrading a cluster, we only can rely on daemons starting
up cleanly, if all needed directories are generated firs...
Klaus Aehlig
12:07 pm Revision 401b773e: upgrade: start daemons after ensure-dirs
On upgrading a cluster, we only can rely on daemons starting
up cleanly, if all needed directories are generated firs...
Klaus Aehlig
12:07 pm ganeti-local Revision 5ac19ed3: upgrade design: ensure-dirs before starting daemons
Align the automatic upgrade procedure with the manual upgrade
instructions and run ensure-dirs before starting the ne...
Klaus Aehlig
12:07 pm Revision 5ac19ed3: upgrade design: ensure-dirs before starting daemons
Align the automatic upgrade procedure with the manual upgrade
instructions and run ensure-dirs before starting the ne...
Klaus Aehlig

01/30/2014

06:28 pm ganeti-local Revision afe6bec5: Document new handling of degraded instances in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
06:28 pm Revision afe6bec5: Document new handling of degraded instances in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
06:28 pm ganeti-local Revision 099ed3b2: Gracefully handle degraded instances in verification
The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the o...
Klaus Aehlig
06:28 pm Revision 099ed3b2: Gracefully handle degraded instances in verification
The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the o...
Klaus Aehlig
06:28 pm ganeti-local Revision 7e219d1b: Be aware of the degraded case when cleaning up an instance
In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by loo...
Klaus Aehlig
06:28 pm Revision 7e219d1b: Be aware of the degraded case when cleaning up an instance
In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by loo...
Klaus Aehlig
06:14 pm ganeti-local Revision ebbdde89: Fix network management section in admin.rst
..and clarify that IPv6 info currently does not get used
by Ganeti it self.
Signed-off-by: Dimitris Aragiorgis <dima...
Dimitris Aragiorgis
06:14 pm Revision ebbdde89: Fix network management section in admin.rst
..and clarify that IPv6 info currently does not get used
by Ganeti it self.
Signed-off-by: Dimitris Aragiorgis <dima...
Dimitris Aragiorgis
06:05 pm Revision b13fa4c4: Add script that checks the copyrights of a dirty local repo
Script to check whether the local dirty commits are changing files
which do not have an updated copyright.
The scrip...
Jose A. Lopes
05:45 pm Revision 1ab752c8: Add 'dnsmasq' section and TAP interface names
* add section 'dnsmasq' explaining how to configure dnsmasq to work
with the communication mechanism
* add names t...
Jose A. Lopes
05:28 pm ganeti-local Revision f69cca40: Adapt release date for 2.10.0-rc2
Postpone the rc2 release to Friday 31st.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele T...
Thomas Thrainer
05:28 pm Revision f69cca40: Adapt release date for 2.10.0-rc2
Postpone the rc2 release to Friday 31st.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele T...
Thomas Thrainer
04:11 pm Revision f9666f00: User new error handling functions in SubmitJobToDrainedQueue
This somewhat shortens and simplifies the code.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Ae...
Petr Pudlak
04:10 pm Revision 8383b3b6: Use new error functions when querying locks
This helps to handle errors coming from the Luxi client.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by:...
Petr Pudlak
04:10 pm Revision 38e4d732: Use new error handling functions for querying jobs
Since we already touched getJobIDs, and this function is already based
on ResultT, use new error functions here as we...
Petr Pudlak
04:10 pm Revision ea7032da: Update getDirJobIDs to use ResultT
Also simplify code and remove unused functions.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Ae...
Petr Pudlak
04:10 pm Revision fb54b24a: Improve liftIO of ResultT to catch IOErrors
Any IOErrors are now captured in ResultT's liftIO using try and converted into
'Bad'. This prevents IO exceptions fro...
Petr Pudlak
04:10 pm Revision f59cefcb: Rename 'resultT' to 'toError'
.. to better correspond to its generalized type.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus A...
Petr Pudlak
04:10 pm Revision 87f15934: Generalize type signatures of functions that produce Result
This allows them to be used in any 'MonadError', in particular in monad stacks
composed using ResultT, without explic...
Petr Pudlak
04:10 pm Revision 426f0900: Add withErrorLogAt which annotates and logs errors
.. and rethrows them within a MonadError. This allows to just log errors
and let them be handled elsewhere.
Signed-o...
Petr Pudlak
04:10 pm Revision 565821d1: 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
04:10 pm Revision 861ddf80: Refactor instance MonadLog (ReaderT r m) to unify style
.. with MonadLog (ResultT e m) to be more point-free.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Kl...
Petr Pudlak
04:10 pm Revision d2029364: Add instance MonadLog for ResultT
This allows to log in monad stacks containing ResultT.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: K...
Petr Pudlak
04:10 pm Revision a87a017b: 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
02:48 pm ganeti-local Revision acd59944: Document changes to file-based disks in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
02:48 pm Revision acd59944: Document changes to file-based disks in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
02:48 pm Revision 9e14897d: Preserve disk basename on instance rename
For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename ...
Klaus Aehlig
02:48 pm ganeti-local Revision 9e14897d: Preserve disk basename on instance rename
For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename ...
Klaus Aehlig
11:03 am Revision 8d61946f: Merge branch 'stable-2.11' into master
* stable-2.11
Make safeRenameFile create dirs with defined permissions
Add constant for subdir permissions within...
Petr Pudlak
« Previous
Next »
 

Also available in: Atom