swift commands fail due to a "Connection refused" error in a full ha setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
New
|
High
|
Unassigned |
Bug Description
Full Ha setup was not able to execute any swift commands to the following error
HTTPConnectionP
On investigation looks like the /etc/haproxy/
listen swift_proxy_cluster
bind <Virtual IP>:8080
balance source
option tcplog
option tcpka
server controller1 10.0.0.1:8080 check inter 2000 rise 2 fall 5
server controller2 10.0.0.2:8080 check inter 2000 rise 2 fall 5
I manually added this entry and restarted haproxy, and swift commands worked.