- Sep 03, 2007
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Aug 31, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Aug 30, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Aug 24, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
- Run “gnt-cluster verify” and “gnt-cluster info” after adding all nodes - Remove unused --cleanup option - Remove --verbose option and always print executed SSH commands Reviewed-by: iustinp
-
- Aug 21, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustin
-
- Aug 16, 2007
-
-
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.
-
- Aug 14, 2007
-
-
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).
-
- Aug 03, 2007
-
-
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
-
- Jul 27, 2007
-
-
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
-
- Jul 25, 2007
-
-
Michael Hanselmann authored
-
Michael Hanselmann authored
- Split up info tests and add more of them - Replace map() by [x for x in y] Reviewed-by: iustinp
-
- Jul 23, 2007
-
-
Iustin Pop authored
- move the master node name from the ConfigWriter to SimpleStore (all nodes need this, and it was the only thing pulled in from the ConfigWriter on nodes) - fix mcpu.py and the testing w.r.t. this change; for testing, rename the fake_config.py to mocks.py and add a FakeSStore object - then add a ganeti-master script which can be run on any node at boot and which will not do anything if not master on start (on stop it will still try to remove the ip address) - also add a new cluster-wide variable (master_netdev) that determines on which interface we add this ip address; it's customizable at cluster init time - also remove the cluster name file which was separately handled from ssconf (not needed anymore) - remove the master init.d links from the list of config files as this is not our responsibility now
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Jul 16, 2007
-
-
Iustin Pop authored
-