From 9dd6889ba89836fe85de9ecee5c554909ce20aa5 Mon Sep 17 00:00:00 2001 From: Luca Bigliardi <shammash@google.com> Date: Thu, 15 Jul 2010 17:13:06 +0100 Subject: [PATCH] LUVerifyCluster: update _ValidateNode description Change _ValidateNode description to reflect what the function actually does. Signed-off-by: Luca Bigliardi <shammash@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/cmdlib.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 4a7c0d84b..a14621d5d 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -1433,14 +1433,11 @@ class LUVerifyCluster(LogicalUnit): self.bad = self.bad or cond def _VerifyNode(self, ninfo, nresult): - """Run multiple tests against a node. + """Perform some basic validation on data returned from a node. - Test list: - - - compares ganeti version - - checks vg existence and size > 20G - - checks config file checksum - - checks ssh to other nodes + - check the result data structure is well formed and has all the mandatory + fields + - check ganeti version @type ninfo: L{objects.Node} @param ninfo: the node to check -- GitLab