Error with leader election Opennebula 5.4 with HA

Andre, I think I found the problem. The log outdated means that the
candidate has an index less than the followers. The cluster could not
progress if the curl timeout occurs. It happens to be a problem with the
libcurl - libxmlrpc interaction somehow. Please change your oned.conf to
read:

XMLRPC_TIMEOUT_MS = 0

The code is full multithread show, we should be fine not forcing network
timeouts.

Cheers

It worked!!! But I also had to make this change:
ELECTION_TIMEOUT_MS = 0

Now I’m getting some messages like this:
Tue Aug 1 17:14:14 2017 [Z0][DBM][E]: Log record 483402 loaded incorrectly. Record index: 483403 fed. index: -1116310568 sql command: . Operation return code: 0

Hi everybody, if i have server 0 with IP 10.3.3.2 eth0, server 1 with IP 10.3.3.3 eth0, server 2 with IP 10.3.3.4 eth0, so I can be setting a hook with floating IP is 10.3.3.2? Thanks so much

Executed when a server transits from follower->leader

RAFT_LEADER_HOOK = [
COMMAND = “raft/vip.sh”,
ARGUMENTS = “leader eth0 10.3.3.2/24”
]

Executed when a server transits from leader->follower

RAFT_FOLLOWER_HOOK = [
COMMAND = “raft/follower.sh”,
ARGUMENTS = “follower eth0 10.3.3.2/24”
]