In the log message when we have found an inconsistent ip address allocation,
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 28 Apr 2010 04:44:53 +0000 (14:44 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 3 May 2010 05:46:36 +0000 (15:46 +1000)
add extra log information about what the inconsistency is.

server/ctdb_takeover.c

index 54331724c6ae59a554f1254851971c36df814502..ee0e87310887a0d57bc459ddc886b4edbacfd05c 100644 (file)
@@ -2842,7 +2842,7 @@ int verify_remote_ip_allocation(struct ctdb_context *ctdb, struct ctdb_all_publi
                }
 
                if (tmp_ip->pnn != ips->ips[i].pnn) {
-                       DEBUG(DEBUG_ERR,("Inconsistent ip allocation. Trigger reallocation.\n"));
+                       DEBUG(DEBUG_ERR,("Inconsistent ip allocation. Trigger reallocation. Thinks %s is held by node %u while it is held by node %u\n", ctdb_addr_to_str(&ips->ips[i].addr), ips->ips[i].pnn, tmp_ip->pnn));
                        return -1;
                }
        }