Statistics
| Branch: | Tag: | Revision:

root / lib @ d66bbe9f

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 106.2 kB
bdev.py 70.9 kB
bootstrap.py 27.9 kB
cache.py 5.4 kB
cli.py 103 kB
cmdlib.py 464.7 kB
compat.py 3.7 kB
config.py 64.8 kB
constants.py 36.8 kB
daemon.py 23.6 kB
errors.py 10.2 kB
ht.py 8.8 kB
jqueue.py 71.4 kB
jstore.py 4.6 kB
locking.py 53.5 kB
luxi.py 15.8 kB
mcpu.py 18.6 kB
netutils.py 13.6 kB
objects.py 43.6 kB
opcodes.py 48.4 kB
qlang.py 7 kB
query.py 58.1 kB
rpc.py 46.8 kB
runtime.py 5.3 kB
serializer.py 4.5 kB
ssconf.py 15.2 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
d66bbe9f 08/02/2011 11:20 am Iustin Pop

Fix doclint failures

Commit 54ca6e4b2 renamed some arguments, but didn't also renames them
in the docstrings.

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

8f07dc0d 07/29/2011 06:02 pm Michael Hanselmann

watcher: Separate function for writing instance status file

For now this will do another query to the master daemon, but with the
split for node groups this issue will go away.

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

d7c42723 07/29/2011 06:02 pm Michael Hanselmann

watcher: Make RAPI error messages less technical

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

54ca6e4b 07/29/2011 06:02 pm Michael Hanselmann

watcher.state: Use strings, not objects

Until now the state class would receive instances as objects
(ganeti.watcher.Instance), but this is not necessary. By using strings
the interface is simplified.

This patch also simplifies some code accessing the internal structures,...

013ce4ae 07/29/2011 06:02 pm Michael Hanselmann

watcher: Raise error on unknown hook status

Also, remove punctuation from one error message.

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

0cc9e018 07/29/2011 06:01 pm Michael Hanselmann

watcher: Reformat constants

Make them match with style guide.

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

9d7b1e53 07/29/2011 06:01 pm Michael Hanselmann

Add new watcher constants

WATCHER_STATEFILE will be removed at the end of this
patch series.

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

21daa4a8 07/29/2011 04:19 pm Stephen Shirley

Fix formatting of frozensets

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

21ee2318 07/29/2011 04:04 pm Michael Hanselmann

cli: Add constant for node group option

ganeti-watcher will use this constant to pass the option to itself for
processing all node groups.

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

194e8648 07/29/2011 03:36 pm Iustin Pop

Replace %r with '%s' in masterd/instance.py

I still don't know why Michael is a fan of %r, but in the meantime
this patch changes:

WARNING: import u'import-2011-07-29_01_39_33-y3gZKV' on node1 failed:
Exited with status 1

into:

WARNING: import 'import-2011-07-29_01_39_33-y3gZKV' on node1 failed:...

View revisions

Also available in: Atom