- Sep 14, 2007
-
-
Iustin Pop authored
Change this to have the exact same parameters as OpQueryInstances. Also fix burnin which is broken since r146. Reviewed-by: imsnah
-
Iustin Pop authored
As per the changes to LUQueryNodes, the QueryInstances LU is modified to accept a list of instances for which to compute and return information. Reviewed-by: imsnah
-
Iustin Pop authored
Now that LUQueryNodes supports all the functionality of LUQueryNodeData, let's migrate gnt-node.ShowNodeConfig to use it and remove all traces of OpQueryNodeData and LUQueryNodeData. Reviewed-by: imsnah
-
Iustin Pop authored
LUQueryNodes it's very similar to LUQueryNodeData, but it lacks two features: - instance list (it has count though), both primary and secondary - selective node listing In order to support these features, we change it to return raw values instead of stringified ones (like the recent change to LUQueryInstances) and to support query-ing of a restricted set of nodes. This CL also modifies the gnt-node script to conform to the new protocol and the opcode OpQueryNodes to support the new "nodes" attribute. Reviewed-by: imsnah
-
- Sep 13, 2007
-
-
Iustin Pop authored
Currently, LUQueryInstances will provide strings for its results. This makes it hard for other consumers than "gnt-instance list" to use the OpQueryInstances opcode for whatever they wish to. The change moves the formatting in five of the six cases where this happens to the actual gnt-instance.ListInstances procedure and removes the unconditional convert to string in LUQueryInstances.Exec() Reviewed-by: imsnah
-
- Aug 30, 2007
-
-
Iustin Pop authored
The manpage wrongly states that the default unit for disk sizes is gibibytes, whereas currently it's mebibytes. Fix that and also update the '--help' output to display the default unit. Reviewed-by: roman.marxer
-
- Aug 24, 2007
-
-
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
-
- Aug 23, 2007
-
-
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
-
- Aug 20, 2007
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Aug 17, 2007
-
-
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
-
- 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
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Aug 02, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-By: iustinp
-
- Jul 27, 2007
-
-
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
-
- Jul 26, 2007
-
-
Michael Hanselmann authored
- Implement “gnt-instance reinstall” - Fix two typos Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Jul 24, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
- Create all --output options using a constant - Put node checking code from opcodes into a single function - Do the same for output fields 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
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Jul 16, 2007
-
-
Iustin Pop authored
-