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
(cherry picked from commit 40ca173b9d)
This commit is contained in:
Francesco Pantano 2020-10-13 15:37:13 +02:00
parent f9df16fc85
commit f41f220cbb
1 changed files with 10 additions and 0 deletions

View File

@ -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"