Statistics
| Branch: | Tag: | Revision:

root / lib @ 2958c56e

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 113.4 kB
bdev.py 87 kB
bootstrap.py 33.4 kB
cache.py 5.4 kB
cli.py 117.2 kB
cmdlib.py 539.3 kB
compat.py 3.9 kB
config.py 74.6 kB
constants.py 52.7 kB
daemon.py 26.7 kB
errors.py 10.6 kB
ht.py 9.9 kB
jqueue.py 72.8 kB
jstore.py 5.6 kB
locking.py 55.7 kB
luxi.py 16 kB
mcpu.py 23.2 kB
netutils.py 18.3 kB
objects.py 57.4 kB
objectutils.py 2.5 kB
opcodes.py 59.7 kB
ovf.py 65.5 kB
pathutils.py 4.8 kB
qlang.py 9.8 kB
query.py 72.1 kB
rpc.py 24.4 kB
rpc_defs.py 22.4 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.7 kB
ssh.py 9.1 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
vcluster.py 7.2 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
2958c56e 09/28/2012 03:16 pm Michael Hanselmann

ganeti-cleaner: Separate queue cleaning code

This code does not need to run as root, therefore it's better to split
it out. It is now run with the same permissions as the master daemon.

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

052783ff 09/28/2012 03:14 pm Michael Hanselmann

Stop hardcoding root user

Some parts of the code still use a hardcoded user name: root. This patch
replaces all with a constant specified at build time. The end goal is to
make it possible to run a Ganeti cluster without any special privileges
(of course this will prevent some functionality from working)....

6a5e841d 09/27/2012 07:10 pm Michael Hanselmann

ensure-dirs: Don't hardcode ssconf file group

Otherwise chown(2) will fail when noded doesn't run as root.

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

cf8adf26 09/27/2012 06:36 pm Bernardo Dal Seno

Fix missing locks in InstanceRecreateDisks

In case of in-place recreate-disks operation, all node locks were released
before starting the actual execution.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Michael Hanselmann <>

ec944cc0 09/27/2012 06:36 pm Bernardo Dal Seno

InstanceRecreateDisks: new assertion for node locks

Make sure that all the nodes where a disk operation is peformed are locked.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Michael Hanselmann <>

39b8cd94 09/27/2012 05:46 pm Michael Hanselmann

ensure-dirs: Don't convert list to tuple

Tuples are data structures, not containers.

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

e5ff1a47 09/27/2012 02:42 pm René Nussbaumer

Populate the instance dict with opcode infos

This is needed so we can load it as an opcode. However, this information
should not be available on the client, so we inject that info when we
receive the request.

Provided unittest to verify behaviour.

Signed-off-by: René Nussbaumer <>...

915faf72 09/27/2012 02:42 pm René Nussbaumer

Adding RAPI client for instance multi allocation

It was very easy to refactor CreateInstance to repurpose some part of it
for the instance multi allocation request. So we do this.

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

3a6a89d7 09/27/2012 01:46 pm Michael Hanselmann

Revert unintentional change of daemon log file names

Commit 3329f4dea6 unintentionally changed the filenames of all daemon
log files. This patch reverts part of those changes.

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

1cb97324 09/26/2012 07:35 pm Agata Murawska

instance_info now returns vcpus

instance_info and all_instances_info calls had different per-instance
return types, this commit fixes the mismatch.

Signed-off-by: Agata Murawska <>
Reviewed-by: Iustin Pop <>

View revisions

Also available in: Atom