Statistics
| Branch: | Tag: | Revision:

root @ f0476905

Name Size
  autotools
  daemons
  devel
  doc
  lib
  man
  qa
  scripts
  test
  tools
.gitignore 931 Bytes
COPYING 17.6 kB
INSTALL 2.5 kB
Makefile.am 13.3 kB
NEWS 22.3 kB
README 190 Bytes
autogen.sh 283 Bytes
configure.ac 6.7 kB
epydoc.conf 446 Bytes
pylintrc 2.6 kB

Latest revisions

# Date Author Comment
f0476905 03/10/2010 07:10 pm Michael Hanselmann

Update inter-cluster instance move design with HMAC signatures

This also adds a large piece of pseudo code for explanatory purposes.

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

371f046c 02/23/2010 07:11 pm Michael Hanselmann

Fix bug in LUExportInstance

If remove_instance isn't passed to the Opcode, it'll be None. When
generating the hooks environment, the error “int() argument must be a
string or a number” was raised. It should now behave as any other
boolean hook env variable....

e0bb431e 02/22/2010 02:30 pm Michael Hanselmann

Fix lint error in StartDaemon and rename child function

This patch fixes the following pylint error:
W0212:257:StartDaemon: Access to a protected member _exit of a client
class

Additionally, it renames the _RunCmdDaemonChild function to
_StartDaemonChild. _RunCmdDaemonChild was a leftover from a previous...

c1dd99d4 02/22/2010 01:46 pm Michael Hanselmann

Add utility function to start daemon

The currently available functions in this direction (utils.RunCmd and
utils.Daemonize) both can not be used to start an external daemon
process. This function takes many steps to ensure the daemon is started
properly and does careful error checking. Unittests are included....

bdd5e420 02/19/2010 04:54 pm Michael Hanselmann

Use OpenSSL module instead of binary to generate certs

This saves us one dependency and saves us from complicated handling of
external files if we need key and certificate separated from each other.

At the same time, the number of bits used for RSA keys is increased from...

92b61ec7 02/19/2010 04:53 pm Michael Hanselmann

utils.SignalHandler: Add support for handler function

This is useful if something else needs to be notified on signal arrival.

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

287a1740 02/19/2010 04:53 pm Michael Hanselmann

utils: Add function to set O_NONBLOCK on file descriptor

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

73027ed2 02/19/2010 04:53 pm Michael Hanselmann

utils: Add function to set FD_CLOEXEC on file descriptor

This will be used by another patch adding a utility function to start a daemon.

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

edcb5d9e 02/19/2010 04:53 pm Michael Hanselmann

utils: Add function to retry call on EINTR

There are quite a few places where we have to (or should) retry function calls
on EINTR. This utility function simplifies it.

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

69ca2f0b 02/18/2010 02:40 pm Michael Hanselmann

Merge branch 'devel-2.1'

  • devel-2.1:
    Reset tempfile module after fork where useful
    Move RunInSeparateProcess to ganeti.utils
    Add function to reset tempfile module after fork
    Fix ssh host key checking with no-key-check
    Simplify a bit _GetWantedNodes...

View all revisions | View revisions

Also available in: Atom