modify the lab definition as per new changes.
[joid.git] / ci / bundle_tpl / mysql.yaml
1     mysql:
2       charm: "local:{{ ubuntu.release }}/percona-cluster"
3       num_units: {{ unit_qty() }}
4       options:
5         innodb-buffer-pool-size: 2G
6         #lp1366997-workaround: true
7         #max-connections: 20000
8         root-password: {{ get_password('mysql_root') }}
9         sst-password: {{ get_password('mysql_sst') }}
10 {% if os.ha.mode == 'ha' %}
11         vip: {{ opnfv.vip.mysql }}
12 {% endif %}
13         min-cluster-size: {{ unit_qty() }}
14       to:
15 {% for unit_id in to_select() %}
16         - "lxc:nodes={{ unit_id }}"
17 {% endfor %}