From 0f92985608c0f6ff941ea0445ae25eab20e94fb4 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Wed, 21 Aug 2019 12:44:04 +0100 Subject: [PATCH] Temporary override of ceph openstack_keys This will use the correct keys in CI. It will unblock stein as cinder-volume is currently broken becasue of [1]. [1] https://github.com/ceph/ceph-ansible/issues/2296 Change-Id: I85937c733c4dc21b2ed36e9dcefe3e6e8808f77a --- inventory/group_vars/all/ceph.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/inventory/group_vars/all/ceph.yml b/inventory/group_vars/all/ceph.yml index 0d36dd6fc7..7448914881 100644 --- a/inventory/group_vars/all/ceph.yml +++ b/inventory/group_vars/all/ceph.yml @@ -43,3 +43,14 @@ ceph_mons: "{{ groups[mon_group_name] }}" # - name: ceph-rgw-name # ip_addr: x.x.x.x ceph_rgws: [] + +# NOTE(jrosser) temporary overrides, see +# https://github.com/ceph/ceph-ansible/pull/4329 +# https://github.com/ceph/ceph-ansible/issues/2296 +openstack_keys: + - { name: client.glance, caps: { mon: "profile rbd", osd: "allow class-read object_prefix rbd_children, profile rbd pool={{ openstack_glance_pool.name }}"}, mode: "0600" } + - { name: client.cinder, caps: { mon: "profile rbd", osd: "allow class-read object_prefix rbd_children, profile rbd pool={{ openstack_cinder_pool.name }}, profile rbd pool={{ openstack_nova_pool.name }}, profile rbd pool={{ openstack_glance_pool.name }}"}, mode: "0600" } + - { name: client.cinder-backup, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_cinder_backup_pool.name }}"}, mode: "0600" } + - { name: client.gnocchi, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_gnocchi_pool.name }}"}, mode: "0600", } + - { name: client.openstack, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_glance_pool.name }}, profile rbd pool={{ openstack_nova_pool.name }}, profile rbd pool={{ openstack_cinder_pool.name }}, profile rbd pool={{ openstack_cinder_backup_pool.name }}"}, mode: "0600" } +