ceph-defaults: add default application to pool

We now add a default 'rbd' application type to each pool we create. This
will remove the warning: "  application not enabled on N pool(s) "

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1590275
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 103c279c21)
pull/2840/head v3.1.0rc10
Sébastien Han 2018-06-29 11:46:56 +02:00 committed by mergify[bot]
parent d6f265f51d
commit ceded7e2c1
3 changed files with 15 additions and 0 deletions

View File

@ -552,6 +552,7 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_cinder_pool:
# name: "volumes"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -560,6 +561,7 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_nova_pool:
# name: "vms"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -568,6 +570,7 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_cinder_backup_pool:
# name: "backups"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -576,6 +579,7 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_gnocchi_pool:
# name: "metrics"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -584,6 +588,7 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_pools:
# - "{{ openstack_glance_pool }}"

View File

@ -552,6 +552,7 @@ ceph_repository: rhcs
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_cinder_pool:
# name: "volumes"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -560,6 +561,7 @@ ceph_repository: rhcs
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_nova_pool:
# name: "vms"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -568,6 +570,7 @@ ceph_repository: rhcs
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_cinder_backup_pool:
# name: "backups"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -576,6 +579,7 @@ ceph_repository: rhcs
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_gnocchi_pool:
# name: "metrics"
# pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -584,6 +588,7 @@ ceph_repository: rhcs
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_pools:
# - "{{ openstack_glance_pool }}"

View File

@ -545,6 +545,7 @@ openstack_glance_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "rbd"
openstack_cinder_pool:
name: "volumes"
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -553,6 +554,7 @@ openstack_cinder_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "rbd"
openstack_nova_pool:
name: "vms"
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -561,6 +563,7 @@ openstack_nova_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "rbd"
openstack_cinder_backup_pool:
name: "backups"
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -569,6 +572,7 @@ openstack_cinder_backup_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "rbd"
openstack_gnocchi_pool:
name: "metrics"
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -577,6 +581,7 @@ openstack_gnocchi_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "rbd"
openstack_pools:
- "{{ openstack_glance_pool }}"