Wrong haproxy configuration in HA setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Triaged
|
Critical
|
Unassigned |
Bug Description
Hi,
I'm still facing many issues with Ocatavia and trying to pinpoint the root causes, I found something weird in the haproxy configuration maintained by hacluster.
Here is my /etc/haproxy/
-------
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 20000
user haproxy
group haproxy
spread-checks 0
defaults
log global
mode tcp
option tcplog
option dontlognull
retries 3
timeout queue 9000
timeout connect 9000
timeout client 90000
timeout server 90000
listen stats
bind 127.0.0.1:8888
mode http
stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /
stats auth admin:6pmtHODVs
frontend tcp-in_
bind *:9876
bind :::9876
acl net_192.168.203.162 dst 192.168.
use_backend octavia-
acl net_192.168.211.24 dst 192.168.
use_backend octavia-
default_backend octavia-
backend octavia-
balance leastconn
server octavia-0 192.168.
server octavia-1 192.168.211.25:9866 check
server octavia-2 192.168.211.26:9866 check
backend octavia-
balance leastconn
server octavia-0 192.168.211.24:9866 check
server octavia-1 192.168.211.25:9866 check
server octavia-2 192.168.211.26:9866 check
-------
As you can see, there are 2 backends configured and if I compare with other HA services such as nova-cloud-
In this configuration, 192.168.203.0/24 is my "PXE, non routed network" and 182.168.211.0/24 is my "internal" network.
I must say that this deployment is made with Juju/MaaS.
I did some curl on the different <IP>:9866 endpoints and they don't even respond the same way.
Changed in charm-octavia: | |
status: | New → Incomplete |
Changed in charm-octavia: | |
status: | Incomplete → New |
Please could you indicate ubuntu version, openstack version and charms versions that this is happening with. Thanks.