From ef76ec297a2accaf11fb3d7fd9141a364cd0c359 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Wed, 8 Apr 2020 21:21:20 +0300 Subject: [PATCH] Change glance haproxy balancing method In order to support glance-direct interoperable image import method we need to send both stage and import request to the same backend, as it stores stageing image on the local storage by default. Change-Id: I55a6983351f178bdc1eff9db50039010fa03a58b --- inventory/group_vars/haproxy/haproxy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/inventory/group_vars/haproxy/haproxy.yml b/inventory/group_vars/haproxy/haproxy.yml index 0a411a14dd..dd544f50c9 100644 --- a/inventory/group_vars/haproxy/haproxy.yml +++ b/inventory/group_vars/haproxy/haproxy.yml @@ -76,6 +76,7 @@ haproxy_default_services: haproxy_ssl: "{{ haproxy_ssl }}" haproxy_port: 9292 haproxy_balance_type: http + haproxy_balance_alg: source haproxy_backend_options: - "httpchk GET / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck" haproxy_service_enabled: "{{ groups['glance_api'] is defined and groups['glance_api'] | length > 0 }}"