Statistics
| Branch: | Tag: | Revision:

root @ 55e711aa

Name Size
  autotools
  daemons
  devel
  doc
  lib
  man
  qa
  src
  test
  tools
.ghci 21 Bytes
.gitignore 2.6 kB
COPYING 17.6 kB
INSTALL 10.5 kB
Makefile.am 76.4 kB
NEWS 132.5 kB
README 191 Bytes
UPGRADE 12.4 kB
autogen.sh 283 Bytes
configure.ac 25 kB
epydoc.conf.in 444 Bytes
pylintrc 2.9 kB
pylintrc-test 2.9 kB

Latest revisions

# Date Author Comment
55e711aa 04/09/2014 10:05 am Apollon Oikonomopoulos

QMP: make QmpConnection act as a context manager

This will allow automatic connection and socket cleanup on command
completion.

We also repeat the Qmp tests using the context manager. For this to be
feasible, we move the test scenario to class variables and modify...

f7b0366c 04/08/2014 03:35 pm Hrvoje Ribicic

Complete zeroing

This patch will do all that is necessary to allow the helper VM to do
whatever it will do with the zeroing image in place - which is,
hopefully, to zero out the disks of the instance.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

a81e84ff 04/08/2014 03:34 pm Hrvoje Ribicic

Add timeout parameters to gnt-backup export

This patch adds the two parameters to gnt-backup export, documenting
their meanings in the manual file as well.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

22096c14 04/08/2014 03:34 pm Hrvoje Ribicic

Add zeroing timeout params to opcode

This patch adds two parameters controlling the zeroing timeout - one
that is fixed and another that depends on the amount of data (size of
disks) to zero.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

03d56d40 04/08/2014 03:34 pm Hrvoje Ribicic

Add zeroing function shell

This patch moves towards the actual zeroing by providing a function
that determines the necessary size and creates and destroys a temporary
disk.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

69683c7d 04/08/2014 03:34 pm Hrvoje Ribicic

Add image size estimation function

To create a temporary disk, it is necessary to know just how big this
disk must be. This patch adds a function that retrieves this
information for both data sources - a URL and a file.

Signed-off-by: Hrvoje Ribicic <>...

21a17f33 04/08/2014 03:34 pm Hrvoje Ribicic

Add file info RPC call

Due to the need to determine the size of the temporary disk used for
the VM helper, an RPC call capable of supplying this information has
been added. It can be extended as needed to supply additional
information provided by Python's os.stat....

b1b4b282 04/08/2014 03:34 pm Hrvoje Ribicic

Modify failing assert

The assert stating that the disk did not have to be activated made
sense once the instance's disks were never completely deactivated. With
zeroing, the assumption no longer holds true, and should be replaced by
a check that the disks of the instance are indeed active....

b5e61bfd 04/08/2014 03:34 pm Hrvoje Ribicic

Introduce class for temporary disk creation

The instance zeroing requires that a virtual appliance capable of
performing it is used, and short of provisioning another VM, the best
Ganeti can do is reuse the virtualization environment of the instance.
To do this, a disk is needed to host the OS performing the zeroing, and...

4986c93b 04/08/2014 03:34 pm Hrvoje Ribicic

Factor out and alter the instance running check

Examining whether an instance is running is useful outside the instance
state check, especially as the check relies on the admin_state recorded
within the configuration, which the code treats as the desired rather...

View all revisions | View revisions

Also available in: Atom