From aa9d0c3207f2ea24c25e5c09dd2dcf348cfa42f0 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Wed, 2 Apr 2008 18:32:08 +0000 Subject: [PATCH] Improve disk consistency error message again This new version includes all the possible failure options. Reviewed-by: iustinp --- lib/cmdlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index e00d4e2b6..c7cc11c7a 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -1154,7 +1154,7 @@ def _CheckDiskConsistency(cfgw, dev, node, on_primary, ldisk=False): if on_primary or dev.AssembleOnSecondary(): rstats = rpc.call_blockdev_find(node, dev) if not rstats: - logger.ToStderr("Disk degraded or not found on node %s" % node) + logger.ToStderr("Node %s: Disk degraded, not found or node down" % node) result = False else: result = result and (not rstats[idx]) -- GitLab