Add a hint to masterd for inconsistent clusters
authorIustin Pop <iustin@google.com>
Thu, 18 Mar 2010 15:18:05 +0000 (16:18 +0100)
committerIustin Pop <iustin@google.com>
Thu, 18 Mar 2010 15:28:13 +0000 (16:28 +0100)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>

daemons/ganeti-masterd

index 231d595..8d7cd1d 100755 (executable)
@@ -469,6 +469,8 @@ def CheckAgreement():
   if retries == 0:
     logging.critical("Cluster inconsistent, most of the nodes didn't answer"
                      " after multiple retries. Aborting startup")
+    logging.critical("Use the --no-voting option if you understand what"
+                     " effects it has on the cluster state")
     return False
   # here a real node is at the top of the list
   all_votes = sum(item[1] for item in votes)