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