When we end up with a cluster with an isolated leader, HAProxy doesn’t know it shouldn’t forward requests to the isolated node. We should configure the HAProxy probe to react appropriately when the datastore isn’t in a nominal state.
Tomas, can you extract the HAProxy configuration from the setup that gets deployed in our HA CSIT jobs?
Created attachment 1382528 [details] haproxy.cfg Adding haproxy.cfg
The health check type should try to run a check that does POST something like "option httpchk POST ....." so if ODL server is isolated write commands will fail
(In reply to Ofer Blaut from comment #3) > The health check type should try to run a check that does POST > > something like "option httpchk POST ....." so if ODL server is isolated > write commands will fail That would be a good first step, but POSTs to a failed ODL server take a *long* time to time out so it would still leave us in a bad state for quite a while (unless we tell HAP to expect a response rapidly and fail the node otherwise).
*** This bug has been marked as a duplicate of bug 1488907 ***