Luminous can assign application types to pools [1] and ceph-ansible supports this [2] provided you pass it a list of maps like the following: openstack_pools: - {name: images, pg_num: 32, rule_name: '', application: 'rbd'} - {name: metrics, pg_num: 32, rule_name: '', application: 'openstack_gnocchi'} - {name: backups, pg_num: 32, rule_name: '', application: 'rbd'} - {name: vms, pg_num: 32, rule_name: '', application: 'rbd'} - {name: volumes, pg_num: 32, rule_name: '', application: 'rbd'} TripleO supports passing a structure like the above by allowing the user to directly override the openstack_pools value as above. However starting with Queens, which supports Luminous, it should default to passing something like the above. This includes passing application type "rbd" by default for OpenStack pools with the exception of the metrics pool, which should be of application type "openstack_gnocchi". [1] http://docs.ceph.com/docs/luminous/rados/operations/pools/#associate-pool-to-application [2] https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-mon/tasks/openstack_config.yml#L35
Master change has merged but I need this backported to queens before I can mark post. https://review.openstack.org/#/c/571196/
*** Bug 1598046 has been marked as a duplicate of this bug. ***
How to reproduce: Deploy the overcloud and SSH into one of the monitors and run `ceph osd dump | grep pool`. The bug is fixed if you see an application tag listed for each pool. In the example below, you see that each pool has "rbd" after "application" with the exception of metrics which has the application tag "openstack_gnocchi". # ceph osd dump | grep pool pool 1 'images' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 2048 pgp_num 2048 last_change 1120 lfor 0/1118 flags hashpspool stripe_width 0 application rbd pool 2 'metrics' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 1024 pgp_num 1024 last_change 148 flags hashpspool stripe_width 0 application openstack_gnocchi pool 3 'backups' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 1024 pgp_num 1024 last_change 131 flags hashpspool stripe_width 0 pool 4 'vms' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 4096 pgp_num 4096 last_change 1129 lfor 0/1127 flags hashpspool stripe_width 0 application rbd pool 5 'volumes' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 61741 pgp_num 61741 last_change 1175 lfor 0/1173 flags hashpspool stripe_width 0 application rbd (overcloud) root@overcloud-controller-0:~ #
deployed on sealusa18 using IR, core_puddle=2018-08-07.5 (undercloud) [stack@undercloud-0 ~]$ rpm -aq| grep ceph-ansibl ceph-ansible-3.1.0-0.1.rc10.el7cp.noarch resaut as expected on controller: Last login: Thu Aug 9 18:19:19 2018 from 192.168.24.1 [heat-admin@controller-0 ~]$ ceph osd dump | grep pool pool 1 'images' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 last_change 13 flags hashpspool stripe_width 0 expected_num_objects 1 application rbd pool 2 'metrics' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 last_change 14 flags hashpspool stripe_width 0 expected_num_objects 1 application openstack_gnocchi pool 3 'backups' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 last_change 15 flags hashpspool stripe_width 0 expected_num_objects 1 application rbd pool 4 'vms' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 last_change 16 flags hashpspool stripe_width 0 expected_num_objects 1 application rbd pool 5 'volumes' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 last_change 17 flags hashpspool stripe_width 0 expected_num_objects 1 application rbd
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible. If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-". To add draft documentation text: * Select the documentation type from the "Doc Type" drop down field. * A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2574
*** Bug 1626647 has been marked as a duplicate of this bug. ***