IP reallocation. If a public address is already hosted on the node when we startup...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 13 Mar 2011 22:55:28 +0000 (09:55 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 13 Mar 2011 22:55:28 +0000 (09:55 +1100)
CQ S1022356

server/ctdb_takeover.c

index 1d6fe6e4b8ba13c4a71b447501d227674ebb4e19..3dac1f7fdd1b268a762d8082ca3c9eb550f332ee 100644 (file)
@@ -596,7 +596,7 @@ int32_t ctdb_control_takeover_ip(struct ctdb_context *ctdb,
                DEBUG(DEBUG_CRIT,(__location__ " takeoverip of IP %s is known to the kernel, "
                                  "but we have no interface assigned, has someone manually configured it? Ignore for now.\n",
                                 ctdb_addr_to_str(&vnn->public_address)));
-               return -1;
+               return 0;
        }
 
        if (vnn->pnn != ctdb->pnn && have_ip && vnn->pnn != -1) {