Statistics
| Branch: | Tag: | Revision:

root @ 896cc964

# Date Author Comment
896cc964 10/29/2013 03:56 pm Thomas Thrainer

Add local compression to OpBackupExport

OpBackupExport is extended by a compress parameter. This parameter
(either 'none' or 'gzip') controls if instance disks are compressed
before being sent over the network to the destination node.

Signed-off-by: Thomas Thrainer <>...

94ab995a 10/29/2013 03:56 pm Thomas Thrainer

Add --compress option to gnt-instance move

Add a new command line parameter to gnt-instance and pass its value to
OpInstanceMove. Also document the option in the man page.

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

f198cf91 10/29/2013 03:56 pm Thomas Thrainer

Add possibility to compress to OpInstanceMove

OpInstanceMove now supports the 'compress' option. It allows to enable
compression for intra-cluster instance moves.

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

f048c574 10/29/2013 03:56 pm Thomas Thrainer

Remove trailing whitespace

Remove trailing whitespace from OpCodes.hs and OpParams.hs.

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

3fd85fba 10/29/2013 03:56 pm Thomas Thrainer

Remove blockdev_export RPC

This RPC call is no longer used, as for intra-cluster instance moves the
import/export daemon is used too.

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

a986a581 10/29/2013 03:56 pm Thomas Thrainer

Optimize dd parameters for instances moves

Benchmarks have shown that increasing the buffer size and disabling
synchronous output increased the throughput by about 10MiB/s, so make
those parameters the default.

Note that not using sync for output doesn't increase the risk of data...

063613aa 10/29/2013 03:56 pm Thomas Thrainer

Use import-export daemon for intra-cluster moves

This unifies the inter- and intra-cluster moves and the backup code, so
less code needs to be maintained.

Also fix failing tests for LUInstanceMove by following the code changes
in the tests.

Signed-off-by: Thomas Thrainer <>...

d29f52a6 10/29/2013 03:56 pm Thomas Thrainer

Use cluster variable consistently

The cluster object is already retrieved from the configuration, so use
it consistently in LUInstanceMove.CheckPrereq().

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

83266db6 10/29/2013 03:56 pm Thomas Thrainer

Correct comments

Correct comments which confuse the target node with the secondary node
of an instance in LUInstanceMove.

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

80ae381e 10/29/2013 03:56 pm Klaus Aehlig

Fix expectation of the htools wrapping

With the addition of hsqueeze, htools obtained a new personality.
Additionally, the longer htool name also changes the line wrapping of
the descriptions. Adapt the expectation accordingly.

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

9e354be4 10/29/2013 02:26 pm Klaus Aehlig

Add a man page for hsqueeze

Describe the current state of the Ganeti dynamic power management
tool, hsqueeze, in a man page.

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

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

d2fd234c 10/29/2013 02:26 pm Klaus Aehlig

Provide --target-resources option

Add a new option, to be used by hsqueeze, to specify the
target free resources on each node. It is given as a multiple
of the standard allocation, as specified in the instance policy.

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

47c477c8 10/28/2013 04:53 pm Petr Pudlak

Add RpcResult.__repr__ for debugging

This way it's possible to easily log the whole result in a human
readable form.

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

79a32c67 10/28/2013 04:13 pm Petr Pudlak

Let git ignore `.hsenv` directory and vim's session file

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

542a91d4 10/28/2013 04:09 pm Petr Pudlak

If a configuration file can't be loaded, show which one

So far the error message only says it can't be loaded, but not what file
it is.

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

46cc1ab4 10/28/2013 01:48 pm Hrvoje Ribicic

Refactor `getAllConsoleParams` to be more readable

Instead of creating a lot of lists and then zipping them, just work
on every item one at a time. It makes the code much more readable.
This changes the ordering of "effects", but the "effects" here are just...

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

93208049 10/22/2013 05:44 pm Klaus Aehlig

QA: run all the instances during upgrade

The parameter 'upgrade-instances' was meant that one instance of
each of these templates is left alive over the upgrade procedure.
Threfore, breaking after the first suitable template is found is
not helpful.

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

c2c2e891 10/21/2013 07:29 pm Klaus Aehlig

Merge branch 'stable-2.10' into master

  • stable-2.10
    (no new changes)
  • stable-2.9
    Start NEWS entry for 2.9.0 rc4
  • stable-2.8
    Version bump for 2.8.1
    Verify that ConfD is running after master-failover
    daemon-util: handle luxid in {start,stop}_master()...
b72af2b3 10/21/2013 07:07 pm Klaus Aehlig

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Start NEWS entry for 2.9.0 rc4
  • stable-2.8
    Version bump for 2.8.1
    Verify that ConfD is running after master-failover
    daemon-util: handle luxid in {start,stop}_master()
    Fix typo in storage.FileStorage docstring...
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....

d80e2abe 10/18/2013 02:02 pm Santi Raffa

Fix lint on qa_cluster.py

pep8 wants two blank lines after TestUpgrade. The previous commit gave
it one. This commit gives it the second.

Signed-off-by: Santi Raffa <>
Reviewed-by: Helga Velroyen <>

5b2dbea8 10/18/2013 01:42 pm Michele Tartara

Add dynamic hbal entry to the NEWS file

This feature is new in Ganeti 2.10.

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

726886cb 10/17/2013 07:23 pm Santi Raffa

Update NEWS file about cpuid and soundhw

Add entry to the news file, per request.

Signed-off-by: Santi Raffa <>
Reviewed-by: Helga Velroyen <>

9c3dcbbf 10/17/2013 07:16 pm Klaus Aehlig

Fix end-of-line whitespace

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

5d4b0c56 10/17/2013 06:20 pm Thomas Thrainer

Mention cmdlib unit tests and python-mock in NEWS

Add a NEWS entry about the cmdlib test framework and increased test
coverage, and mention that at least python-mock 1.0.1 is required as of
Ganeti 2.10.

Signed-off-by: Thomas Thrainer <>...

94f06b98 10/17/2013 06:16 pm Klaus Aehlig

Run the cluster upgrade test in qa, if enabled

The test is not run directly after the cluster related tests,
but only after basic istance creation is verified, as this test
also creates instances.

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

aa104b5e 10/17/2013 06:16 pm Klaus Aehlig

Add QA routine to test 'gnt-cluster upgrade'

The subtle points of upgrading a cluster can only be found in
QA, so add a method to do so. A prerequisite is, that both
versions are installed on the test cluster. To have a realistic
scenario, instances are created on both versions....

37889387 10/17/2013 06:16 pm Klaus Aehlig

QA: Factor out the list of available instance test

The knowledge about which instance creating tests are
available is best kept in the module on istances. Moreover,
it is not only used by RunInstanceTests, but will
also be needed by the upgrade test.

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

4dbc4c85 10/17/2013 06:11 pm Klaus Aehlig

Mention the --enable-symlinks option in INSTALL

From version 2.11 onwards, the default for Ganeti is to install as
a standby version to be activated by the old Ganeti version itself.
While this is useful for existing users, first-time installations
need to add these symlinks or configure with ``--enable-symlinks``....

98ef4a7b 10/17/2013 06:11 pm Klaus Aehlig

Mention gnt-cluster upgrade in UPGRADE

Ganeti 2.11 is the first version of Ganeti reachable (from 2.10) with
gnt-cluster upgrade. Hence suggest this method in the UPGRADE notes.

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

0be5f292 10/17/2013 06:00 pm Klaus Aehlig

Start NEWS entry for 2.9.0 rc4

So far, we have correct start/stop of luxid during gnt-cluster master-failover
inherited form stable-2.8

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

6a360606 10/17/2013 05:55 pm Jose A. Lopes

Update NEWS file about Hs2Py opcodes and constants

Add information about Haskell to Python opcode and constant
generation.

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

eac094c8 10/17/2013 04:07 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Version bump for 2.8.1
    Verify that ConfD is running after master-failover
    daemon-util: handle luxid in {start,stop}_master()
    Fix typo in storage.FileStorage docstring
    Fix path for serial file...
3fe7d670 10/17/2013 04:06 pm Hrvoje Ribicic

Fix 'times' return type in the fake hypervisor

This patch changes the type of the times value returned by the fake
hypervisor from string to int. The values are used during two RPC
calls, namely InstanceInfo and AllInstancesInfo, and caused errors
when the more strict Haskell query code attempted to parse the...

39d36a5d 10/17/2013 02:17 pm Michele Tartara

Version bump for 2.8.1

Also, update the NEWS file accordingly.

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

f8f415a1 10/17/2013 01:23 pm Helga Velroyen

Fix unit test regarding recent changes in node_info RPC

This fixes a unit test in instance_storage_unittest.py,
which was affected by the recent change in the RCP
'node_info'.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Hrovje Ribicic <>

46c33a2b 10/17/2013 12:27 pm Klaus Aehlig

Change default for --enable-symlinks to false

While in Ganeti 2.10, which is the first version to use
version-dependent symlinks in the sysconfdir should bring
these links by default, for later versions, these links
should be created by 'gnt-cluster upgrade'. So change the...

f277f142 10/17/2013 12:03 pm Hrvoje Ribicic

Update NEWS file about move-instance improvements

Add information about disk template changes and using default
iallocators on the target cluster.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

2b4e194e 10/17/2013 11:38 am Hrvoje Ribicic

Fix 'hvVncTls' key in 'hvsParameterTypes'

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

e7098533 10/17/2013 11:18 am Helga Velroyen

RPC: request spindle information properly

This patch fixes a problem with the RPC call 'node_info'.
Depending on the exclusive storage flag, we need to add
a storage unit for physical volumes in order to obtain
storage space information for them.

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

8b7b7766 10/17/2013 11:18 am Helga Velroyen

Remove deprecated deprecation warning for --no-lvm-storage

This removes the deprecation warning for the option
'--no-lvm-storage'. The deprecation warning was intended
to be raised in 2.9 and 2.10 and removed after that.

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

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

Turn on the usage of Haskell instance queries

This commmit finally switches the instance query handling on.

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

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

Optimize instance query speed

The instance queries have a field called console which requires an
extra RPC call. This commit allows extra parameters to be passed on
to the query logic, which allows us to determine when to make the
extra call.

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

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

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

Add the console field

This patch adds the final console field, using the RPC calls of the
previous commit.

As this requires another RPC call, the live data retrieval functions
of the instance queries are modified and refactored slightly.

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

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

Haskell RPCs can now differ in parameters

The Haskell interface allowed multi-node RPCs to be executed in
parallel, but with the same parameters every time. This restriction
is now lifted by providing a function call accepting pairs of nodes
and parameters....

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

Add a console information RPC call

As the instance queries need console information, and the information
is retrieved through python classes that should not be ported yet, an
RPC call supplying the information has been added. Some tests as well.

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

1d3d454f 10/17/2013 11:09 am Hrvoje Ribicic

Add the last leftover fields

A few fields were missing from earlier work. The timestamp fields,
the pnode.group.uuid field, and the custom nic parameters.
Just the console remains.

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

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

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

Rename Fillable fields to Indexed fields

The naming used in the previous commits did not reflect the use of
the fields well, and clashed with the concept of fillable parameters.
Thus some renaming was done, with slight documentation improvements.

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

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

Add instance network fields

This commit adds the instance network fields. Some of these fields are
also present for every NIC, requiring the reuse of functions from the
previous disk instance fields commit.

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

88b58ed6 10/16/2013 08:57 pm Hrvoje Ribicic

Add instance disk fields

The instance disk fields have been added. As these are the first
fields to be duplicated, some helper functions are present to support
easier specification of fields which have to be duplicated for every
entry in an array of configuration objects, and numbered accordingly....

4e6f1cde 10/16/2013 08:57 pm Hrvoje Ribicic

Add instance parameter fields

This patch adds instance parameter fields to the Haskell instance
queries. The fields retrieve maps of parameters related to e.g.
hypervisors, or operating systems.
Every instance can have parameters different from the defaults,...

9491766c 10/16/2013 08:57 pm Hrvoje Ribicic

Add further fields to instance queries

This commit adds some more fields that are simple to retrieve, as
they are properties of instances recorded in the configuration.

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

df583eaf 10/16/2013 08:57 pm Hrvoje Ribicic

Add the first instance query live fields

This patch adds live fields which can be implemented with the existing
RPC calls. Some fields require additional call types and will be added
later. Most of them can be added at this point.
The status field is especially interesting, as it depends not on the...

11d09d75 10/16/2013 08:57 pm Hrvoje Ribicic

Add a new field type - FieldConfigRuntime

In the instance queries, some fields require both config and runtime
information. This patch adds a new field type for this purpose.

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

c2fe6008 10/16/2013 08:57 pm Hrvoje Ribicic

Move hypervisor fetches from Node.hs to Common.hs

As patches that follow will need the functionality in
Ganeti.Query.Node, this patch moves it to the common query file.

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

c14ba680 10/16/2013 08:56 pm Hrvoje Ribicic

Enable 'AllInstancesInfo' RPC call in Haskell

The AllInstancesInfo call appears to have been implemented but never
used. The commit makes it usable by modifying the parameter type and
serialization.

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

d286d795 10/16/2013 08:56 pm Hrvoje Ribicic

Unify all live calls which return no data

With the (current) instance query, there are three queries which do not
require live data: instance, network, and group queries.
The collectors and runtime types for these have been unified.

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

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

5771c501 10/16/2013 08:56 pm Hrvoje Ribicic

Document the generic query function

The way the generic query works was not documented anywhere. For
greater readability, add a short explanation to the genericQuery
function.

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

697e573c 10/16/2013 08:56 pm Hrvoje Ribicic

Fix the "times" field type for KVM hypervisor

The KVM hypervisor Python class returned a "0" value for the times
field, which gets serialized as a string. As Haskell is more picky
about types, this caused the entire response to be declared as invalid
and broke status reporting. Fixed by changing the value to a proper...

c9e52e4c 10/16/2013 07:38 pm Helga Velroyen

Verify that ConfD is running after master-failover

This patch adds additional 'gnt-node list' commands to
the testing of 'gnt-cluster master-failover' in order to
test if ConfD (or LuxiD) is still running after a
master-failover.

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

0d50917d 10/16/2013 07:36 pm Apollon Oikonomopoulos

daemon-util: handle luxid in {start,stop}_master()

Luxid was not handled in start_master() and stop_master() at all. As a result,
during a master-failover, luxid would be left running on the old master and
would not start on the new master, leaving the cluster without management until...

0e3f65d2 10/16/2013 05:12 pm Santi Raffa

Fix indentation of devel/build_chroot

This commit is separated from the previous one for reviewing
convenience. If git-blame points to this revision as the culprit of
your problem, you probably have to go deeper.

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

ed2c3597 10/16/2013 05:11 pm Santi Raffa

Support wheezy schroots

Add support for wheezy in build_chroot.

  • Run squeeze-specific install logic only when building squeeze * Collapse consecutive apt-get commands
  • Add wheezy-specific install logic * Ask for python-pyinotify 0.9.4 to avoid py-apidoc failures...
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 <>

5859dad6 10/16/2013 11:59 am Helga Velroyen

Move orphaned unit tests to cmdlib/cluster_unittest.py

Through some merge from 2.9 to master, some unit tests
in the file ganeti.comdlib.common_unittest.py were
no longer referenced in the Makefile and as such not
run anymore. With the introduction of the cmdlib test...

f505e3ee 10/16/2013 11:17 am Raffa Santi

Fix bug with epydoc of BlockDev.GetUserspaceAccessUri

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

b05b5ec8 10/16/2013 11:08 am Santi Raffa

Fix typo in storage.FileStorage docstring

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

6fe0f9a6 10/16/2013 10:41 am Klaus Aehlig

Fix path for serial file

It is actually located inside the queue directory.

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

fc4c21fa 10/15/2013 06:17 pm Thomas Thrainer

Add implemented design docs to hidden toc section

This is required in order to calm a doclint warning.

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

ebab8f54 10/15/2013 05:35 pm Thomas Thrainer

Merge branch 'stable-2.9'

  • stable-2.9:
    Version bump for 2.9.0 rc3
    Add NEWS entry for 2.9.0 rc3
    Remove incorrect comment
    cfg auto update: match ipolicy with enabled disk templates
    Remove obsolete configure option for shared file storage
  • stable-2.8:...
70b634e6 10/15/2013 02:54 pm Thomas Thrainer

Add unit tests for LUBackupExport

This patch adds unit tests for LUBackupExport.

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

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

Use node names in LUBackupQuery

The result of LUBackupQuery has to be indexed by node name rather than
by node UUID, otherwise the automatically constructed filter won't
return any results.

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

de0aa216 10/15/2013 02:13 pm Helga Velroyen

Update design doc design-storagetypes.rst

This patch updates the design doc with the current
state of the code base.

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

4f90370c 10/15/2013 02:13 pm Helga Velroyen

Make 'gnt-node list-storage' use default storage type

Currently, when no explicit storage type is given, the
'gnt-node list-storage' command defaults to file storage
whether or not file storage is enabled on the cluster
or not. This patch fixes it by defaulting to the default...

8b95dfdc 10/15/2013 02:13 pm Helga Velroyen

Make 'gnt-cluster modify' respect the order of templates

This fixes a bug where the order of enabled disk templates
was not respected when manipulating it with 'gnt-cluster
modify'.

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

4febd988 10/15/2013 02:13 pm Helga Velroyen

Mention reporting behavior in man page of 'gnt-node info'

This patch extends the man page of 'gnt-node info' to
document the space reporting behavior with respect to
the enabled disk templates.

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

6c00b2c7 10/15/2013 02:13 pm Helga Velroyen

Streamlining handling of spindles and default templates

This rather lenghy patch comprises a couple of refactorings
to achieve the following goals:
- 'gnt-node info' should only report space information about
spindles, when exclusive storage is enabled on the node...

4d1429e4 10/15/2013 02:13 pm Helga Velroyen

Rename entities of unit test for MakeLegacyNodeInfo

This is a small preparation step for the next patch.
It just renames the key/value constants for the unit
test of MakeLegacyNodeInfo, because they were rather
undescriptive and thus made changes to the test cumbersome....

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

71ae80d2 10/14/2013 03:04 pm Klaus Aehlig

Version bump for 2.9.0 rc3

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

dd49d91c 10/14/2013 03:04 pm Klaus Aehlig

Add NEWS entry for 2.9.0 rc3

The main news is, that we fixed another issue with the configuration
upgrading process.

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

c70dcd8d 10/14/2013 10:53 am Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Improve harep documentation

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

05566846 10/11/2013 06:21 pm Helga Velroyen

Remove incorrect comment

Removing a comment which falsely states that Ganeti will
stop supporting certain upgrades at some point.

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

a2112db5 10/11/2013 06:19 pm Helga Velroyen

cfg auto update: match ipolicy with enabled disk templates

This patch fixes issue 599. The problem was that with 2.9,
a sanity check was introduced that made sure that the
ipolicies' set of disk templates is a subset of the
cluster-wide enabled disk templates. In order to make...

d19da672 10/11/2013 06:15 pm Helga Velroyen

Remove obsolete configure option for shared file storage

This patch removes an obsolete configure option related
to shared file storage. It was remove a while ago, but
accidentally reintroduced through a merge.

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

5808df30 10/11/2013 05:32 pm Helga Velroyen

Fix typos and indentation for cluster.py

This patches fixes a typo and some indentation errors
that were accidentally introduced by premature pushing
of the patch series "Improvements on disk templates, in
particular file storage".

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

9dd964b9 10/11/2013 03:56 pm Michele Tartara

Improve harep documentation

Add a more complete description of how the tool works.

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

847a7b02 10/11/2013 02:13 pm Helga Velroyen

QA: remove subsumed QA test wrt disk templates

This patch removes a QA test that was supposed to test
that unused disk templates can be disabled safely. The
test is now subsumed by unit tests and thus we remove it
here. Besides that, it was actually testing the wrong...