| Branch: | Tag: | Revision:

root @ 19b9ba9a

Name Size
.gitignore 995 Bytes
INSTALL 3.2 kB 18 kB
NEWS 42.9 kB
README 190 Bytes 283 Bytes 9.2 kB
epydoc.conf 573 Bytes
pylintrc 2.8 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...

daba67c7 08/24/2010 05:27 pm Michael Hanselmann

workerpool: Allow setting task name

With this patch, the task name is added to the thread name and will show up in
logs. Log messages from jobs will look like “pid=578/JobQueue14/Job13 mcpu:289
DEBUG LU locks acquired/cluster/BGL/shared”.

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

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

4fb780d1 08/23/2010 05:57 pm Michael Hanselmann

locking.LockSet: Use function to get member lock name

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

0849f36b 08/23/2010 05:33 pm Michael Hanselmann

Prepare 2.2.0~rc1 release

Update NEWS and version number.

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

634a9a35 08/23/2010 12:50 pm Iustin Pop

setup-ssh: fix updating of authorized_keys

Due to what seems like a bug (or inconsistency) in paramiko, files
opened with a+ over SFTP need a seek() in order for the user to be able
to read data from them. We implement this, and rely on the fact that we
do iterate over all lines before writing and that the file is opened in...

3dc66ebc 08/23/2010 12:47 pm Iustin Pop

setup-ssh: Also use keys from the ssh-agent

Currently, setup-ssh only uses one disk-based key. This means that any
setup where we use keys from ssh-agent (which do not necessarily exist
on disk) will break when moving from the old method to setup-ssh.

This patch moves the SSH key handling to separate functions, and uses...

5c654e95 08/20/2010 05:41 pm Iustin Pop

setup-ssh: redo the logging levels

There is not enough logged by default on stderr, and way too much
information in the log file.

Since we don't want to debug paramiko itself, we filter only warnings
and above.

Otherwise, we make WARNINGS the default level, with verbose meaning INFO...

7a6a27af 08/20/2010 05:41 pm Iustin Pop

setup-ssh: try to use key auth first

This patch changes the setup-ssh workflow to try key authentication
first, and then fall-back to password authentication. The password is
also read lazily, with no prompts if we can authenticate via keys.

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

View all revisions | View revisions

Also available in: Atom