Statistics
| Branch: | Tag: | Revision:

root / lib @ a4156442

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 128.5 kB
bdev.py 110 kB
bootstrap.py 36.6 kB
cli.py 136.7 kB
compat.py 4.3 kB
config.py 88.5 kB
constants.py 64.7 kB
daemon.py 26.7 kB
errors.py 11.4 kB
hooksmaster.py 9.2 kB
ht.py 10.7 kB
jqueue.py 79.8 kB
jstore.py 6 kB
locking.py 61.1 kB
luxi.py 16.4 kB
mcpu.py 17.9 kB
netutils.py 19.1 kB
network.py 8 kB
objects.py 64.3 kB
opcodes.py 68.2 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 5.9 kB
qlang.py 9.6 kB
query.py 82.8 kB
rpc.py 26.3 kB
rpc_defs.py 24.8 kB
runtime.py 6.8 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.3 kB
storage.py 13.2 kB
uidpool.py 11.7 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
a4156442 02/03/2014 11:50 pm Dimitris Aragiorgis

Add example kvm-ifdown script

This script currently does nothing more that calling user the
user provided one if it exists.

User provided script should be placed under /etc/ganeti/
and named `ganeti-kvm-ifdown`.

Signed-off-by: Dimitris Aragiorgis <>

5063d1d5 02/03/2014 11:50 pm Dimitris Aragiorgis

(kvm) Hotplug a device found only in config.data

A device can be added only in config.data by omitting `--hotplug`
option. With this patch we allow this device to be hot-plugged
in the future by issuing `gnt-instance modify --net <index>: --hotplug`
command. HotModDevice() will search the runtime entry of the device...

86b60f21 02/03/2014 11:49 pm Dimitris Aragiorgis

(2.10) Workaround for monitor bug related to greeting msg

QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
until it get's released this is a quick and dirty workaround
that flushes the client's buffer after getting the first...

065d194b 02/03/2014 11:49 pm Dimitris Aragiorgis

(2.10) hotplug: Verify if a command succeeded or not

Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searches for given PCI slot and device id.

If we previously had removed a device but it is still there...

84ba0048 02/03/2014 11:48 pm Dimitris Aragiorgis

(2.10) hotplug: Each hotplug qemu commmand with a separate socat

Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)

After having observed a strange monitor behavior [1] splitting
those commands and introducing a sleep time in between, may reduce...

5e4475de 02/03/2014 11:47 pm Klaus Aehlig

(2.9) Gracefully handle degraded instances in verification

The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the option to
remove individual disk degraded 0-disk non-diskless instances
can occur. While such instances usually are not useful, Ganeti...

3f08994d 02/03/2014 11:47 pm Klaus Aehlig

(2.9) Preserve disk basename on instance rename

For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename needs to
be preserved in this case. Fix this. Note that so far, this
worked by accident as before 94e252a3 file names used to be...

6be5f3e0 02/03/2014 11:47 pm Klaus Aehlig

(2.9) Be aware of the degraded case when cleaning up an instance

In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by looking at the first disk. Use
the standard location, computed from first principles, in this case....

6839584c 02/03/2014 11:47 pm Ilias Tsitsimpis

(2.9) Assign unique filenames to filebased disks

With the new format for cmdline arguments, the user is able to add a
disk to an instance at a specific index. But filebased disks' filenames
have the form "{0}/disk{1}" where '{0}' is the file_storage_dir and...

691d8725 01/14/2014 02:43 pm Dimitris Aragiorgis

(2.9) Remove deprecated _ERROR_DATA_KEY in QMP

Commit de253f14 of QEMU repo "BREAKS QMP's compatibility for
the error response" as it removes "data" key from qmp error
response messages. To this end we only log "class" and "desc"
values of the message.
...

View revisions

Also available in: Atom