Set default application for Ceph Luminous openstack_pools

Luminous can assign application types to pools and ceph-ansible
supports this, provided it is passed an appropriate list of maps.
The list of maps is defined in openstack_pools and this change
updates this variable to contain the correct default application
type.

Includes update to environments/disable-telemetry.yaml so that
the GnocchiRbdPool is not created if telemetry is disabled.

Change-Id: I3966a8a1b170202e020684a36ecece78599296b5
Closes-Bug: #1772743
This commit is contained in:
John Fulton 2018-05-22 20:17:44 +00:00
parent 1eaa019a1f
commit 959cb6c539
2 changed files with 9 additions and 1 deletions

View File

@ -227,6 +227,7 @@ resources:
name: <%pool%>
pg_num: {get_param: CephPoolDefaultPgNum}
rule_name: ""
application: rbd
for_each:
<%pool%>:
list_concat_unique:
@ -234,9 +235,15 @@ resources:
- {get_param: CinderBackupRbdPoolName}
- {get_param: NovaRbdPoolName}
- {get_param: GlanceRbdPoolName}
- {get_param: GnocchiRbdPoolName}
# CinderRbdExtraPools is a list (do not indent further)
- {get_param: CinderRbdExtraPools}
- if:
- equals: [{get_param: GnocchiRbdPoolName}, '']
- []
- - name: {get_param: GnocchiRbdPoolName}
pg_num: {get_param: CephPoolDefaultPgNum}
rule_name: ""
application: openstack_gnocchi
- {get_param: CephPools}
openstack_keys: &openstack_keys
- name:

View File

@ -18,3 +18,4 @@ resource_registry:
parameter_defaults:
NotificationDriver: 'noop'
GnocchiRbdPoolName: ''