tripleo-heat-templates/deployment/cinder
Alan Bishop bc39ac89d2 Fix cinder's cephx keyring file permissions
This patch updates cinder's kolla permissions so that cinder can
access any cephx keyring associated with CephExternalMultiConfig
ceph clusters. The new approach parses the cluster names out of the
CephExternalMultiConfig array, and uses a wildcard to grant access
to all keys (regardless of the key name) defined for each cluster.
There is no risk of the wildcard granting improper access to a
privileged key (e.g. the admin key), because CephExternalMultiConfig
doesn't include privileged keys.

This patch replaces similar (but more restrictive) code added in
I73af5b868de629870a35d38f8436e7025aae791e. That patch allowed cinder
to access cephx keyrings associated with a new CinderRbdMultiConfig
parameter, but it didn't cover all potential use cases. For example,
in a DCN/Edge deployment, cinder services running at the edge need
access to the central site's client key in order to perform operations
like offline volume migration.

NOTE (pre-Wallaby):
The >= Wallaby versions of this patch tweaks code that was introduced
in Wallaby by I73af5b868de629870a35d38f8436e7025aae791e. Pre-Wallaby
versions of this patch _adds_ the tweaked code.

Closes-Bug: #1930620
Resolves: rhbz#1962304
Change-Id: I4423fcbd62b09ef323590fc740dd29e1a17777f5
(cherry picked from commit f1cd8006fe)
(cherry picked from commit 74e3884b4a)
Conflicts:
	deployment/cinder/cinder-common-container-puppet.yaml
2021-06-09 14:14:56 -07:00
..
cinder-api-container-puppet.yaml Support configuring cinder's RPC and WSGI timeouts 2021-03-07 19:07:24 -08:00
cinder-backend-dellemc-powerflex-puppet.yaml [PowerFlex/VxFlex OS] Fix typos in templates 2020-09-21 13:59:54 -05:00
cinder-backend-dellemc-powermax-puppet.yaml Fixing powermax config errors 2020-04-30 17:36:14 -05:00
cinder-backend-dellemc-powerstore-puppet.yaml Support for PowerStore Cinder Backend 2020-07-29 16:52:08 -05:00
cinder-backend-dellemc-sc-puppet.yaml Support for SC Cinder Backend 2020-05-01 10:33:32 -05:00
cinder-backend-dellemc-unity-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-dellemc-vmax-iscsi-puppet.yaml Deprecating VMax Volume Config 2020-04-01 10:55:18 -05:00
cinder-backend-dellemc-vnx-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-dellemc-xtremio-iscsi-puppet.yaml Deprecating Old Dell EMC Xtremio Iscsi Volume Config 2020-04-24 16:24:34 -05:00
cinder-backend-dellemc-xtremio-puppet.yaml Support for Xtremio Cinder Backend 2020-05-01 10:22:12 -05:00
cinder-backend-dellsc-puppet.yaml Deprecating Old Dell SC Iscsi Volume Config 2020-04-24 16:26:13 -05:00
cinder-backend-netapp-puppet.yaml Use container_file_t for Cinder*NfsMountOptions by default 2020-08-26 13:04:10 +02:00
cinder-backend-nvmeof-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-pure-puppet.yaml Support deploying multiple Cinder Pure Storage backends 2019-09-13 07:36:42 -07:00
cinder-backend-veritas-hyperscale-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backup-container-puppet.yaml Unify cinder's volume and backup kolla_config settings 2021-06-02 11:58:26 -07:00
cinder-backup-pacemaker-puppet.yaml Unify cinder's volume and backup kolla_config settings 2021-06-02 11:58:26 -07:00
cinder-base.yaml Support configuring cinder's RPC and WSGI timeouts 2021-03-07 19:07:24 -08:00
cinder-common-container-puppet.yaml Fix cinder's cephx keyring file permissions 2021-06-09 14:14:56 -07:00
cinder-hpelefthand-iscsi-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-scheduler-container-puppet.yaml Revamp how etcd's cert and key are handled in containers 2020-07-29 10:26:09 -07:00
cinder-volume-container-puppet.yaml Unify cinder's volume and backup kolla_config settings 2021-06-02 11:58:26 -07:00
cinder-volume-pacemaker-puppet.yaml Unify cinder's volume and backup kolla_config settings 2021-06-02 11:58:26 -07:00