Statistics
| Branch: | Tag: | Revision:

root / lib @ 04ab05ce

Name Size
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 54 kB
bdev.py 49.4 kB
bootstrap.py 11.7 kB
cli.py 19.9 kB
cmdlib.py 172.6 kB
config.py 23.1 kB
constants.py 7.5 kB
errors.py 5.3 kB
http.py 6.9 kB
jqueue.py 15.7 kB
jstore.py 3.3 kB
locking.py 29.2 kB
logger.py 2.8 kB
luxi.py 7.8 kB
mcpu.py 12.4 kB
objects.py 21.6 kB
opcodes.py 13.7 kB
rpc.py 17.7 kB
serializer.py 1.6 kB
ssconf.py 6.9 kB
ssh.py 6.7 kB
utils.py 32.9 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
04ab05ce 08/04/2008 03:27 pm Michael Hanselmann

jqueue: Use new jstore module

Reviewed-by: iustinp

8b537bb0 08/04/2008 03:27 pm Michael Hanselmann

jstore: Add queue helper functions

This will be used to move common code out of jqueue.

Reviewed-by: iustinp

94428652 08/04/2008 12:47 pm Iustin Pop

Implement job submission for scripts

This patch adds the infrastructure for executing a job in background,
instead of foreground, via a new “--submit” option. The behaviour is
that the job ID is printed and the script will immediately exit.

The patch also converts gnt-node list to this model (yes, this will be a...

db37da70 07/31/2008 06:03 pm Michael Hanselmann

jqueue: Move assert into decorator

This reduces code duplication. A later patch will modify the job queue
a bit more and will need a change of this assert. The assertion is
also removed from all class-internal functions.

Reviewed-by: iustinp

0a1e74d9 07/31/2008 05:52 pm Iustin Pop

Split cli.SubmitOpCode in two parts

The current SubmitOpCode function is not flexible enough to be used for
submitters that don't want to wait for the job finish.

The patch splits this in two, a SendJob function and a PollJob one, and
the old SubmitOpCode becomes a wrapper. Note that the new SendJob takes...

afee8008 07/31/2008 05:42 pm Michael Hanselmann

Allow job queue files to be uploaded through ganeti-noded

This is needed for job queue replication.

Reviewed-by: iustinp

a87b4824 07/31/2008 05:33 pm Michael Hanselmann

Add FileLock utility class

This class is a wrapper around fcntl.flock and abstracts opening and
closing the lockfile. It'll used for the job queue.

(The patch also removes a duplicate import of tempfile into the unittest)

Reviewed-by: iustinp

5bdce580 07/31/2008 05:33 pm Michael Hanselmann

jqueue: Store context in job queue instead of worker pool

The job queue will need to access to configuration, which is provided
through the context object, to get a list of nodes.

Reviewed-by: iustinp

15fd9fd5 07/31/2008 03:58 pm Oleksiy Mishchenko

RAPI Implement DELETE for tags

Reviewed-by: imsnah

441e7cfd 07/31/2008 12:06 pm Oleksiy Mishchenko

First write operation (add tag) for Ganeti RAPI

Add instance tag handling, improved error logging.
...oh, yes adopt instance listing for RAPI2!

Reviewed-by: iustinp

View revisions

Also available in: Atom