Statistics
| Branch: | Tag: | Revision:

root / lib @ 58d38b02

Name Size
  build
  confd
  http
  hypervisor
  rapi
__init__.py 791 Bytes
asyncnotifier.py 1.7 kB
backend.py 86.3 kB
bdev.py 60.4 kB
bootstrap.py 20.9 kB
cli.py 57.1 kB
cmdlib.py 304.5 kB
config.py 44.5 kB
constants.py 20 kB
daemon.py 10.1 kB
errors.py 8.7 kB
jqueue.py 41.1 kB
jstore.py 3.7 kB
locking.py 39.3 kB
luxi.py 10.7 kB
mcpu.py 19.7 kB
objects.py 28.7 kB
opcodes.py 19.3 kB
rpc.py 34.9 kB
serializer.py 3.7 kB
ssconf.py 13.5 kB
ssh.py 7.4 kB
storage.py 12.2 kB
utils.py 63.6 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
58d38b02 11/04/2009 05:34 pm Iustin Pop

hypervisors: change MigrateInstance API

Currently the $hypervisor.MigrateInstance takes the instance name. This
patch changes it to take the instance object, such that other instance
properties (especially hvparams) are available to it.

Signed-off-by: Iustin Pop <>...

9b65e0d4 11/04/2009 03:32 pm Iustin Pop

Revert the instance IP conflicts

Since instances can live in different VLANs from nodes (especially in
routed mode), based on the 'link' parameter, we shouldn't always
restrict having duplicate IPs. Thus we only check the node IPs/cluster
IP for now.

Signed-off-by: Iustin Pop <>...

104f4ca1 11/04/2009 01:54 pm Iustin Pop

Introduce a wrapper for hostname resolving

Currently a few of the LU's CheckPrereq use utils.HostInfo which raises
a resolver error in case of failure. This is an exception from the
standard that CheckPrereq should raise an OpPrereqError if the error is
in the 'pre' phase (so that it can be retried)....

0ce8f948 11/04/2009 01:53 pm Iustin Pop

Add a configuration verify check for duplicate IPs

This patch adds a check that the cluster IP, the nodes primary (and
secondary, if enabled) IP and the instances NIC IPs are unique in the
cluster.

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

db8667b7 11/03/2009 06:14 pm Iustin Pop

Workaround fake failures in drbd+live migration

This patch is an attempt to fix the ugly issue during migration:
Cannot resync disks on node …: [True, 100]

If my understanding is correct, sometimes we poll the /proc/drbd file at
an inoportune moment, while it's being updated, or while the DRBD device...

099c52ad 11/03/2009 04:31 pm Iustin Pop

Another round of pylint-related style fixes

A newer version of pylint, more warnings…

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

1b48f7af 11/03/2009 03:42 pm Iustin Pop

Revert "kvm console: use socat raw mode with escape"

This reverts commit ce0eb6694e3fb2510035501539c7acc92a0f174e, since it depends
on 37fc2cf5ba8919cef407199ee540aad4b1a9a2b6 which will be reverted too.

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

d2231b8c 11/03/2009 03:20 pm Iustin Pop

Change behaviour of ConfigWriter._WriteConfig

This patch changes the behaviour of _WriteConfig in case of
configuration errors:

- before, it used to abort the saving (even though the in-memory
configuration used by current jobs has already changed)
- now, we log it (both to the log and to the user) but continue, since...

ce0eb669 11/03/2009 03:14 pm Guido Trotter

kvm console: use socat raw mode with escape

If this is enabled at configure time, we pass in different parameters to
the socat console, making it a lot more manageable.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

31892b4c 11/03/2009 03:07 pm Michael Hanselmann

utils: Convert to utils.Retry

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

View revisions

Also available in: Atom