Hi All

I need to change haproxy configuration in the openstack-ussuri environment using openstack-ansible.

for glance-api service I need to change backend load-balancing algorithm from source to least-connect 

I can see this configuration as part of group_vars of the source package /opt/openstack-ansible/inventory/group_vars/haproxy/haproxy.yml

-service:
haproxy_service_name: glance_api
haproxy_backend_nodes: "{{ groups['glance_api'] | default([]) }}"
haproxy_ssl: "{{ haproxy_ssl }}"
haproxy_port: 9292 haproxy_balance_alg: source
haproxy_balance_type: http
haproxy_backend_options:

Can you please let me know how to do so?

Regards
Keshav

On Fri, Feb 9, 2024 at 8:27 PM <openstack-discuss-request@lists.openstack.org> wrote:
Welcome to the "openstack-discuss" mailing list!

To post to this list, send your message to:

  openstack-discuss@lists.openstack.org

You can unsubscribe or make adjustments to your options via email by
sending a message to:

  openstack-discuss-request@lists.openstack.org

with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.  You will
need your password to change your options, but for security purposes,
this password is not included here.  If you have forgotten your
password you will need to reset it via the web UI.