Haproxy configuration fails to include backend Swift services

Bug #2028797 reported by alpha23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Confirmed
Undecided
Unassigned

Bug Description

Release: xena
Host: Ubuntu 20.04
Containers: Ubuntu source

Errors in /var/log/kolla/swift/swift_latest.log shows connection refused errors to port 6000, 6001, and 6002, pertaining to the swift object, account, and container services. Adding these services to /etc/kolla/haproxy/services.d/ resolves the issue.

Tags: xena
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

please attach log and describe how to reproduce the errors

Changed in kolla-ansible:
status: New → Incomplete
Revision history for this message
alpha23 (alpha23) wrote (last edit ):

The errors are reproduced because the haproxy settings are not correct after setting ha_proxy to yes in globals.yml.

Here is and example of the error log:

2023-07-26T12:06:51-06:00 syslog.local0.err {"Payload":"swift-proxy-server: ERROR with Container server <HAPROXY_PROXY_SERVER_IP>:6002/d0 re: Trying to HEAD /v1/AUTH_96d55c41d2094f679c37078b034f552e/piwik-backup: Connection refused (txn: tx1fcdbfc1d82d40d38f92f-0064c160bb)\u0000","log_level":"err","Hostname":"<HOSTNAME>","programname":"swift"}

My description in the original post is clear. There are no services cfg files created for swift object, container, and account servers thus when there is a call to <HAPROXY_PROXY_SERVER_IP>:6002, which apparently occurs when accessing through horizon, the connection refused is refused. When the cfg files are created, the issue is resolved.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kolla-ansible because there has been no activity for 60 days.]

Changed in kolla-ansible:
status: Incomplete → Expired
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

let's check this, do we really need them. we have the services.d/swift-proxy-server.cfg which proxy the 8080

Changed in kolla-ansible:
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.