175c67e4014779230af417c578855b58811ee790
[joid.git] / ci / config_tpl / bundle_tpl / cinder.yaml
1     cinder:
2       charm: "local:{{ ubuntu.release }}/cinder"
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.cinder }}
11 {% endif %}
12 {% if os.beta.public_api %}
13         os-public-hostname: api.{{ opnfv.domain }}
14 {% endif %}
15         block-device: None
16         glance-api-version: 2
17       to:
18 {% for unit_id in to_select() %}
19         - "lxc:nodes={{ unit_id }}"
20 {% endfor %}