HA proxy load balancing issue with contrail analytics API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
New
|
High
|
Sundaresan Rajangam | ||
R3.1 |
New
|
Undecided
|
Sundaresan Rajangam | ||
R3.2 |
New
|
Undecided
|
Sundaresan Rajangam |
Bug Description
Customer has configured 9 node setup in which
a. 3 nodes are hosting
Control, config, database, webui
b. 1 nodes for openstack
c. 3 compute nodes and 2 TSN nodes.
HA proxy is configured for loadbalancing with Roundrobin.
Haproxy.cfg
backend contrail-
option nolinger
balance roundrobin
option tcp-check
tcp-check connect port 6379
default-server error-limit 1 on-error mark-down
server 10.204.74.215 10.204.74.215:9081 check inter 2000 rise 2 fall 3
server 10.204.74.216 10.204.74.216:9081 check inter 2000 rise 2 fall 3
server 10.204.74.217 10.204.74.217:9081 check inter 2000 rise 2 fall 3
From the above file haproxy checks with the redis server for its availability and not for contrail-
This configuration is removed in 3.2 and later customer want a fix in 3.1 as they will be migrating to 3.1.
1. Setup 3 node controller cluster with haproxy load-balancer.
2. Shutdown contrail-
3. Send Analytics API request three times. One request should be timed out.
root@api1:
<html><body><h1>503 Service Unavailable</h1>
No server is available to handle this request.
</body></html>
tags: | added: analytics ha |
may be a dup of the PR you were working