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
(cherry picked from commit 959cb6c539)
This commit is contained in:
John Fulton 2018-05-22 20:17:44 +00:00
parent 700cd7c4b0
commit e491cbdbaa
2 changed files with 9 additions and 1 deletions

View File

@ -246,6 +246,7 @@ outputs:
name: <%pool%>
pg_num: {get_param: CephPoolDefaultPgNum}
rule_name: ""
application: rbd
for_each:
<%pool%>:
list_concat_unique:
@ -253,9 +254,15 @@ outputs:
- {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: ''