- Aug 17, 2009
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This will be used by another new function, too. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
It'll be used for repairing storage units. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
__setitem__ is used to emulate container objects. We don't use this, and the method is not used in a couple of normal operations (add/remove instance, add/remove disk). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Aug 14, 2009
-
-
Iustin Pop authored
This can be used for a 'plain' type instance when the underlying storage went away, to recreate the storage (and reinstall) instead of removing the instance and readding it. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 13, 2009
-
-
Michael Hanselmann authored
We move all disks anyway. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
* commit 'origin/next': (28 commits) Fix a typo in InitCluster Ignore results from drained nodes in iallocator Ship the ethers hook Ethers hook, compatibility with old lockfile Remove a few unused imports from noded/masterd Move HVM's device_model to a hypervisor parameter Implement the KERNEL_PATH parameter for xen-hvm Upgrade be/hv params with default values Add cluster-init --no-etc-hosts parameter objects: add configuration upgrade system Update NEWS and version for 2.0.3 release example ethers hook: use lockfile-progs ethers hook lock: use logger not echo ethers hook: reduce the probability of data loss devel/upload: revert rsync -p export: add meaningful exit code Fix detecting of errors in export Implement gnt-cluster check-disk-sizes rpc: add rpc call for getting disk size bdev: Add function for reading actual disk size ... Conflicts: daemons/ganeti-masterd - trivial, kept 2.1 version lib/bootstrap.py - trivial, kept 2.1 version lib/cmdlib.py - integrated the 2.0.3 changes lib/constants.py - trivial lib/hypervisor/hv_xen.py - trivial, kept 2.1 version lib/objects.py - trivial, kept 2.1 version lib/opcodes.py - integrated the 2.0.3 changes Signed-off-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> (cherry picked from commit 022c3a0b)
-
- Aug 12, 2009
-
-
Iustin Pop authored
Since drained nodes could be (partially or fully) broken in iallocator, we ignore results from these nodes when building the cluster map in preparation for sending it to the script. This is a cheap change for the stable branch; ideally we should not query them at all. The patch also fixes a typo in iallocator.rst. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
This implements CONFD_REQ_NODE_PIP_BY_INSTANCE_IP, and maps instance ips to primary node ips. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Rather than composing them every time, we'll keep "ready-made" tuples for unknown entries and internal errors (which is, yet, unused) Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Add the following functions to SimpleConfigReader: GetInstanceByIp, nic ip -> instance name GetNodePrimaryIp, node name -> node primary ip GetInstancePrimaryNode, instance name -> primary node For the first one we precalculate the _ip_to_instance, so we don't have to loop over all instances for each query. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
This implements CONFD_REQ_NODE_ROLE_BYNAME. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Adding a way to retrieve the three node status flags, all in one go, from SimpleConfigReader. Non-existing nodes are handled by returning "None". Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
If we standardize common error codes, clients can make use of them to react, rather than trying to parse error strings. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Apart from being a master, a candidate, offline or drained, a node can have one more state: none of those. Adding back the normal, nice, healthy "just" a node! :) Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
During a query execution we currently verify whether we have that query supported in our dispatch table. Since it's an error not to have it anyway, we move this verification to the class creation, erroring out early if such a problem exists. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
We'll start with a simple ping query, which returns ok if it gets no query argument, and an error if it gets any. Also non-implemented query are handled by the base ConfdQuery class, so we don't have to special-case them in ConfdProcessor anymore. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
The message is an error deriving from some code moving/refactoring happening before the initial submission Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
confd.server and daemons/ganeti-confd import a few modules they don't actually use. Clean them up. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Luca Bigliardi authored
Rewrite the part which discusses the global list of files to be distributed updating with the description of what is going to be implemented. Just read below.. Signed-off-by:
Luca Bigliardi <shammash@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 11, 2009
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This fixes ganeti-rapi which was broken in commit 7a95a954. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
doc/examples/hooks/ethers has been added without being shipped in the released tarball. Putting a stop to this. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Luca Bigliardi authored
Use variables already defined. Introduce ganeti CONF_DIR. Signed-off-by:
Luca Bigliardi <shammash@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Luca Bigliardi authored
Use " " instead of ",". Signed-off-by:
Luca Bigliardi <shammash@google.com>
-
- Aug 10, 2009
-
-
Luca Bigliardi authored
Map the node hostname with its primary/secondary ganeti IP in ssconf. In this way a node can discover which are its IPs simply grepping ssconf files, thus avoiding checks depending on network configuration. Signed-off-by:
Luca Bigliardi <shammash@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Luca Bigliardi authored
Remove "-l" option since some ancient systems ship a version of lockfile-progs not supporting it. Signed-off-by:
Luca Bigliardi <shammash@google.com>
-