Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1535481

Summary: ODL needs to configure HAProxy so that it recognises isolated controllers
Product: Red Hat OpenStack Reporter: Stephen Kitt <skitt>
Component: puppet-tripleoAssignee: Tim Rozet <trozet>
Status: CLOSED DUPLICATE QA Contact: Tomas Jamrisko <tjamrisk>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: bperkins, jjoyce, jschluet, mkolesni, nyechiel, oblaut, slinaber, tjamrisk, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
N/A
Last Closed: 2018-02-21 15:40:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
haproxy.cfg none

Description Stephen Kitt 2018-01-17 13:50:51 UTC
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.

Comment 1 Stephen Kitt 2018-01-17 13:52:15 UTC
Tomas, can you extract the HAProxy configuration from the setup that gets deployed in our HA CSIT jobs?

Comment 2 Tomas Jamrisko 2018-01-17 15:45:45 UTC
Created attachment 1382528 [details]
haproxy.cfg

Adding haproxy.cfg

Comment 3 Ofer Blaut 2018-01-18 13:32:41 UTC
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

Comment 4 Stephen Kitt 2018-01-18 14:16:55 UTC
(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).

Comment 8 Tim Rozet 2018-02-21 15:40:22 UTC

*** This bug has been marked as a duplicate of bug 1488907 ***