From 40ca173b9d2cc330172fbae36a66620040f73571 Mon Sep 17 00:00:00 2001 From: Francesco Pantano Date: Tue, 13 Oct 2020 15:37:13 +0200 Subject: [PATCH] Add CephClientConfigOverrides resource This patch adds a new resource for the CephClient service that specifies a set of default configs wanted by default in the [client] section of ceph.conf. Depends-On: Ia12466623322e2a6149cd98a90a6ce3e4e4a52e4 Change-Id: I1b12683c36bad3845f48a8f8f15b283f7defe801 --- deployment/ceph-ansible/ceph-client.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deployment/ceph-ansible/ceph-client.yaml b/deployment/ceph-ansible/ceph-client.yaml index 45e20b24ec..48db62f364 100644 --- a/deployment/ceph-ansible/ceph-client.yaml +++ b/deployment/ceph-ansible/ceph-client.yaml @@ -49,6 +49,15 @@ resources: value: vars: {} + CephClientConfigOverrides: + type: OS::Heat::Value + properties: + type: json + value: + vars: + client: + rbd_concurrent_management_ops: 20 + outputs: role_data: description: Role data for the Ceph Client service. @@ -73,6 +82,7 @@ outputs: - name: set ceph-ansible group vars clients set_fact: ceph_ansible_group_vars_clients: {get_attr: [CephClientAnsibleVars, value, vars]} + ceph_client_config_overrides: {get_attr: [CephClientConfigOverrides, value, vars]} - name: generate ceph-ansible group vars clients copy: dest: "{{playbook_dir}}/ceph-ansible/group_vars/clients.yml"