blob: 396153cfab19cc4ffd655ebd9a2bcb342ac017c0 [file] [log] [blame]
Hanna Arhipovaae1ae6e2020-03-02 19:07:41 +02001
2{%- macro MACRO_SET_SALTAPI_TIMEOUT() %}
3{######################################}
4- description: |
5 Set nginx_proxy_salt_api to 1800. RelatedProd:PROD-34798
6 #TODO Remove after released 2019.2.8
7 cmd: |
Hanna Arhipovab216c2f2020-03-03 07:47:06 +02008 set -e;
9 set -x;
10 . /root/venv-reclass-tools/bin/activate;
Hanna Arhipovaae1ae6e2020-03-02 19:07:41 +020011 reclass-tools add-key parameters.nginx.server.site.nginx_proxy_salt_api.proxy.timeout 1800 /srv/salt/reclass/classes/cluster/{{ LAB_CONFIG_NAME }}/infra/config/init.yml
12 node_name: {{ HOSTNAME_CFG01 }}
13 retry: {count: 1, delay: 1}
14 skip_fail: false
Hanna Arhipovaaad914c2020-04-13 17:10:20 +030015{%- endmacro %}
16
17{%- macro MACRO_CEPH_SET_PGNUM() %}
18{######################################}
19- description: |
20 Set greater pg_num/pgp_num for gnocchi pool in Ceph. RelatedProd:PROD-34833
21
22 cmd: |
23 set -e;
24 set -x;
25 . /root/venv-reclass-tools/bin/activate;
26 reclass-tools add-key parameters.ceph.setup.pool.gnocchi.pg_num 32 /srv/salt/reclass/classes/cluster/{{ LAB_CONFIG_NAME }}/ceph/setup.yml
27 reclass-tools add-key parameters.ceph.setup.pool.gnocchi.pgp_num 32 /srv/salt/reclass/classes/cluster/{{ LAB_CONFIG_NAME }}/ceph/setup.yml
28 node_name: {{ HOSTNAME_CFG01 }}
29 retry: {count: 1, delay: 1}
30 skip_fail: false
Hanna Arhipovaae1ae6e2020-03-02 19:07:41 +020031{%- endmacro %}