Statistics
| Branch: | Tag: | Revision:

root / lib @ 6c0af70e

Name Size
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 58.2 kB
bdev.py 50.2 kB
bootstrap.py 15.4 kB
cli.py 26.1 kB
cmdlib.py 190.4 kB
config.py 29.8 kB
constants.py 10.6 kB
daemon.py 3.1 kB
errors.py 5.9 kB
http.py 17.8 kB
jqueue.py 25.1 kB
jstore.py 3.8 kB
locking.py 29.7 kB
luxi.py 9.4 kB
mcpu.py 12.7 kB
objects.py 23.1 kB
opcodes.py 14.7 kB
rpc.py 27 kB
serializer.py 1.6 kB
ssconf.py 3.9 kB
ssh.py 6.6 kB
utils.py 38.1 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
6c0af70e 10/22/2008 05:09 pm Guido Trotter

Convert ImportOSIntoInstance to OS API 10

- Change ImportOSIntoInstance not to get any "os_disk" and "swap_disk"
arguments but to accept multiple target images to import, and to
return a list of booleans with the result of each import
- Change the relevant rpc call and the only caller to conform...

0607699d 10/22/2008 05:09 pm Guido Trotter

Convert ExportSnapshot to OS API 10

We pass the data via the environment rather than on the command line, as
API 10 says. All the rest remains the same, and we export just one disk,
as the master calls this function for every snapshotted disk.

Reviewed-by: iustinp

19d7f90a 10/22/2008 05:08 pm Guido Trotter

LUExportInstance: snapshot all disks

Rather than just snapshotting the "sda" disk, we'll snapshot all of the
instance disks. If we can't snapshot a disk for any reason we'll log an
error and proceed anyway: in this case the resulting export will miss a
disk. This also changes all the warning messages to self.LogWarning()....

e9e9263d 10/22/2008 05:08 pm Guido Trotter

Convert SnapshotBlockDevice's docstring to epydoc

Reviewed-by: iustinp

7a8f64da 10/21/2008 11:32 pm Oleksiy Mishchenko

Pass request headers in to RAPI handlers.

Reviewed-by: iustinp

86d9d3bb 10/21/2008 08:54 pm Iustin Pop

Move some LU logging to use proc.Log*

We change some messages which are obviously intended for the user to use
the proc.Log* functions instead of (only) the logging ones.

We also fix some wrong uses of feedback_fn.

Reviewed-by: imsnah

c0088fb9 10/21/2008 06:45 pm Iustin Pop

Improve the mcpu.Processor logging routines

As discussed previously, many of the routinges in cmdlib.py are using
logging functions as a carry-over from 1.2 (when these also showed the
message on stderr/to the user), instead of actually warning the user....

16653425 10/21/2008 04:02 pm Iustin Pop

Fix whitespace-at-EOL

Please configure your editors to strip it, or enable your git hooks...

Reviewed-by: ultrotter

02691904 10/20/2008 07:38 pm Alexander Schreiber

Set default hypervisor at cluster init

During cluster init, set the default hypervisor to be used for instances.
Ensure that the default hypervisor belongs to the set enabled hypervisors
for this cluster. Also fix a small bug with setting the default enabled...

99aabbed 10/20/2008 05:47 pm Iustin Pop

Convert the job queue rpcs to address-based

The two main multi-node job queue RPC calls (jobqueue_update,
jobqueue_rename) are converted to address-based calls, in order to speed
up queue changes. For this, we need to change the _nodes attribute on
the jobqueue to be a dict {name: ip}, instead of a set....

View revisions

Also available in: Atom