Statistics
| Branch: | Tag: | Revision:

root @ 93f1e606

# Date Author Comment
67bd83ae 02/19/2014 10:39 am Jose A. Lopes

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 way similar to that of
'gnt-cluster verify', for example.

Signed-off-by: Jose A. Lopes <>...

e04860cc 02/19/2014 10:39 am Jose A. Lopes

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 QA, and update the
general documentation about the constants related to the instance
communication mechanism....

93f1e606 02/19/2014 10:39 am Jose A. Lopes

Add '-c | --instance-communication' flag to instance modify

  • Add the instance communication flag to the 'OpInstanceSetParams'
    opcode. This flag allows the user to enable/disable instance
    communication in a running instance. This patch adds this flag but...
ebe70850 02/19/2014 10:39 am Jose A. Lopes

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 <>
Reviewed-by: Hrvoje Ribicic <>

fc963293 02/19/2014 10:39 am Jose A. Lopes

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 patch fixes with parameter
to conform to this convention.

Signed-off-by: Jose A. Lopes <>...

7a51281a 02/18/2014 04:39 pm Jose A. Lopes

Fix whitespace and typos in comments

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

79cf373a 02/18/2014 01:56 pm Petr Pudlak

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 such files.
This disables the warnings.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Hrvoje Ribicic <>

857a05fe 02/18/2014 12:30 pm Petr Pudlak

Disable deprecation warnings in PyRPC

Since on Debian Squeeze we have TH version 2.4, we need to use 'report'
instead of 'reportWarning/reportError'. However, 'report' is deprecated
in later versions, therefore we need to disable the warning.

The warning doesn't manifest on Debian Squeeze or Wheezy, but causes...

a317d77a 02/17/2014 03:40 pm Klaus Aehlig

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
state as well.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

95eb97c8 02/17/2014 03:40 pm Klaus Aehlig

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 WConfD
can be implemented. The actual locks still have to be added.

Signed-off-by: Klaus Aehlig <>...

3f173b09 02/17/2014 03:40 pm Klaus Aehlig

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 instance of Ord
to be used as the type of lock owners.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

1d49428b 02/17/2014 03:40 pm Klaus Aehlig

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 the final state, and
if it fails, the state must be unchanged.

Signed-off-by: Klaus Aehlig <>...

987fcfb7 02/17/2014 03:40 pm Klaus Aehlig

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: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

3469663d 02/17/2014 03:40 pm Klaus Aehlig

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 other user can hold the same lock (neither
exclusively, nor shared).

Signed-off-by: Klaus Aehlig <>...

15208e95 02/17/2014 03:40 pm Klaus Aehlig

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 owners of the locks
on which the operation is blocked.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

a1da8a50 02/17/2014 03:40 pm Klaus Aehlig

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 this intuition
in mind.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

c2b8d366 02/17/2014 03:40 pm Klaus Aehlig

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 appropriate data
structure to describe the current status of the locks.

Signed-off-by: Klaus Aehlig <>...

438ce535 02/17/2014 01:27 pm Jose A. Lopes

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 but no program or
Makefile.am:310: library has `BUILT_PYTHON' as canonical name (possible typo)...
a53772a0 02/14/2014 04:57 pm Klaus Aehlig

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 client certificate serial number
    Revert "Temporarily remove SSL changes from NEWS file"
    Revert "Disabling client certificate usage"...
0565f862 02/14/2014 03:51 pm Helga Velroyen

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 extend it with a couple of suggestions to improve
the SSL security even more.

Signed-off-by: Helga Velroyen <>...

e593c9c8 02/14/2014 03:51 pm Helga Velroyen

Test node certificate renewal in QA

This extends the QA by explicitely testing the renewal
of SSL client certificates.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Klaus Aehlig <>

ab4b1cf2 02/14/2014 03:51 pm Helga Velroyen

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
particular case, the SSL connection could not be
established when the serial number of the certificates...

a15cd685 02/14/2014 03:51 pm Helga Velroyen

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.
As this patch series fixes the SSL problem that caused
the disabling of the features, we are adding back the...

d5104ca4 02/14/2014 03:51 pm Helga Velroyen

Revert "Disabling client certificate usage"

This reverts commit 45f75526b848, which was introduced to
temporarily disable the implementation of SSL client
certificates. As this patch series fixes the reason for
the disabling, we are rolling back the patch....

a2a1a8ca 02/14/2014 11:47 am Petr Pudlak

Add functions for atomic operations on files

Function 'atomicUpdateFile' extends 'atomicWriteFile' that allows any
action to be run on a temporary file.

Function 'atomicUpdateLockedFile' additionally locks the original file
using flock and checks if its state conforms to the last one....

e465608f 02/14/2014 11:47 am Petr Pudlak

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 <>
Reviewed-by: Klaus Aehlig <>

31daf7db 02/14/2014 11:47 am Petr Pudlak

Re-export liftIO from BasicType

This makes usage of ReaderT's liftIO more convenient.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

14551dc3 02/14/2014 11:47 am Petr Pudlak

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 <>
Reviewed-by: Klaus Aehlig <>

5a89351b 02/14/2014 11:47 am Petr Pudlak

Fix an ambiguity in the documentation for GetNodesSshPorts

This ambiguity was introduced by adding the WConfd client.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

bd2fab62 02/14/2014 11:47 am Petr Pudlak

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-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

81959e7b 02/14/2014 11:47 am Petr Pudlak

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 Pudlak <>
Reviewed-by: Klaus Aehlig <>

c4071978 02/14/2014 11:47 am Petr Pudlak

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-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

f952ed9f 02/14/2014 11:47 am Petr Pudlak

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 possible.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

30ac9195 02/14/2014 11:47 am Petr Pudlak

Update Makefile.am to properly install generated stubs

This involves adding a new sets of variables for the directory.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

abd0ddfc 02/14/2014 11:47 am Petr Pudlak

Add a Python directory for RPC generated stubs

Directory "lib/rpc/stubs" will contains RPC stubs generated from
Haskell.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

d36e433d 02/14/2014 11:47 am Petr Pudlak

Let RPC clients handle their socket address

.. instead of AbstractClient itself. Also let every client call
_InitTransport() as needed. This allows to determine socket addresses
later than during the initialization of a class.

Signed-off-by: Petr Pudlak <>...

59881a0b 02/14/2014 11:47 am Petr Pudlak

Add the WConfD daemon itself

The daemon exposes the declared functions in Ganeti.WConfd.Core to RPC
clients (currently just 'echo').

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

fb0fa957 02/14/2014 11:47 am Petr Pudlak

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 <>
Reviewed-by: Klaus Aehlig <>

13f59e11 02/14/2014 11:47 am Petr Pudlak

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-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

12121213 02/14/2014 11:47 am Petr Pudlak

Add a MonadLog instance for strict variant of RWS

This allows to log in monad stacks containing RWS.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

9515a7d2 02/14/2014 11:46 am Petr Pudlak

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-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

a85aef5c 02/14/2014 11:46 am Petr Pudlak

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 as a value of type Handler
(from Ganeti.UDSServer). This can be readily used to create a daemon
that dispatches RPC requests to the given functions....

63571096 02/14/2014 11:46 am Petr Pudlak

Add tests for Ganeti.THH.Types

In particular, test (de)serialization of "OneTuple".

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

1263a102 02/14/2014 11:46 am Petr Pudlak

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 <>
Reviewed-by: Klaus Aehlig <>

f3a522ff 02/14/2014 11:46 am Petr Pudlak

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 arbitrary number of
arguments.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

f20038fd 02/14/2014 11:46 am Petr Pudlak

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 like this is happening: Some code, that uses
the library, is only referenced through Template Haskell. A probable bug...

d5868411 02/14/2014 11:46 am Petr Pudlak

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 <>
Reviewed-by: Klaus Aehlig <>

b172b0ab 02/14/2014 11:46 am Petr Pudlak

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 like "fork" within monads
such as "ResultT e IO" or "ReaderT IO".

Signed-off-by: Petr Pudlak <>...

e1b9b5c6 02/14/2014 11:46 am Petr Pudlak

Add lifted-base to the list of requirements

This includes NEWS and INSTALL

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

fb1a5271 02/14/2014 11:46 am Petr Pudlak

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 <>
Reviewed-by: Klaus Aehlig <>

f398c9b9 02/13/2014 03:03 pm Jose A. Lopes

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_down', it will cleanup
the instance, that is it will stop the instance, thus marking it as...

4b75f8a4 02/13/2014 02:40 pm Jose A. Lopes

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.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>

2ff6426b 02/13/2014 02:34 pm Jose A. Lopes

Refactor instance communication network add and connect

Factor out the opcodes 'OpNetworkAdd' and 'OpNetworkConnect' used in
'LUClusterSetParams' and 'LUGroupAdd' in order to reduce code
duplication and keep the configuration of the instance communication...

f985ecbd 02/13/2014 02:34 pm Jose A. Lopes

Instance communication mechanism QA (for cluster only)

Extend QA with tests for the instance communication mechanism. These
tests cover only the cluster creating the instance communication
network and connecting it to the existing node group, and also if new...

39e27230 02/13/2014 02:34 pm Jose A. Lopes

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 to this network.

  • 'LUGroupAdd._AddInstanceCommunicationNetwork' connects the newly...
0fcb3314 02/13/2014 02:34 pm Jose A. Lopes

'gnt-cluster modify' with '--instance-communication-network'

Extend CLI 'gnt-cluster modify' with
'--instance-communication-network'. Given that the return type for
'OpClusterSetParams' changed to optionally return a list of jobs, it
is also necessary to handle the result of this opcode accordingly....

d6a7518a 02/13/2014 02:33 pm Jose A. Lopes

'LUClusterSetParams' creates the instance communication net

Extend 'LUClusterSetParams' to create the user-supplied instance
communication network in case this network does not exist. Note that
if the user-supplied network already exists, nothing needs to be done...

11eeb1b9 02/13/2014 02:33 pm Jose A. Lopes

Check prereq instance communication network in 'SetParams'

Later, the logical unit for 'OpClusterSetParams' will be responsible
for creating the instance communication network in case it does not
exist. For now, it is important to check whether the network the user...

42fda604 02/13/2014 02:33 pm Jose A. Lopes

Add 'instance_communication_network' to 'OpClusterSetParams'

... and update the unit tests.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>

fcafd191 02/13/2014 02:33 pm Jose A. Lopes

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) and in this case it
uses 'ganeti.cli.JobExecutor' to wait for the jobs and determine the...

9a94cee3 02/13/2014 02:33 pm Jose A. Lopes

Instance comm network from config instead of predefined

  • Add 'ganeti.objects.Cluster.instance_communication_network' to the
    config so the logical unit for 'OpInstanceCreate' can access the
    instance communication network which is stored in the cluster...
8a5d326f 02/13/2014 02:33 pm Jose A. Lopes

Add 'instance_communication_parameter' to 'Cluster'

  • Add parameter 'instance_communication_parameter' to the Python
    'ganeti.objects.Cluster' and the Haskell 'Ganeti.Objects.Cluster'.
  • Update Haskell 'QueryClusterInfo' to return also the
    'instance_communication_network' parameter....
a987c040 02/13/2014 02:33 pm Jose A. Lopes

Fix indentation

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>

a21440d8 02/13/2014 11:25 am Helga Velroyen

Correct test for existance of instances

Since python interprets an empty dictionary as 'False',
testing for the existance of the 'instances' field in
the configuration has to be done by explicitely testing
for 'None'.

Signed-off-by: Helga Velroyen <>...

514dcbda 02/12/2014 07:58 pm Klaus Aehlig

Correct number of empty lines

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Hrvoje Ribicic <>

65b526e7 02/12/2014 07:20 pm Klaus Aehlig

Remove osparams_private when downgrading the configuration

The instance parameter "osparams_private" was newly introduced
in 2.12. So remove it when downgrading the configuration to 2.11.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Hrvoje Ribicic <>

4f7cc3c2 02/12/2014 07:20 pm Klaus Aehlig

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.11.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Hrvoje Ribicic <>

bcb1ab78 02/12/2014 05:54 pm Petr Pudlak

Merge branch 'stable-2.11' into master

  • stable-2.11
    Update the list dependencies in INSTALL
    Make luxid's Haskell dependencies mandatory
    Fix start/stop scripts to run luxid unconditionally
    Remove the HTOOLS configuration variable
    Add a config. conditional for running Haskell coverage...
f4445f53 02/12/2014 05:27 pm Petr Pudlak

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 <>
Reviewed-by: Helga Velroyen <>

eb84bb80 02/12/2014 05:27 pm Petr Pudlak

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 Pudlak <>
Reviewed-by: Helga Velroyen <>

0cd5ab45 02/12/2014 05:27 pm Petr Pudlak

Remove the HTOOLS configuration variable

.. and update the code that uses it.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

6b06efa7 02/12/2014 05:27 pm Petr Pudlak

Fix start/stop scripts to run luxid unconditionally

and update the unit check the list of daemons.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

636e66d1 02/12/2014 05:27 pm Petr Pudlak

Make luxid's Haskell dependencies mandatory

in the build configuration files.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

5a5a64c6 02/12/2014 05:27 pm Petr Pudlak

Update the list dependencies in INSTALL

In particular, move luxid's dependencies to the section with mandatory
dependencies.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

89671df1 02/12/2014 05:15 pm Helga Velroyen

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 file until there is something actually
user-facing happening.

Signed-off-by: Helga Velroyen <>...

fd34efbb 02/12/2014 12:48 pm Petr Pudlak

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 <>
Reviewed-by: Hrvoje Ribicic <>
(cherry-picked from ccded668c8a93fa25aaf21ddf5105270a04fe517)...

8d2ca7d1 02/12/2014 11:46 am Klaus Aehlig

git-ignore automatically generated file tools/kvm-ifup-os

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Jose Lopes <>

f65784ac 02/11/2014 06:43 pm Klaus Aehlig

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

Conflicts:
lib/client/gnt_node.py: trivial
src/Ganeti/Query/Query.hs: import ALL the functions

Signed-off-by: Klaus Aehlig <>...

929efcc3 02/11/2014 06:05 pm Klaus Aehlig

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. However,
as queries are meant to return all nodes with the given name,
it might well return the empty list when a new node is to be...

fb8d8645 02/11/2014 05:29 pm Klaus Aehlig

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 the job-id is asked
for in the filter. As any reasonable person would not add the same
clause twice in an Or-clause, the implicit assumption was that the...

d759a02b 02/10/2014 06:38 pm Klaus Aehlig

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.9.4
    Workaround for monitor bug related to greeting msg
    hotplug: Verify if a command succeeded or not...
adcccd43 02/10/2014 06:24 pm Klaus Aehlig

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 bug related to greeting msg
    hotplug: Verify if a command succeeded or not
    hotplug: Call each qemu commmand with an own socat...
a28216b0 02/10/2014 06:18 pm Klaus Aehlig

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 <>
Reviewed-by: Helga Velroyen <>

673425b8 02/10/2014 04:42 pm Klaus Aehlig

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
    Allow classic queries to use either names or UUIDs
    Document the change of noded's group in NEWS...
28de1c3c 02/10/2014 03:31 pm Jose A. Lopes

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 fail at a later step
anyway.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>

b57b1df4 02/10/2014 02:58 pm Klaus Aehlig

Revision bump for 2.9.4

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

82fca490 02/10/2014 02:58 pm Klaus Aehlig

Set release date for 2.9.4

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

a154caa4 02/10/2014 02:17 pm Klaus Aehlig

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 socket.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

7f28a87a 02/10/2014 02:17 pm Klaus Aehlig

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's.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

2af8b9c9 02/10/2014 02:17 pm Klaus Aehlig

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 allow
to get rid of this keyword argument, as masterd will go away.

Signed-off-by: Klaus Aehlig <>...

39bdcf76 02/10/2014 02:17 pm Klaus Aehlig

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
necessary, as masterd will go away soon.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

b6e31235 02/10/2014 12:44 pm Jose A. Lopes

Fix 'JobIdListOnly' type from 'List' to 'Map'

  • This patch fixes a type discrepancy between the Haskell type
    'Ganeti.OpCodes.JobIdListOnly' and the Python type predicate
    'ganeti.ht.TJobIdListOnly', the former being a list and the latter a
    dictionary....
d027b72b 02/10/2014 11:24 am Jose A. Lopes

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 the CLI.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>...

31d3b918 02/10/2014 11:24 am Santi Raffa

Fix compatibility issues

  • Fix GenericInstanceCreate
  • Fix pylint disable annotation
  • Change some assert methods to assertTrue()

Signed-off-by: Santi Raffa <>
Reviewed-by: Jose A. Lopes <>

fcc27323 02/07/2014 05:40 pm Jose A. Lopes

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 <>
Reviewed-by: Michele Tartara <>

1b84e2d7 02/07/2014 03:42 pm Hrvoje Ribicic

Note UUID identification change in NEWS file

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Klaus Aehlig <>

13ef1fa5 02/07/2014 03:42 pm Hrvoje Ribicic

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. Worse yet, some calls
do not fail, but simply return no result. This is due to the way the...

3062d395 02/07/2014 11:15 am Santi Raffa

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 preprocessing is done.

Warn the user stern warnings about this.

Signed-off-by: Santi Raffa <>...

285ece5b 02/07/2014 11:15 am Santi Raffa

SimpleFillOS: add unit tests for OS parameter merging

Adds tests to ensure OS parameters are dealt with consistently.

Signed-off-by: Santi Raffa <>
Reviewed-by: Jose A. Lopes <>

483e3012 02/07/2014 11:15 am Santi Raffa

NEWS: update with public and private parameters

Also warn about debug mode.

Signed-off-by: Santi Raffa <>
Reviewed-by: Jose A. Lopes <>