Statistics
| Branch: | Tag: | Revision:

root / lib @ 113b55aa

Name Size
Makefile.am 196 Bytes
__init__.py 807 Bytes
backend.py 36.4 kB
bdev.py 45.7 kB
cli.py 10.2 kB
cmdlib.py 116.2 kB
config.py 19.4 kB
constants.py 2.4 kB
errors.py 3.9 kB
hypervisor.py 14.2 kB
logger.py 5.9 kB
mcpu.py 8.2 kB
objects.py 12.4 kB
opcodes.py 6.5 kB
rpc.py 18.1 kB
ssconf.py 5.4 kB
ssh.py 4.1 kB
utils.py 18.6 kB

Latest revisions

# Date Author Comment
113b55aa 09/03/2007 02:22 pm Iustin Pop

Switch utils.RunCmd from popen2 to subprocess

This changes the implementation of RunCmd from using the popen2 module
to using the (new in 2.4) subprocess module.

This is helpful because the subprocess module has more advanced features
than popen2, the most important ones being the ability to run code in the...

8d519422 08/30/2007 07:16 pm Iustin Pop

Fix mdadm -D output compatibility issues.

Also add some debugging output.

2a710df1 08/30/2007 06:36 pm Michael Hanselmann

- Check for secondary node before doing a failover.
- Replace magic values by constants.

Reviewed-by: iustinp

c20494cd 08/30/2007 05:32 pm Iustin Pop

Add a safety check to the backend.AddOSToInstance

This changes a ';' to '&&' to make sure we run the create script from
the correct directory.

Reviewed-by: imsnah

130e907e 08/30/2007 05:30 pm Iustin Pop

Add one more check on cluster init.

This adds a check that the initial node's IP name doesn't resolve to a
loopback address (127.x.y.z).

Also remove an unused variable.

Reviewed-by: imsnah

16450d30 08/30/2007 12:35 pm Iustin Pop

Document kernel selection method

This changelist add:
- documentation on how to select the kernel and initrd (if needed) for
instances
- support in hypervisor.py for the initrd
- adds note about internet-connectivity and debootstrap requirements...

ff98055b 08/28/2007 03:25 pm Iustin Pop

Refuse nodes with non-FQDN hostnames.

This changes the cluster init and node join to refuse a node that has a
different hostname than what the resolver returns.

Reviewed-by: imsnah

1a87dca7 08/28/2007 11:50 am Iustin Pop

Fix compatibility problems with mdadm-2.5.6

This fixes a compatibility problem with recent mdadm (2.x?) by
reimplementing the zero-ing of the superblocks in ganeti itself.

Reviewed-by: imsnah

82122173 08/24/2007 12:20 pm Iustin Pop

Rework ssh known-hosts handling.

This changes:
- cluster setup, we no longer edit /etc/ssh/ssh_known_hosts but our
own file
- node add, we no longer remove root's known_hosts (twice)
- gnt-instance console, both the LU and the script: since now the ssh...

02715459 08/23/2007 04:59 pm Iustin Pop

Improve LURunClusterCommand

This function used a hand-coded ssh call to remote nodes. Fix it to use the
ssh.SSHCall function, and in the process drop the command field from the
results, as it's too verbose and we can use (in gnt-cluster) what we passed in....

View revisions

Also available in: Atom