Statistics
| Branch: | Tag: | Revision:

root @ 985e3f77

# Date Author Comment
985e3f77 01/26/2011 12:31 pm Iustin Pop

storage: Check that mapper is either used or None

This is a followup patch to the one moving GetAllocatable out to
module level.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

5ae7cd11 01/26/2011 12:06 pm Michael Hanselmann

Fix bug in “gnt-node list-storage”

LVM PV storage units would always show as allocatable, even when they
weren't. For some reason I have not been able to determine, the function
parsing the attributes (“_GetAllocatable”) was not even called and the
list opcode simply returned the attribute string as the value (e.g....

4478301b 01/20/2011 02:15 pm Michael Hanselmann

Improve import/export timeout settings

With this patch, the exporting node will retry to connect a few times.
The receiving node will make use of the master's increased timeout (see
previous patch).

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

8fd2e34c 01/20/2011 02:15 pm Michael Hanselmann

Increase remote import/export timeout

It's been shown that 60 seconds may not be enough to establish a
connection.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

eddc9815 01/14/2011 06:14 pm Guido Trotter

Allow burnin with hidden OSes

burnin is a cluster/testing feature, so it makes sense that a hidden OS
can be used for it.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

f78f971e 01/12/2011 02:23 pm Stephen Shirley

last_resort groups prioritized by iallocator plugin

Also change language slightly for preferred groups to look better now
that it's repeated.

Signed-off-by: Stephen Shirley <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

b577dac4 01/07/2011 05:47 pm Michael Hanselmann

gnt-instance info: Show disk template

The data was already there, but not shown.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

ab92578a 01/07/2011 12:01 pm Michael Hanselmann

Remove unused import from client.gnt_instance

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Adeodato Simo <>

678aa6d3 01/06/2011 06:52 pm Michael Hanselmann

gnt-instance console: Improve error reporting

If the SSH command fails, this will give a more detailed error
message than before.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

eaf7d41d 01/06/2011 06:42 pm Michael Hanselmann

Increase timeout for connection on remote import

The source cluster has to shut down an instance before it can be
exported. Doing so can take a while, but the default connection timeout
is only 60 seconds. Adding the shutdown timeout on the receiving cluster...

bd275a93 01/06/2011 06:42 pm Michael Hanselmann

import-export: Improve timeout error reporting

When the source cluster takes too long to create a snapshot, the
destination would time out. Unfortunately no good error message was
written unless debug logging was enabled, not even to the log file. This
will be improved with this patch....

9d199a65 01/06/2011 12:27 pm Michael Hanselmann

cfgupgrade: Remove unused “program” variable

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

011974df 01/06/2011 12:06 pm Michael Hanselmann

cfgupgrade: Check master name, clarify question

- Check hostname and abort if it doesn't match contents of
“ssconf_master_node”, can be overridden using “--ignore-hostname”
parameter.
- Clarify confirmation question and don't mention instances anymore....

e8deef56 01/06/2011 12:06 pm Michael Hanselmann

Makefile: Merge build-time reST copying

No need to copy this snippet around, “make” can work harder for us.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

7a03d293 01/06/2011 12:06 pm Michael Hanselmann

Move doc/upgrade.rst to UPGRADE, copy at build-time

This will allow distributions to install the file as text documentation.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

35dd762d 01/05/2011 07:42 pm Michael Hanselmann

Import upgrade notes into documentation

This patch formats the upgrade notes currently in the wiki1 as reST
and adds them to the documentation.

[1] http://code.google.com/p/ganeti/wiki/UpgradeNotes

Signed-off-by: Michael Hanselmann <>...

ab737f24 12/31/2010 02:37 pm Michael Hanselmann

Fix typo in gnt-instance manpage

s/os-name/os-type/. This was reported in issue 133.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

30c945d0 12/29/2010 05:48 pm Michael Hanselmann

jqueue: Fix cancelling while in waitlock in queue

Since the recent change to leave jobs in the “waitlock” status (commit
5fd6b6947), cancelling a job while it's back in the queue would break.
This patch handles these cases and adds a unittest.

Signed-off-by: Michael Hanselmann <>...

cd4c86a8 12/20/2010 11:23 pm Michael Hanselmann

cli: Extend message for LUXI timeouts

Point out that jobs already submitted continue to run.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

28e3e216 12/20/2010 11:23 pm Michael Hanselmann

Fix timeout handling in LUXI client

If the socket can't be read in time, it raises “socket.timeout”, for
which there is special handling code. Unfortunately the exception block
was in the wrong order and “socket.error” caught it before.

Signed-off-by: Michael Hanselmann <>...

43217ac7 12/20/2010 04:33 pm Michael Hanselmann

Merge branch 'stable-2.3' into devel-2.3

  • stable-2.3:
    Prepare 2.3.1 release
    Fix disk status verification in LUClusterVerify

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

bb2dc35a 12/20/2010 03:22 pm Michael Hanselmann

Prepare 2.3.1 release

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

d27150a9 12/17/2010 05:47 pm Michael Hanselmann

QA: Run cluster-verify as part of all instance tests

“gnt-cluster verify” looks at some per-instance information as well, so
it should be run for each instance type QA tests.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

65924a12 12/17/2010 05:45 pm Michael Hanselmann

QA: Fix typo and add “not”

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

196d70fa 12/16/2010 04:20 pm Michael Hanselmann

ensure-dirs: Speed up when using big queues

The “ensure-dirs” script as included in Ganeti 2.3 is very slow when
working with big queues requiring a change of permissions on many or all
files.

$ find /var/lib/ganeti/queue/ | wc -l
52354

Before this change:...

4f5c2533 12/15/2010 08:18 pm Adeodato Simo

Fix gnt-cluster verify with diskless instances

`gnt-cluster verify` was failing with KeyError if there was any
diskless instance in the cluster. This was because _CollectDiskInfo()
was not including these instances in the returned dictionary, but they
were expected to be present in LUVerifyCluster.Exec()....

5fd6b694 12/15/2010 03:42 pm Michael Hanselmann

jqueue: Keep jobs in “waitlock” while returning to queue

Iustin Pop reported that a job's file is updated many times while it
waits for locks held by other thread(s). After an investigation it was
concluded that the reason was a design decision for job priorities to...

ebb2a2a3 12/15/2010 03:42 pm Michael Hanselmann

Improve jqueue unittests

- Verify job file updates
- Ensure queue lock is released while executing opcode

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

e7441f80 12/14/2010 01:54 pm Miguel Di Ciurcio Filho

Update manpages to display version 2.3

Signed-off-by: Miguel Di Ciurcio Filho <>
Reviewed-by: Michael Hanselmann <>

d41d07d4 12/09/2010 05:36 pm Iustin Pop

Fix disk status verification in LUClusterVerify

Commit b8d26c6 added disk status verification, but it has two
(different) bugs for not healthy nodes.

For offline nodes, we don't add at all the disk status to the
instance/node dict, with the result that the instance is not present in...

d1a0ab50 12/09/2010 05:13 pm Guido Trotter

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    Fix rename for file-backed instances

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

be9f4904 12/09/2010 05:12 pm Guido Trotter

Merge branch 'stable-2.2' into devel-2.2

  • stable-2.2:
    Fix rename for file-backed instances

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

5500ca1f 12/09/2010 05:11 pm Guido Trotter

Merge branch 'stable-2.2' into stable-2.3

  • stable-2.2:
    Fix rename for file-backed instances

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

3721d2fe 12/09/2010 05:09 pm Guido Trotter

Fix rename for file-backed instances

Currently the code wrongly changes the disk logical/physical id
component representing the path from "$storage_dir/$iname/disk$seq" to
"$storage_dir/$iname/disk/$seq" (note the additional slash) breaking the
rename.

Signed-off-by: Guido Trotter <>...

9a91d357 12/02/2010 05:51 pm Michael Hanselmann

Merge branch 'stable-2.3' into devel-2.3

  • stable-2.3:
    Bump version for 2.3.1~rc1 release

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

e1137eb6 12/01/2010 09:45 pm Michael Hanselmann

locking: Clarify message for removed locks

Just being told that a lock doesn't exist can be confusing. One case
were this happens is when a job (e.g. instance modify) waits for a job
removing the instance (e.g. export with remove).

Signed-off-by: Michael Hanselmann <>...

563d5e72 12/01/2010 09:45 pm Michael Hanselmann

Bump version for 2.3.1~rc1 release

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

29e8788e 12/01/2010 06:50 pm Michael Hanselmann

impexpd: Disable OpenSSL compression in socat if possible

This uses an option only available in patched socat versions. More
information is available from the INSTALL update included in this
patch.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>...

cd22574b 12/01/2010 05:58 pm Michael Hanselmann

Merge branch 'stable-2.3' into devel-2.3

  • stable-2.3:
    Bump version for 2.3.0

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

7c324b88 12/01/2010 05:07 pm Michael Hanselmann

Bump version for 2.3.0

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

5d9f9cba 11/30/2010 08:55 pm Michael Hanselmann

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    Correct version check for release candidates
    Fix version check
    Add script to check version format

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

cdb303ab 11/30/2010 08:25 pm Michael Hanselmann

Correct version check for release candidates

The tilde needs to be escaped and I forgot the space which should be
used instead.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

c49b0092 11/30/2010 06:15 pm Adeodato Simo

config.py: need explicit %-formatting in errors.OpPrereqError.

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

35576615 11/25/2010 02:16 pm Michael Hanselmann

Fix version check

Don't ask … all I say is distcheck.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

96602be4 11/24/2010 09:29 pm Michael Hanselmann

Add script to check version format

Only versions of the format “x.y.z” and “x.y.z~(rc|beta)N” (for N>0) are
allowed.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

b6ac86e0 11/24/2010 07:02 pm Iustin Pop

Merge branch 'devel-2.2' into devel-2.3

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

577b170b 11/24/2010 06:52 pm Iustin Pop

Fix coverage reports

Currently, the coverage reports include the unittests themselves, and
this skewes unfairly the reports, as the coverage for the tests is very
high (since they all run).

To fix this, we export the ganeti temp dir from run-in-temp-dir, and we...

ca6c2dcd 11/19/2010 03:16 pm Iustin Pop

Updates NEWS and configure.ac for 2.3.0~rc1

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

2b613de4 11/19/2010 03:06 pm Iustin Pop

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    Update NEWS & configure.ac for the 2.2.2 release
    Fix documentation regarding conversion to drbd

Conflicts:
NEWS (integrated 2.2 changes)
configure.ac (kept our version)

Signed-off-by: Iustin Pop <>...

2596526d 11/19/2010 01:00 pm Iustin Pop

Update NEWS & configure.ac for the 2.2.2 release

This imports the 2.1.8 NEWS entry and adds the 2.2.2 one, then updates the
configure.ac version.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

a22eb33b 11/19/2010 12:33 pm Iustin Pop

Fix documentation regarding conversion to drbd

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

3e039592 11/19/2010 12:29 pm Iustin Pop

Fix documentation regarding conversion to drbd

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

9aacb199 11/18/2010 03:03 pm Iustin Pop

Reinstall instance: disallow offline secondaries

Currently, reinstallation of a DRBD instance with the secondary node offline does:

node1# gnt-instance reinstall -f instance1
Waiting for job 139053 for instance1...
Thu Nov 18 01:36:09 2010 - WARNING: Could not prepare block device disk/0 on node node3 (is_primary=False, pass=1): Node is marked offline...

89e8af70 11/18/2010 03:03 pm Iustin Pop

QA: check that doubly modifying an OS state is OK

This would have prevented the bug fixed in the previous patch :(

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

e2334900 11/18/2010 03:03 pm Iustin Pop

Fix breakage in OS state modify

I was using the feedback_fn function incorrectly (it doesn't
automatically expand the arguments).

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

86c340af 11/17/2010 05:45 pm Iustin Pop

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    QA: add tests for gnt-cluster modify -B
    LUSetClusterParms: fix validation of beparams

Conflicts:
lib/cmdlib.py (reverted & applied manually the change)

Signed-off-by: Iustin Pop <>...

9738ca94 11/17/2010 02:14 pm Iustin Pop

QA: add tests for gnt-cluster modify -B

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

52b783c2 11/17/2010 02:14 pm Iustin Pop

LUSetClusterParms: fix validation of beparams

Since the contents of the dict is validated via the ForceDictType, we can
simply require that it is a dict here. The previous check was wrong, as it was
copied from the HV checks (which also doesn't verify the leaf dict type)....

28a7318f 11/11/2010 02:16 pm Iustin Pop

Add unittests for TemporaryReservationManager

And fix an error message.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

a7359d91 11/11/2010 12:30 pm David Knowles

TempReservationManager: Reserved() doesn't work

Note: It appears this has been around since the initial checkin of
TemporaryReservationManager. I have no idea what this could break, so
someone else may want to test this more thoroughly.

Signed-off-by: David Knowles <>...

1809bde5 11/09/2010 05:34 pm Michael Hanselmann

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    devel/release: Use release-specific Makefile targets
    Makefile: Add new dist target for releases
    Makefile: Stricter checks for release distchecks

Conflicts:
Makefile.am: Trivial

Signed-off-by: Michael Hanselmann <>...

2ba14c2f 11/09/2010 03:40 pm Michael Hanselmann

devel/release: Use release-specific Makefile targets

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

e627fe09 11/09/2010 03:40 pm Michael Hanselmann

Makefile: Add new dist target for releases

A new script, autotools/check-tar, is used to check the resulting
.tar.gz file for unwanted contents like wrong file owners or
permissions.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

f1a791b6 11/08/2010 11:43 am Apollon Oikonomopoulos

Update ganeti-os-interface documentation

man/ganeti-os-interace.sgml lacked complete information for the NIC-related
environment variables. Added a reference to NIC_%N_LINK and NIC_%N_MODE and
clarified the reference to NIC_%N_BRIDGE.

Signed-off-by: Apollon Oikonomopoulos <>...

bf0b21da 11/04/2010 05:31 pm Michael Hanselmann

Makefile: Check for empty files and dirs on distcheck

Including empty files can cause unnecessary warnings for packagers.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

2750b299 11/04/2010 05:30 pm Michael Hanselmann

Revert commit e7e23e73, work around Automake bug

After commit e7e23e73 the build would fail in distcheck on systems with
Automake 1.10. An investigation identified Automake bug #5331 as the
cause. Applying the changes in Automake commit 3a12ed5e2 to the...

c6a9dffa 11/03/2010 04:44 pm Michael Hanselmann

Fix disk checks in “gnt-cluster verify”

Tests have shown that the changes in commit b8d26c6e5 don't work as
wanted. If any disk wasn't found on the node, all disks located on the
same node would show as faulty. The cause was incorrect exception
handling on the node....

7b4eed05 11/03/2010 04:44 pm Michael Hanselmann

QA: Run “gnt-cluster verify” while DRBD instance exists

This tests some parts of the disk information collection.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

e7e23e73 11/03/2010 04:44 pm Michael Hanselmann

Remove empty file from doc/html in distribution

It's not needed and some packaging systems complain about empty
files.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

69cf3abd 11/03/2010 04:44 pm Michael Hanselmann

Remove shebang line from ganeti.server.*

Some of then were forgotten.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

261297a9 11/02/2010 03:18 pm Michael Hanselmann

Fix typos in NEWS

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

a8ee6e94 11/02/2010 01:00 pm Michael Hanselmann

Bump version for Ganeti 2.3

Also update cfgupgrade and NEWS.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

04367e70 11/01/2010 07:27 pm Guido Trotter

Drop the -g shortcut for --vg-name

Changing the volume group is a lot less frequent than acting on a node
group. As such we drop the "-g" shortcut and require the long option to
be passed. In 2.3 the commands which used to accept the volume group as
"-g" won't have any node group option, so no confusion will arise. Later...

eb28ecf6 11/01/2010 07:27 pm Guido Trotter

Merge the common options between import and add

The "I always wanted to do this" commit.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

412b3531 11/01/2010 07:27 pm Guido Trotter

Improve LookupNodeGroup's docstring

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

648e4196 11/01/2010 07:27 pm Guido Trotter

Add ConfigWriter.GetNodeGroup

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

3c34f03f 11/01/2010 07:27 pm Guido Trotter

Remove private ip mention in error message

There is no "private" ip in Ganeti, we only have primary and secondary
ones. Whether they are public or private is a per-installation detail.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

2317945a 11/01/2010 07:27 pm Guido Trotter

luxi: disable two lint errors

This is already disabled for the same type of request a couple of lines
above. The new code was introduced in e986f20c but didn't have the
disables.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

4d32c211 11/01/2010 07:27 pm Guido Trotter

Add -s option to gnt-node modify

We can now change a nodes' secondary ip.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

515d87eb 11/01/2010 06:03 pm Michael Hanselmann

Update NEWS for Ganeti 2.3

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

6a343475 11/01/2010 05:02 pm Michael Hanselmann

QA: Test ssconf_instance_list file on rename and creation

This test would've caught the bug fixed in the previous patch.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

1fc34c48 11/01/2010 05:02 pm Michael Hanselmann

config: Write ssconf after renaming instance

This fixes a bug where the ssconf_instance_list file was
not updated after an instance rename.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

46f9a948 11/01/2010 05:02 pm Michael Hanselmann

Change qa_utils.ResolveInstanceName to take name

… instead of an object. Allows it to be used in places where
only the name is available.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

2cc8bdd0 10/29/2010 05:55 pm Michael Hanselmann

Makefile: Add PYTHON_BOOTSTRAP to linted code

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

5119f2ec 10/29/2010 05:48 pm Michael Hanselmann

Move ganeti-noded to ganeti.server.noded

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

d9c82a4e 10/29/2010 05:48 pm Michael Hanselmann

Move ganeti-rapi to ganeti.server.rapi

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

98028e5d 10/29/2010 05:48 pm Michael Hanselmann

Make *.in non-executable

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

899c4d2c 10/29/2010 05:48 pm Michael Hanselmann

Prepare move of daemons to ganeti.server

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

29d91329 10/29/2010 05:48 pm Michael Hanselmann

Move ganeti-masterd to ganeti.server.masterd

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

5c9c0e0e 10/29/2010 05:48 pm Michael Hanselmann

Move ganeti-confd to ganeti.server.confd

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

c7b86f6c 10/29/2010 05:48 pm Michael Hanselmann

Makefile: Stricter checks for release distchecks

This should avoid cases like commit f64de30f where the release
date was forgotten from NEWS.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

67313146 10/29/2010 05:48 pm Michael Hanselmann

Makefile: Generalize bootstrap script generator

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

9f4bb951 10/29/2010 05:48 pm Michael Hanselmann

Move ganeti-watcher to ganeti.watcher

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

c4da9eaf 10/29/2010 04:27 pm René Nussbaumer

setup-ssh: Better error reporting

Together with Michael we refactored the code to make it better and
easier error reporting. Without printing backtraces for authentication
and verification issues.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

c964d962 10/29/2010 03:43 pm Michael Hanselmann

Makefile: Streamline directory creation

Some directories don't exist in the repository, but are required at build time
(e.g. doc/html). Until now some were created explicitly, some through the
target “stamp-directories” and other target simply relied on a previous target...

e986f20c 10/28/2010 07:56 pm Michael Hanselmann

Add support and checks for version in LUXI

A new constant, LUXI_VERSION, is used to verify the peer's version. The
version is optional, so old(er) clients and servers talking to peers not
supporting it won't break. Example with mismatching library:

$ gnt-instance list...

7a8bda3f 10/28/2010 07:56 pm Michael Hanselmann

luxi.ProtocolError: Derive from errors.LuxiError

This allows LUXI errors to be encoded and serialized.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

3b01286e 10/28/2010 07:56 pm Michael Hanselmann

LUExportInstance: Accept instance already shut down

To remove the instance after an export it needs to be stopped. This can
be achived using the parameter “shutdown”, or by explicitly shutting
down the instance before exporting. The latter would still require the...

cd04f8c2 10/28/2010 07:56 pm Michael Hanselmann

QA: Allow job queue test to be disabled

On my machine it takes over 30 seconds, disabling it can
speed up the QA.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

1ac6f2ad 10/28/2010 05:06 pm Guido Trotter

ConfigWriter.GetNodeGroupList

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>