Statistics
| Branch: | Tag: | Revision:

root / lib @ 3924700f

Name Size
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 58.4 kB
bdev.py 50.2 kB
bootstrap.py 13.1 kB
cli.py 25.1 kB
cmdlib.py 187.2 kB
config.py 29.4 kB
constants.py 9.6 kB
daemon.py 2.8 kB
errors.py 5.3 kB
http.py 21.7 kB
jqueue.py 23.3 kB
jstore.py 3.8 kB
locking.py 29.7 kB
logger.py 2.8 kB
luxi.py 8.9 kB
mcpu.py 12.2 kB
objects.py 23.1 kB
opcodes.py 14.6 kB
rpc.py 23.5 kB
serializer.py 1.6 kB
ssconf.py 3.9 kB
ssh.py 6.6 kB
utils.py 36.7 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
3924700f 10/14/2008 05:42 pm Iustin Pop

Use the auto_balance in cluster verify

This patch changes the cluster verify in two ways:
- do not use instances marked with auto_balance=False in N+1 memory
checks
- report, if any, the number of instances with auto_balance=False

Forward port from rev 1562 on the 1.2 branch....

c1f1cbb2 10/14/2008 05:42 pm Iustin Pop

Fix ordering of instance/nodes

After the locking changes, and the partial locking of nodes, the
instance/node list is not ordered anymore. Reorder so that it behaves as
before.

Reviewed-by: ultrotter

bf766476 10/14/2008 02:30 pm Iustin Pop

Remove old instance attributes

Reviewed-by: ultrotter

338e51e8 10/14/2008 02:29 pm Iustin Pop

Change over to beparams

This big patch changes the master code to use the beparams. Errors might
have crept in, but it passes a small burnin.

Reviewed-by: ultrotter

51de46bf 10/14/2008 02:29 pm Iustin Pop

Change the backend to use the beparams

The backend.FinalizeExport function is changed to use the beparams
instead of the instance attributes. Future enhancements should be done
in order to export and import/reuse the whole be/hv params.

Reviewed-by: ultrotter

8b3fd458 10/14/2008 02:29 pm Iustin Pop

Change hypervisors to use the beparams

This patch changes the hypervisor functions to use the beparams dict
instead of the instance attributes.

Reviewed-by: ultrotter

5b442704 10/14/2008 02:29 pm Iustin Pop

Correctly fill the beparams too over RPC

As for the hvparams, we need to replace the sent instance beparams.

Reviewed-by: ultrotter

a604f165 10/14/2008 02:29 pm Iustin Pop

Add cli function for beparams validation

This is used to validate the parameters in both “gnt-instance add” and
“gnt-backup import”.

Reviewed-by: ultrotter

cd3ab26e 10/14/2008 02:29 pm Iustin Pop

Modify the beparams constants

Memory is renamed for easier use.

Reviewed-by: ultrotter

8705eb96 10/14/2008 01:21 pm Iustin Pop

Fix a bug with instance creation and hvparameters

When creating an instance, we need to check not the opcode hvparams, but
the final, filled hvparams against validity. While we do this for the
remote node calls (i.e. ValidateParams), we didn't do this for...

View revisions

Also available in: Atom