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
This commit is contained in:
Jonathan Rosser 2019-08-21 12:44:04 +01:00
parent 279ee65474
commit 0f92985608

View File

@ -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" }