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:
parent
bcb94f4b75
commit
d574cfe715
|
@ -49,6 +49,15 @@ resources:
|
||||||
value:
|
value:
|
||||||
vars: {}
|
vars: {}
|
||||||
|
|
||||||
|
CephClientConfigOverrides:
|
||||||
|
type: OS::Heat::Value
|
||||||
|
properties:
|
||||||
|
type: json
|
||||||
|
value:
|
||||||
|
vars:
|
||||||
|
client:
|
||||||
|
rbd_concurrent_management_ops: 20
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
description: Role data for the Ceph Client service.
|
description: Role data for the Ceph Client service.
|
||||||
|
@ -73,6 +82,7 @@ outputs:
|
||||||
- name: set ceph-ansible group vars clients
|
- name: set ceph-ansible group vars clients
|
||||||
set_fact:
|
set_fact:
|
||||||
ceph_ansible_group_vars_clients: {get_attr: [CephClientAnsibleVars, value, vars]}
|
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
|
- name: generate ceph-ansible group vars clients
|
||||||
copy:
|
copy:
|
||||||
dest: "{{playbook_dir}}/ceph-ansible/group_vars/clients.yml"
|
dest: "{{playbook_dir}}/ceph-ansible/group_vars/clients.yml"
|
||||||
|
|
Loading…
Reference in New Issue