31f9c3b5c69f354aa8fd9354d7f7f06cf0e45335
[joid.git] / ci / config_tpl / bundle_tpl / glance.yaml
1     glance:
2       charm: "local:{{ ubuntu.release }}/glance"
3       num_units: {{ unit_qty() }}
4       options:
5 {% if os.ha.mode == 'ha' %}
6         haproxy-server-timeout: 10000
7         haproxy-client-timeout: 10000
8         haproxy-queue-timeout: 10000
9         haproxy-connect-timeout: 10000
10         vip: {{ opnfv.vip.glance }}
11 {% endif %}
12 {% if os.beta.public_api %}
13         os-public-hostname: api.{{ opnfv.domain }}
14 {% endif %}
15       to:
16 {% for unit_id in to_select() %}
17         - "lxc:nodes={{ unit_id }}"
18 {% endfor %}