swift commands fail due to a "Connection refused" error in a full ha setup

Bug #1360422 reported by Shweta P on 2014-08-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack

Bug Description

Full Ha setup was not able to execute any swift commands to the following error

HTTPConnectionPool(host='', port=8080): Max retries exceeded with url: /v1/AUTH_c86100006917462999f3158b65e6b623?format=json (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

On investigation looks like the /etc/haproxy/haproxy.cfg file , did not have this entry on the load-balancers
listen swift_proxy_cluster
  bind <Virtual IP>:8080
  balance source
  option tcplog
  option tcpka
  server controller1 check inter 2000 rise 2 fall 5
  server controller2 check inter 2000 rise 2 fall 5

I manually added this entry and restarted haproxy, and swift commands worked.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers