- 08 Oct, 2007 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- 04 Oct, 2007 1 commit
-
-
Michael Hanselmann authored
- Add NEWS file with major changes between versions. - Bump RPC version number - No longer serialize in RPC, but just convert to dict Old Pickle based configuration files can be converted using the cfgupgrade utility. Reviewed-by: iustinp, ultrotter
-
- 24 Sep, 2007 1 commit
-
-
Iustin Pop authored
This change allows instances of ConfigObject and its children to be converted to and from standard python types. This will allow easier upgrade of the configuration and use of any serialization protocol (not only pickle). The code is not very nice (a little too verbose, I think) but it works. Tested on a 2-node, 3-instance cluster by doing repeated conversions and checking consistency of results. Reviewed-by: imsnah
-
- 21 Sep, 2007 2 commits
-
-
Iustin Pop authored
It makes sense to make the TaggableObject a child of the ConfigObject, since in this case we can derive the Instance, Node and Cluster objects only from the TaggableObject and have a cleaner hierarchy. For consistency child classes will have to declare their slots by adding their parents on top. Reviewed-by: imsnah,ultrotter
-
Iustin Pop authored
Unless we use __slots__ on all parents, we don't get the benefits that __slots__ bring. This patch adds this attribute to the TaggableObject so that Instances, Nodes and the Clusters behave as intended. Reviewed-by: schreiberal,imsnah
-
- 17 Sep, 2007 1 commit
-
-
Iustin Pop authored
This patch adds support for renaming at OS level. Because of this, we need to bump up the version of the OS api from 4 to 5. The patch also documents the new script interface in the ganeti-os-interface(7) man page and adds a section on upgrading the OS definitions to the new version. Reviewed-by: imsnah
-
- 20 Aug, 2007 1 commit
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- 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
-
- 02 Aug, 2007 1 commit
-
-
Michael Hanselmann authored
-
- 27 Jul, 2007 1 commit
-
-
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 2 commits
-
-
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 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- 16 Jul, 2007 1 commit
-
-
Iustin Pop authored
-