Statistics
| Branch: | Tag: | Revision:

root / Makefile.am @ 1c912fd2

History | View | Annotate | Download (73 kB)

# Date Author Comment
1c912fd2 10/29/2013 02:26 pm Klaus Aehlig

Add test for hsqueeze compression

In this example cluster, there are 6 nodes with
capacity for 4 instances each, holding a total
of 8 instances. So even after turning off 2 nodes
and rebalancing, every node still has capacity for
2 instances.

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

5f6e9cb9 10/29/2013 02:26 pm Klaus Aehlig

Add hsqueeze planning for compression

Add a new htool, hsqueeze, for dynamic power management. This
commit only implements the first useful part: plan (but not
executing) taking nodes offline nodes still keeping within the
resource limit.

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

b7190988 10/23/2013 02:32 pm Santi Raffa

Add dependency between test/py/docs_unittest.py and scripts/

test/py/docs_unittest.py tests that the scripts/ folder has been
populated and fails otherwise. The following sequence of commands has
been failing for this reason since the python bootstrap process changes...

d7d78dd0 10/21/2013 12:08 pm Jose A. Lopes

Merge branch 'origin/stable-2.10' into 'master'

  • stable-2.10
    Create check-news Makefile target
    Add dynamic hbal entry to the NEWS file
    Update NEWS file about cpuid and soundhw
    Mention cmdlib unit tests and python-mock in NEWS
    Update NEWS file about Hs2Py opcodes and constants...
35bdbec3 10/18/2013 02:43 pm Michele Tartara

Create check-news Makefile target

Checking the correctness of the NEWS file syntax is an important part of the
check process, but up to now it was only possible as part of a bigger set of
tests. This commit creates a Makefile target to run that independently....

efa0d4fd 10/17/2013 11:09 am Hrvoje Ribicic

Tests for InstanceInfo retrieval added

As the retrieval of instance information is a tricky operation which
affects the way the instance status is calculated, a few tests have
been added to ensure its behaviour remains constant.

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

3fd38382 10/17/2013 11:09 am Hrvoje Ribicic

Add aliases of existing instance fields

For legacy reasons, some instance fields are aliased. The aliases have
the same definition but appear under different names. Support for such
fields has been added to Query/Common.hs
As aliases can cause somewhat harder to find bugs, a new test was...

1df0266e 10/16/2013 08:56 pm Hrvoje Ribicic

Initial changes for adding instance queries

Add basic instance querying capabilities to the Haskell codebase.
Several fields are present, more to come.

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

c7a02959 10/16/2013 04:55 pm Thomas Thrainer

Prepare master branch for 2.11 devel cycle

Bump versions in various places to 2.11 and remove the downgrade code
from cfgupgrade. Also adapt cfgupgrade tests.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

adb36960 10/15/2013 05:40 pm Thomas Thrainer

Prepare version numbers for 2.10 release cycle

- Bump version numbers to 2.10 in various files
- Move implemented designs to design-2.10

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

3388debb 10/15/2013 02:54 pm Thomas Thrainer

Add unit tests for LUBackupPrepare

This patch adds unit tests for LUBackupPrepare.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

a80e802a 10/15/2013 02:53 pm Thomas Thrainer

Add unit tests for LUBackupQuery

This patch adds unit tests for LUBackupQuery.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

e4dac3e1 10/15/2013 12:29 pm Jose A. Lopes

Add test suite for some names in 'AutoConf'

Add test suite for some names in 'AutoConf' to test whether the values
generated from 'configure' and the 'Makefile' are valid filepaths,
user names, group names, among others. Fixes issue 601.

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

f1b816b7 10/15/2013 12:29 pm Jose A. Lopes

Fix several search path configure options

Fix several search path configure options to properly handle
separators.

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

30a31713 10/14/2013 05:18 pm Klaus Aehlig

Design document for hsqueeze

This design document describes a new htool, hsqueeze, to
be used to move the externally-mirrored instances in such a
way that as few nodes as possible host instances at all.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Martin Zobel-Helas <>...

d250bc5d 10/09/2013 12:02 pm Klaus Aehlig

Make information about GNU ln available to programs

Propagate the information on whether we have the GNU version of ln
to all programs by making it available as a constant.

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

398facd9 10/08/2013 03:57 pm Jose A. Lopes

Disregard comments in 'src/Ganeti/ListContants.hs' target

Update target 'src/Ganeti/ListContants.hs' to disregard comments in
'src.Ganeti.HsContants' when extracting the names of the constants
that need to be generated from Haskell to Python.

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

9b20010b 10/04/2013 05:13 pm Klaus Aehlig

Provide the DIRVERSION as a constant

Depending on configure options, the version string used in the name
of the version specific directory differs. Provide this string also
as a constant, as it is needed for the upgrade procedure, in order to
be able to roll back....

9bfcf2e9 10/04/2013 05:10 pm Klaus Aehlig

Expose sharedir in pathutils

This path is needed to construct the link target
for $(sysconfdir)/ganeti/share for a different version.
The latter will happen in the automated upgrade procedure.

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

1eda3dd3 10/04/2013 05:09 pm Klaus Aehlig

Add utility function to parse version strings

The new 'gnt-cluster upgrade' command will get a Ganeti version as
argument. So provide a function able to parse it.

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

982dc0e0 10/02/2013 09:46 am Klaus Aehlig

Merge branch 'stable-2.9' into master

  • stable-2.9
    Version bump for 2.9.0 rc1
    Update NEWS for 2.9.0 rc1
    configure: check for hslogger
    Document hslogger dependency in NEWS
    Update INSTALL: hslogger is mandatory
    Update installation instruction for Debian...
33ce4d2d 09/30/2013 03:20 pm Spyros Trigazis

Add test for mond-data mock file

Test if the input file imported with the --mond-data option is
parsed properly.

Signed-off-by: Spyros Trigazis <>
Signed-off-by: Michele Tartara <>
Reviewed-by: Michele Tartara <>

cea4194b 09/30/2013 11:14 am Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Fix wrong release date in the NEWS file
    Version bump for 2.8.0
    Add daemon split design doc
  • stable-2.7
    Version bump for 2.7.2

Conflicts:
Makefile.am
NEWS
configure.ac
doc/design-draft.rst...

ffedf64d 09/27/2013 02:06 pm Michele Tartara

Add daemon split design doc

This describes the future planned structure of Ganeti daemons.

Signed-off-by: Michele Tartara <>
Reviewed-by: Guido Trotter <>

42e85303 09/25/2013 04:49 pm Klaus Aehlig

Merge branch 'stable-2.9' into master

  • stable-2.9
    Including missing RST files in packaging
    Update supported lint tools version numbers
    Fix some wrong indentations in the code
    Disable parenthesis indentation check
    Fix an improperly escaped string...
a3f895e6 09/25/2013 02:06 pm Klaus Aehlig

Fix expansion in Makefile.am

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

e4940da5 09/25/2013 01:58 pm Jose A. Lopes

Fix 'src/mon-collector.hs' source in dist

This patch fixes 'Makefile.am' to include the source file of
'mon-collector' in the distribution tarball even if the monitoring
daemon has been disabled at configure time. Fixes issue 587.

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

effc1b86 09/25/2013 01:50 pm Jose A. Lopes

Move 'BuildVersion' to 'lib/utils/version.py'

Functions 'BuildVersion' and 'SplitVersion' are no longer needed by
the constants and, given that they are not constants, they should be
moved elsewhere. Since they are only used by 'cfgupgrade' and tests,
these functions are moved to 'lib/utils/version.py' and references to...

285d04a1 09/25/2013 01:50 pm Jose A. Lopes

HUnit test for 'buildVersion'

Add 'HUnit' test for 'buildVersion'.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Thomas Thrainer <>

5b2983dd 09/25/2013 01:49 pm Jose A. Lopes

Remove '_autoconf'

The previous patch has made '_autoconf' obsolete. This patch
completely removes '_autoconf' and the 'Makefile' targets for it.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Thomas Thrainer <>

dde3b0d5 09/25/2013 12:12 pm Robin H. Johnson

Including missing RST files in packaging

Signed-off-by: Robin H. Johnson <>

The patch was released by the author into the public domain.

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

6294e2b4 09/25/2013 10:55 am Michele Tartara

Disable parenthesis indentation check

More recent versions of pep8 check for the indentation level of closing
parenthesis in a way that is incompatible with the way we use in our code. Our
style is still pep8 compliant, and was re-allowed in even more recent versions...

90015bdd 09/23/2013 06:34 pm Klaus Aehlig

Handle $(python_scripts) and tools/burnin as python scripts

With the new private-module layout, python scripts using the
ganeti module must end up in $(versionedsharedir) in order
to see this private module.

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

12475881 09/23/2013 06:34 pm Klaus Aehlig

Export VERSIONEDSHAREDIR to _autoconf.py

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

61125868 09/20/2013 04:30 pm Klaus Aehlig

Also install the version-dependent links forcefully

In this way, with default configuration options, running
make install twice in a row succeeds. Fixes issue 567.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Thomas Thrainer <>

cd238561 09/20/2013 03:39 pm Jose A. Lopes

Fix 'TOOLSDIR' when passed to 'src/AutoConf.hs'

Remove trailing parenthesis in 'TOOLSDIR' 'configure' variable when
passed to 'm4' to generate 'src/AutoConf.hs'.

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

3311e336 09/19/2013 04:42 pm Jose A. Lopes

Fix conflicting path values from 'configure'

Because the Hs2Py constant generation infrastructure is transitional,
there are two generated 'autoconf' modules, namely, 'src/AutoConf.hs'
and 'lib/_autoconf.py'. However, conflicting values were being
generated for Haskell and Python concerning the variables...

2f523522 09/19/2013 04:31 pm Klaus Aehlig

The $(gnt_python_sbin_SCRIPTS) are GENERATED_FILES

Before the layout change, the corresponding scripts used to be
part of PYTHON_BOOTSTRAP, hence were already considered as
generated.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Thomas Thrainer <>...

9f8e85c6 09/19/2013 02:59 pm Klaus Aehlig

For exported paths, use the canonical ones

Some paths set that are set at configure time are needed at run
time. These are exported by the Makefile. Change this to export the
"canonical", unversioned, ones. This also has the advantage, that
tools do not have to know which programs are python scripts (where,...

9fb2e563 09/19/2013 02:59 pm Klaus Aehlig

Adapt the version-dependent symlinks to the new design

With the latest change of our update design, there are only two
symbolic links left, that are specific to a particular version.
Those are only installed, if requested.

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

eb875ff1 09/19/2013 02:59 pm Klaus Aehlig

Add the version-independent symbolic links

According to our new upgrade design, a couple of links are
version-independent, and should be installed always.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

838d26ef 09/19/2013 02:59 pm Klaus Aehlig

Make version granularity a configure option

From 2.10 onwards, all files are installed into versioned
directories. As everything stays compatible between revisions,
it is not technically necessary, to have revisions included in
the directories. Nevertheless, there are situations where this...

780060cb 09/19/2013 02:58 pm Klaus Aehlig

Adapt the base directories according to new layout

The file layout described in the upgrades design document has changed.
Adapt the base directories accordingly.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

30277da3 09/18/2013 11:54 am Jose A. Lopes

Fix missing dependency on 'src/hs2py-constants'

Fix missing dependency on target 'src/hs2py-constants' in
'Ganeti.ConstantUtils'.

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

55ba3ad6 09/17/2013 06:45 pm Sebastian Gebhard

Add unittests for OpenvSwitch in LUNodeAdd

This patch adds node_unittest.py containing the framework for unit
testing LUNodeAdd.
At this point, only test setup and tests for OpenvSwitch are
implemented.

Signed-off-by: Sebastian Gebhard <>...

f8d4db63 09/12/2013 06:26 pm Klaus Aehlig

Add shelltest for the --ignore-dynu option of hbal

In the example, we have two nodes and 6 instances, all using external
storage. There are four small instances on one node, and two big
instances, requiring twice the amount of resources of a small instance,...

2f3230f6 09/12/2013 03:56 pm Thomas Thrainer

Add unit test for LUInstanceQuery and -QueryData

This patch provides rudimentary unit test coverage for LUInstanceQuery
and LUInstanceQueryData.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Klaus Aehlig <>

d1b2ffe8 09/12/2013 03:56 pm Thomas Thrainer

Add unit tests for LUInstanceMigrate and -Failover

This patch adds rudimentary unit test coverage for LUInstanceMigrate and
LUInstanceFailover.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Klaus Aehlig <>

6b604e1d 09/12/2013 03:32 pm Jose A. Lopes

Fix missing dependency in 'src/hs2py-constants'

Fix target 'src/hs2py-constants' because it must depend on
'src/AutoConf.hs'. Fixes issue 573.

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

0c5f1b13 09/12/2013 03:23 pm Thomas Thrainer

Merge branch 'stable-2.9' into master

  • stable-2.9
    Fix bridging in net-common
    Sync build_chroot with buildbot slack role
    Auto-upgrade of disks' config wrt LD-renaming
    Fix tests regarding DISK_LD_DEFAULTS
    Fixing renaming of DISK_LD_DEFAULTS
    Replace LD_* constants with DT_* constants...
b2e7599d 09/12/2013 12:24 pm Thomas Thrainer

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Make tools/users-setup explain its actions first
    Generate tools/users-setup from descriptions
    Provide ganeti user and group data in easy-to-parse form
    Remove dsahostkeypub during config downgrade...
9317e5dc 09/11/2013 07:11 pm Klaus Aehlig

Make tools/users-setup explain its actions first

Before doing any changes, make tools/users-setup explain its
actions first, and ask the user for confirmation. If the first
argument is --yes-do-it, this step will be skipped.

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

7822dd66 09/11/2013 07:11 pm Klaus Aehlig

Generate tools/users-setup from descriptions

Now that we have a machine readable description of the users
to be added to the system, use it to generate the tools/users-setup
script, so that we again have only one authoritative source of
the user and group requirements. This also has the advantage of...

d2f465dc 09/11/2013 07:11 pm Klaus Aehlig

Provide ganeti user and group data in easy-to-parse form

Upon build time, also generate, in the directory doc/users, files
containing the groups, the users with their primary group, and the
additional groupmemberships to be added. In this way, packages can use...

ca2d5dcc 09/11/2013 11:01 am Jose A. Lopes

Add target 'AutoConf.hs'

Add Makefile target to generate 'AutoConf.hs' and add this file to
'.gitignore'.

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

3e5b34c3 09/10/2013 02:33 pm Klaus Aehlig

Also clean up top-level *.tix files

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

f2b6e7d4 09/10/2013 11:58 am Jose A. Lopes

Add 'FrozenSet'

Add type 'FrozenSet' that wrap a Haskell 'Set', and a guarded
constructor for this type and a 'PyValue' instance.

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

02eb0fe5 08/30/2013 03:15 pm Klaus Aehlig

Don't install dangling symlink for hail

hail is installed to the iallocators directory, not to the binary
directory. Hence, if --enable-symlinks is given (the default), do
not install a symbolic links there either.

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

1b2adaa6 08/29/2013 01:17 pm Jose A. Lopes

Setup constant generation infrastructure

Setup a transitional Haskell to Python constant generation
infrastructure. This infrastructure is transitional and Python
constants will not be migrated to Haskell all at once. Instead, some
constants will be incrementally pulled from Python and moved to...

fec1fac1 08/29/2013 01:17 pm Jose A. Lopes

Rename 'Constants.hs' to 'PyConstants.hs'

Rename the generated 'Constants.hs' module, which contains the Haskell
constants generated from Python, to 'PyConstants.hs' in order to
eliminate duplicated constants in Haskell, a problem introduced by the
Haskell to Python constant generation, and to circumvent a problem...

d34c79b6 08/29/2013 01:17 pm Jose A. Lopes

Add Template Haskell code for constant generation

Add Template Haskell functions that generate a list in Haskell
containing all the constants to be generated in Python. This list is
an association list mapping the constant name to its Python value,
which is stored as a string....

c4d68e39 08/29/2013 01:17 pm Jose A. Lopes

Move some 'PyValue' instances to a separate file

Move some 'PyValue' instances to a separate file so they can be
available to other modules which need these instances but do not want
to depend on the constants module, which led to compilation
constraints....

036744e2 08/28/2013 05:52 pm Klaus Aehlig

Add design-2.9 to docinput

While design-2.9.rst was already created earlier, it
wasn't registered in the Makefile. Fix this.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Guido Trotter <>

eb0413c6 08/27/2013 05:16 pm Klaus Aehlig

Provide symlinks for all myexeclib_SCRIPTS

As we also install the nodist_myexeclib_SCRIPTS, we also need to
provide symbolic links for them if symlink installation is desired.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Guido Trotter <>

46204919 08/27/2013 03:08 pm Klaus Aehlig

In the manpages, use unversioned paths

Ganeti now installs all its files into a version-specific directory
and only adds symbolic links at the canonical installation places.
Nevertheless, make documentation, in particular man pages, still contain
the old places, i.e., the places where the symbolic links are added....

f148fe23 08/27/2013 03:04 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Add function to unwrap Results logging failures
    Make the DRBD collector more failure-resilient
    Prepare GetLinuxNodeInfo for testing
    Add unit test for GetLinuxNodeInfo
    NEWS update and version bump for 2.8 rc2...
c3ae7998 08/27/2013 11:46 am Klaus Aehlig

Change versiondir to adhere the changed design

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Guido Trotter <>

902eb29f 08/22/2013 06:18 pm Michele Tartara

Add unit test for GetLinuxNodeInfo

The function was not unit tested previously.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>

9cf292af 08/22/2013 06:02 pm Klaus Aehlig

Add configure option on whether to install symlinks

As of Ganeti 2.10, all files are installed into a single, version
specific, directory. In this way, several Ganeti versions can be
installed in parallel. Appropriate symbolic links in the search path
will be added by the Ganeti upgrade procedure. For the initial...

667e9959 08/22/2013 06:01 pm Klaus Aehlig

Move installation to a single Ganeti specific directory

As first step of implementing the new upgrade procedure (see design
document), make Ganeti install all files into a single directory,
$(prefix)/opt/Ganeti-$(VERSION). Symbolic links outside to this directory...

66222813 08/21/2013 10:27 am Thomas Thrainer

Add unit tests for LUInstanceCreate and move tests

- Move instance related tests to instance_unittest.py
- Adapt moved tests to the new test framework where appropriate
- Add unit test coverage for LUInstanceCreate
- Only instance creation is covered yet, no imports...

cf9f3b92 08/20/2013 06:44 pm Klaus Aehlig

Design document for automatised upgrades

This design document describes how upgrade and downgrades
can be made more automatic for future versions.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

8129eac1 08/14/2013 03:19 pm Thomas Thrainer

Move TestLUGroupAssignNodes to group_unittest.py

While moving the test, it is adapted to the new test framework.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Guido Trotter <>

961ddf1e 08/08/2013 11:10 am Thomas Thrainer

Generate text report of Haskell coverage

In order to generate a coverage graph, we generate also the coverage
data as text format. This eases parsing on Buildbot.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

08cef8fc 08/07/2013 06:52 pm Thomas Thrainer

Add unit test for LUClusterRename

Also mock the netutils and ssh module in order to test all code paths.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Michele Tartara <>

1fa88aa6 08/07/2013 06:51 pm Thomas Thrainer

Move cmdlib-related unittests to cmdlib/

ganeti.cmdlib_unittest.py and
ganeti.cmdlib.instance_storage_unittest.py are moved to the
test/py/cmdlib directory. Also, they are renamed to match the names in
this module.

Additionally, instance_storage_unittest.py was added to the makefile, so...

19830e88 08/07/2013 06:48 pm Thomas Thrainer

Add unit test for LUClusterActivateMasterIp

In order to properly assert the called RPC method, eq is implemented
on ConfigObject as well.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Michele Tartara <>

bd39b6bb 08/07/2013 06:48 pm Thomas Thrainer

Enable pylint and PEP8 for test support code

The test support code is mainly written from scratch, so in order to
ensure to keep the code quality high, enable pylint and PEP8 checks
for it.

Due to some specialities of the test code, a dedicate pylintrc-test file...

3efa7659 08/07/2013 06:48 pm Thomas Thrainer

Initial version of cmdlib test framework

The initial version of the cmdlib test framework is able to execute LU's
with the following components mocked:

  • Configuration
  • IAllocator interface
  • Lock manager
  • MCPU processor
  • RPC runner

A base test class is provided which makes it easy to execute opcodes and...

1ca326c8 08/07/2013 06:46 pm Thomas Thrainer

Merge branch 'stable-2.9'

  • stable-2.9
    Fix batch creation of instances
    Fix documentation of gnt-instance batch-create
    Support multi instance allocs without iallocator
    Support DSA SSH keys in bootstrap
    Include VCS version in `gnt-cluster version`...
804d72eb 08/07/2013 05:41 pm Thomas Thrainer

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Fix batch creation of instances
    Fix documentation of gnt-instance batch-create
    Support multi instance allocs without iallocator
    Support DSA SSH keys in bootstrap
    Include VCS version in `gnt-cluster version`...
580b1fdd 08/07/2013 10:42 am Jose A. Lopes

Hook h2spy in Makefile.am

  • add rules to Makefile.am to use hs2py to generate the Python opcodes
    from Haskell and update tests to check that Haskell and Python contain
    the same opcodes.
  • split 'opcodes.py' in 'opcodes.py.in_after' and 'opcodes_base.py',...
f3e38e89 08/07/2013 10:41 am Jose A. Lopes

Generate Python opcodes from opcode descriptors

Add Haskell module Hs2Py which contains the helper functions that
generate the Python opcodes as strings from the Haskell opcode
descriptors produced by Template Haskell.

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

2da679f7 08/05/2013 11:59 am Spyros Trigazis

Add CPUload collector

Introduce CPUload data collector as described in the corresponding
design document. Add two data types in Datacollectors's Types.

Signed-off-by: Spyros Trigazis <>
Signed-off-by: Michele Tartara <>...

f6d4b52d 08/05/2013 11:59 am Spyros Trigazis

Introduce LoadParser and Types for a new Collector

Introduce the Parser and Types for a new Data Collector.

Signed-off-by: Spyros Trigazis <>
Signed-off-by: Michele Tartara <>
Reviewed-by: Michele Tartara <>

f5bbddb5 08/05/2013 11:59 am Spyros Trigazis

Add generic Parsers file

Extract the utility functions of Diskstats's collector
Parser so other collector Parsers can be able to use them.

Signed-off-by: Spyros Trigazis <>
Signed-off-by: Michele Tartara <>
Reviewed-by: Michele Tartara <>

4a52945f 08/01/2013 01:21 pm Apollon Oikonomopoulos

Add monitoring-query-format.rst to $(docinput)

Commit 431ff2c10 split the monitoring system documentation in two parts but did
not include the new monitoring-query-format.rst to $(docinput). As a result,
current tarballs of 2.8 do not ship doc/monitoring-query-format.rst....

d99dd9c7 08/01/2013 12:29 pm Michele Tartara

Fix documentation building rules

Implement the correct behavior to be kept when sphinx-build is not installed.
It was already correctly checked, but instead of just disabling the
documentation generation, an error message was printed, having "make" fail....

405ee200 07/30/2013 12:18 pm Jose A. Lopes

Fix Makefile.am dependency on 2 documentation targets

Makefile.am rule for doc/html/index.html and doc/man-html/index.html
requires executing sphinx-wrapper. However, sphinx-wrapper was not in
the dependency list for this rule.

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

2fe1e043 07/29/2013 03:27 pm Helga Velroyen

Remove obsolete autoconf variable from remaining files

This removes the obsolete autoconf variable
'ENABLE_SHARED_FILE_STORAGE' from all remaining files.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Thomas Thrainer <>

21c2612d 07/25/2013 05:28 pm Guido Trotter

Merge branch 'stable-2.9'

  • stable-2.9:
    Update NEWS and version for Ganeti 2.7.1
    Add hvparam to disable VNET_HDR on tap devices
    daemon-util: pass --oknodo at rotate_logs
    Fix another missing renaming
    Add logrotate example
    daemon-util: provide rotate_logs and rotate_all_logs actions...
17cda747 07/25/2013 05:27 pm Guido Trotter

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8:
    Update NEWS and version for Ganeti 2.7.1
    Add hvparam to disable VNET_HDR on tap devices
    daemon-util: pass --oknodo at rotate_logs
    Add logrotate example
    daemon-util: provide rotate_logs and rotate_all_logs actions...
24f8fca3 07/25/2013 04:37 pm Guido Trotter

Merge branch 'stable-2.7' into stable-2.8

  • stable-2.7:
    Update NEWS and version for Ganeti 2.7.1
    daemon-util: pass --oknodo at rotate_logs
    Add logrotate example
    daemon-util: provide rotate_logs and rotate_all_logs actions

Conflicts:
NEWS: trivial...

e408eb8a 07/24/2013 08:02 pm Klaus Aehlig

Add a high-level design for the proposed Opcode filtering

This is a design document detailing the semantics of the
fine-grained control of jobs in Ganeti.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Guido Trotter <>

3798b89a 07/24/2013 01:34 pm Dimitris Aragiorgis

Add hotplug design doc

This is a design document detailing the implementation of device
hotplugging in Ganeti.

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Guido Trotter <>

e48c3613 07/23/2013 05:44 pm Apollon Oikonomopoulos

Add logrotate example

Add an example logrotate snippet, along with the relevant documentation.

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Guido Trotter <>

3039e2dc 07/23/2013 03:29 pm Helga Velroyen

gnt-cluster {init, modify} --file-storage-dir

This patch implements consistent usage and behavior of
the --file-storage-dir option in 'gnt-cluster init'
and 'gnt-cluster modify'. It includes a bunch of unit
tests as well.

Additionally, it enables the previously written unit...

bcab7a50 07/19/2013 07:45 pm Michele Tartara

Cluster upgrade for 2.10 must be run against 2.9

Add a 2.9 configuration file and modify the test to use it.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>

489c9037 07/17/2013 07:55 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Rename queryd to luxid
    Document the rapi client not to have a QueryNetworks method
    Enable unit tests again
    Document ganeti-queryd
    Add ganeti-queryd to QA env test
    Add queryd daemon (split from confd)...
3695a4e0 07/17/2013 06:04 pm Thomas Thrainer

Rename queryd to luxid

As queryd will, in the future, handle all LUXI request, queue jobs and
most likely perform various other tasks, it is renamed to luxid already.
This will safe some headache when upgrading Ganeti installations, as we
don't have to deal with a daemon rename....