Statistics
| Branch: | Tag: | Revision:

root / lib @ c1f2901b

Name Size
Makefile.am 994 Bytes
__init__.py 791 Bytes
backend.py 48.9 kB
bdev.py 73 kB
cli.py 17.5 kB
cmdlib.py 146.1 kB
config.py 20.4 kB
constants.py 4.7 kB
errors.py 4.3 kB
hypervisor.py 20.1 kB
jqueue.py 3.1 kB
locking.py 29 kB
logger.py 5.8 kB
luxi.py 6.8 kB
mcpu.py 10 kB
objects.py 20.6 kB
opcodes.py 10.9 kB
rpc.py 16.5 kB
ssconf.py 5.1 kB
ssh.py 6.7 kB
utils.py 28.5 kB

Latest revisions

# Date Author Comment
c1f2901b 04/05/2008 06:29 pm Iustin Pop

Implement forking/master role checking in masterd

This patch adds checks for the master role and daemonize support to
ganeti-masterd.

The patch modifies the startup/shutdown of the server because:
- we want bind()/listen() to the master socket to occur before forking...

6f695a2e 04/05/2008 03:47 pm Manuel Franceschini

Add FileStorage class

This is the representation of file VBDs on the backend. It's the first
implementation an supports only raw files.

Reviewed-by: iustinp

5e04ed8b 04/05/2008 03:45 pm Manuel Franceschini

rpc directory functions for file backend

Reviewed-by: ultrotter

778b75bb 04/05/2008 03:07 pm Manuel Franceschini

Backend directory functions for file backend

Add _[Create,Remove,Rename]FileStorageDir function which are needed for
file-based instance management. These function check whether the given
directory to operate on is under the cluster-wide defined default file...

2d4011cd 04/04/2008 07:53 pm Manuel Franceschini

Fix SetVGName() to access object not dict

Reviewed-by: imsnah

8ff612c2 04/04/2008 06:29 pm Iustin Pop

Allow utils.Daemonize() to not close some fds

This patch implements an optional parameter to utils.Daemonize() which
allows that function to not close some file descriptors.

This will allow the master daemon to open the listening socket before
fork - in order to be able to notify errors and return a meaningful exit...

7a1ecaed 04/04/2008 03:44 pm Iustin Pop

Add a simple gnt-job script

This patch adds a very basic gnt-job script that allows job querying.
This goes on top of the previous master daemon patches.

Currently, because of the not-changed cmd lock, you can't query the jobs
as long as a job is running - you have to rm the cmd lock and then you...

8f765069 04/04/2008 03:02 pm Iustin Pop

Move the daemonize function to utils.py

Currently, in ganeti-noded we have the createDaemon function. Since
we'll need the same in other daemons, we move this function to utils.py

With the move, a few changes were also done:
- change the name to Daemonize()...

aa9d0c32 04/02/2008 09:32 pm Guido Trotter

Improve disk consistency error message again

This new version includes all the possible failure options.

Reviewed-by: iustinp

ad6d3f7d 04/02/2008 09:06 pm Guido Trotter

Fix misleading error message when checking disks

_CheckDiskConsistency outputs "Can't get any data from node NODE" when no drbd
is found on the target node. This causes a misleading error message to be
output for example on failover (when the primary node is down, or the instance...

View revisions

Also available in: Atom