- 30 Aug, 2007 2 commits
-
-
Iustin Pop authored
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
-
Iustin Pop authored
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 for the minimal etch os - documentation on the miminum xenvg size Reviewed-by: roman.marxer,ultrotter
-
- 28 Aug, 2007 2 commits
-
-
Iustin Pop authored
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
-
Iustin Pop authored
This fixes a compatibility problem with recent mdadm (2.x?) by reimplementing the zero-ing of the superblocks in ganeti itself. Reviewed-by: imsnah
-
- 24 Aug, 2007 1 commit
-
-
Iustin Pop authored
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 setup is not standard, we need to build the ssh cmdline in the LU (instead of manually building it in the script) with the correct parameters and use the command line as returned in the script - ssh.py, many changes, split options in module-level constants so that building the command line in different places is easier/more logical - backend.py, we no longer remove root's known_hosts in Add node, and we allow our own known_hosts file to be uploaded Reviewed-by: imsnah
-
- 23 Aug, 2007 1 commit
-
-
Iustin Pop authored
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. Reviewed-by: schreiberal
-
- 22 Aug, 2007 1 commit
-
-
Iustin Pop authored
_GetWantedNodes is used wrongly by the LUClusterCopyFile. This fixes that. Reviewed-by: imsnah
-
- 21 Aug, 2007 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustin
-
- 20 Aug, 2007 3 commits
-
-
Iustin Pop authored
In case we use StrictHostKeyChecking=ask, also add HashKnownHosts=no so that debugging is easier. The nodes to which we are connecting are anyway visible in /etc/ssh/ssh_known_hosts.
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
appropriate raise. Reviewed-by: imsnah
-
- 17 Aug, 2007 1 commit
-
-
Iustin Pop authored
Since the table generation might be useful elsewhere, let's change it to return the data instead of directly printing it. Its callers have also been updated. Reviewed-by: imsnah
-
- 16 Aug, 2007 1 commit
-
-
Iustin Pop authored
It fixes the main Makefile.am to create $localstatedir/{lib,log}/ganeti. It fixes the testing Makefile.am after the rename fake_config.py -> mocks.py. It strips the output of "ip link show" to have a nicer output if the master netdev does not exist.
-
- 14 Aug, 2007 1 commit
-
-
Iustin Pop authored
This changes the raising of exceptions from: raise Exception, value to raise Exception(value) as the first form will be removed in python-3000 and the second form is preferred now. The changes also involve a few cases of changing from raising standard exceptions and use our own ones. The new version also fixes many pylint-generated warnings, especially in ganeti-noded where I changed many methods to @staticmethod. There is no functionality changed (barring any bugs).
-
- 08 Aug, 2007 1 commit
-
-
Iustin Pop authored
This is only the backend part, from the command line the tags can't be read/modified yet. Reviewed-by: imsnah
-
- 06 Aug, 2007 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- 03 Aug, 2007 6 commits
-
-
Iustin Pop authored
- add an Update method on the ConfigWriter class; - make the AddInstance method not log disks for diskless types (helps with testing) - implement limited testing for the ConfigWriter with focus on the new Update method
-
Iustin Pop authored
won't reread it if not modified by someone else.
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Iustin Pop authored
configuration. Reviewed-by: imsnah
-
Iustin Pop authored
instead use an UUID prefix and a suffix denoting the disk iv_name (sda/sdb) and possibly it's type (data/meta). Reviewed-by: imsnah
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- 02 Aug, 2007 3 commits
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
-
- 30 Jul, 2007 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- 27 Jul, 2007 5 commits
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
- Add the command to gnt-instance.sgml Reviewed-by: iustinp
-
Iustin Pop authored
runnable on non-master nodes (and remove the list of instances and nodes returned by it, that information can be retrieved by other opcodes). Also, remove the node/instance list from "gnt-cluster info" as it doesn't make sense to duplicate this information. Reviewed-by: imsnah
-
Iustin Pop authored
Reason: if left ConfigWriter, nodes don't know to which cluster they belong. This will bite us later when we'll revisit node join operation. Cons: we lose the cluster name from the config file, which means a standalone "cluster.data" is a little bit harder to analyze. But I have a plan for this which will follow shortly. Implementing this will also allow us to cleanly fix "gnt-cluster getmaster". Reviewed-by: imsnah
-
- 26 Jul, 2007 4 commits
-
-
Michael Hanselmann authored
- Implement “gnt-instance reinstall” - Fix two typos Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Iustin Pop authored
and all users have been converted, let's remove it from the slots of the cluster object. Also let's move the tcpudp_port_pool to the cluster object. Reviewed-by: imsnah
-
- 25 Jul, 2007 4 commits
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Iustin Pop authored
-
Iustin Pop authored
handling, as it can be static and outside of ganeti. This also means we can get rid of a lot of infrastructure too: - the master/node config files checkers - one rpc function
-
Iustin Pop authored
Reviewed-by: imsnah
-
- 24 Jul, 2007 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-