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>
pull/2837/head
Sébastien Han 2018-06-29 11:46:56 +02:00 committed by mergify[bot]
parent 1d454b611f
commit 103c279c21
3 changed files with 15 additions and 0 deletions

View File

@ -559,6 +559,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'] }}"
@ -567,6 +568,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'] }}"
@ -575,6 +577,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'] }}"
@ -583,6 +586,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'] }}"
@ -591,6 +595,7 @@ dummy:
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_pools:
# - "{{ openstack_glance_pool }}"

View File

@ -559,6 +559,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'] }}"
@ -567,6 +568,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'] }}"
@ -575,6 +577,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'] }}"
@ -583,6 +586,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'] }}"
@ -591,6 +595,7 @@ ceph_repository: rhcs
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# application: "rbd"
#openstack_pools:
# - "{{ openstack_glance_pool }}"

View File

@ -551,6 +551,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'] }}"
@ -559,6 +560,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'] }}"
@ -567,6 +569,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'] }}"
@ -575,6 +578,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'] }}"
@ -583,6 +587,7 @@ openstack_gnocchi_pool:
type: 1
erasure_profile: ""
expected_num_objects: ""
application: "rbd"
openstack_pools:
- "{{ openstack_glance_pool }}"