| Branch: | Tag: | Revision:

root / tools / ganeti-listrunner @ fcad7225

History | View | Annotate | Download (17.9 kB)

# Date Author Comment
b74c0684 02/16/2011 06:35 pm Iustin Pop

listrunner: convert from getopt to optparse

The “-A” (use agent) was not documented, and instead of adding manual
listing, I converted it to optparse like the other CLI tools.

Note that I cleaned up a bit the usage and help texts.

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

99a11adc 02/16/2011 06:35 pm Iustin Pop

listrunner: fix agent usage

By delaying the agent key query until after the fork, we prevent the
problem of simultaneous access to the agent.

Tested that it works against 80 hosts in parallel without error; the
current version breaks already at 20 hosts....

4fc977e9 01/14/2011 11:38 am Michael Hanselmann

Set +x on tools/ganeti-listrunner

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

2a0f9372 12/31/2010 02:37 pm Michael Hanselmann

Fix build errors with ganeti-listrunner

- Remove non-ASCII character from manpage
- Reformat docstring for epydoc in script

These caused build breakage on some but not all distributions.

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

da7e44ee 12/30/2010 07:51 pm Michael Hanselmann

Initial import of listrunner

This tool was used and worked on internally for quite a long time. We
decided to include it in Ganeti.

Known issues:
- Code doesn't match rest of Ganeti (e.g. using “print” all over the
place, hardcoded calls to sys.exit deep in functions)...