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>
Wed, 28 Apr 2010 04:44:53 +0000 (14:44 +1000)
add extra log information about what the inconsistency is.

server/ctdb_takeover.c

index acc9ce305b47ff4973ea4891d6d16dc6c191332d..9256e23c3029f43631edfcdfbb4c513765060b1e 100644 (file)
@@ -2185,7 +2185,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;
                }
        }