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
This commit is contained in:
@@ -76,6 +76,7 @@ haproxy_default_services:
|
|||||||
haproxy_ssl: "{{ haproxy_ssl }}"
|
haproxy_ssl: "{{ haproxy_ssl }}"
|
||||||
haproxy_port: 9292
|
haproxy_port: 9292
|
||||||
haproxy_balance_type: http
|
haproxy_balance_type: http
|
||||||
|
haproxy_balance_alg: source
|
||||||
haproxy_backend_options:
|
haproxy_backend_options:
|
||||||
- "httpchk GET / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
- "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 }}"
|
haproxy_service_enabled: "{{ groups['glance_api'] is defined and groups['glance_api'] | length > 0 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user