Statistics
| Branch: | Tag: | Revision:

root @ 293e1c1d

Name Size
  autotools
  daemons
  devel
  doc
  lib
  man
  qa
  src
  test
  tools
.ghci 21 Bytes
.gitignore 2.7 kB
COPYING 17.6 kB
INSTALL 10.5 kB
Makefile.am 78.1 kB
NEWS 136.4 kB
README 191 Bytes
UPGRADE 13.1 kB
autogen.sh 283 Bytes
configure.ac 25.4 kB
epydoc.conf.in 444 Bytes
pylintrc 2.9 kB
pylintrc-test 2.9 kB

Latest revisions

# Date Author Comment
293e1c1d 05/13/2014 11:36 am Hrvoje Ribicic

Make arbitrary compression tools work

We assume that the compression tools the user supplies use stdin and
stdout for handling data, and that a switch is used to distinguish
compression from decompression. This patch introduces these constraints
by adding the invocation of these tools to the import-export daemon....

249f28eb 05/13/2014 11:36 am Hrvoje Ribicic

Add verification of compression tool existence

The addition of lzop as a compression option that does not necessarily
exist on a Ganeti-running machine requires checks that lzop exists.
This patch applies a more general solution, and attempts to check for...

c720ffa9 05/13/2014 11:36 am Hrvoje Ribicic

Correct docstrings

The previously present docstrings noted that only certain values were
to be used, and this patch correct this now that it is not true
anymore.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

86012ec2 05/13/2014 11:36 am Hrvoje Ribicic

Disable protections against unknown compression types

Ganeti took care to restrict all possible compression invocations to
the few options that were available. This patch strips away all of
those, but does not allow any interesting and dangerous commands...

8677c3a9 05/13/2014 11:36 am Hrvoje Ribicic

Extend offered compression types

This patch adds a few new types of compression supported by Ganeti:
gzip-fast (gzip -1), gzip-slow (ordinary gzip), and lzop. gzip now
becomes a shorthand for gzip-fast kept for compatibility.

Signed-off-by: Hrvoje Ribicic <>...

821dbb5f 05/13/2014 11:36 am Hrvoje Ribicic

Extend tests in preparation for new compression types

To ensure that later modifications are also noted in tests, this patch
updates the test to account for all compression types known.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

be7ea029 05/12/2014 04:06 pm Petr Pudlak

Remove the unit test for verifying node's DRBD reservations

We'll need to reconstruct a similar test later when we add functions for
manipulating the configuration directly to WConfd.

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

560c03ed 05/12/2014 04:06 pm Petr Pudlak

Fix the mocked ConfigWriter to pass DRBD minors methods

.. since for unit tests, we don't have access to WConfd, which now
implements the functionality.

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

9271c98e 05/12/2014 04:06 pm Petr Pudlak

Replace DRBD reservations in config.py with WConfd calls

.. and remove unused code.

The verification of the configuration needs to be later included in the
configuration verification checks in WConfd (see issue #759).

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

dddcb604 05/12/2014 04:06 pm Petr Pudlak

Export RPC functions for temp. DRBD reservations in WConfd

These functions will replace the methods in config.py.

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

View all revisions | View revisions

Also available in: Atom