Browse Source

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
changes/65/757865/2
Francesco Pantano 8 months ago
parent
commit
40ca173b9d
No known key found for this signature in database GPG Key ID: 799868C47301D458
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      deployment/ceph-ansible/ceph-client.yaml

+ 10
- 0
deployment/ceph-ansible/ceph-client.yaml 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"


Loading…
Cancel
Save