Statistics
| Branch: | Tag: | Revision:

root / scripts @ 19b9ba9a

Name Size
gnt-backup 4.5 kB
gnt-cluster 29.1 kB
gnt-debug 16.7 kB
gnt-instance 52.9 kB
gnt-job 11.1 kB
gnt-node 22 kB
gnt-os 7.7 kB

Latest revisions

# Date Author Comment
19b9ba9a 08/24/2010 05:57 pm Michael Hanselmann

Add simple lock monitor

This patch adds an initial implementation of a lock monitor, accessible
for the user through “gnt-debug locks”. It currently shows all resource
locks: BGL, nodes and instances. Config and job queue locks could be
shown too, but wouldn't be of much help. The current owner(s) and mode...

a4ebd726 08/23/2010 06:26 pm Michael Hanselmann

Use one function to parse “--fields” option values

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

049088b2 08/23/2010 05:57 pm Michael Hanselmann

Finalize removal of “lock_status” job field

When removing the field in commit 9bdab62198, I forgot to remove some parts.

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

48418fea 08/19/2010 06:48 pm Iustin Pop

Fix a few commands behaviour with dry-run

These commands use or display the result from the LU, so in case of
dry-run, they will crash or display just 'None'. At least checking that
the result is 'true' (in the boolean sense) will make them work better.
...

db5a8a2d 08/19/2010 06:48 pm Iustin Pop

Explicitly add dry-run to some commands

Based on manual inspection (that the command only does a submit of some
jobs/opcodes), we re-add the dry-run option on a subset of the existing
commands.

A few more commands could use dry-run, but the code doesn't deal nicely...

f99010b2 08/18/2010 02:21 pm Michael Hanselmann

gnt-debug: Extend job queue tests

Test multiple opcodes, also with failure.

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

5ec4b9d2 08/17/2010 04:25 pm Michael Hanselmann

gnt-backup: Pass error code to OpPrereqError

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

bc696589 08/10/2010 07:35 pm Michael Hanselmann

gnt-backup: Don't show confusing message w/o target node

“gnt-backup export” requires the target node. Until now, the master
daemon would complain that the “parameter
'OP_BACKUP_EXPORT.target_node' fails validation”. With this patch,
an additional check is done in the client program....

aa9f8167 07/30/2010 04:43 am Iustin Pop

Fix a few job archival issues

This patch fixes two issues with job archival. First, the
LoadJobFromDisk can return 'None' for no-such-job, and we shouldn't add
None to the job list; we can't anyway, as this raises an exception:

node1# gnt-job archive foo...
297ddce9 07/30/2010 02:09 am Iustin Pop

Change semantics of --force-multi for reinstall

Currently, we require both --force and --force-multiple for skipping the
confirmation on instance reinstalls. After offline conversations, this
has been deemed to be excessive, and this patch changes the meaning of...

View revisions

Also available in: Atom