Ensures mount uid/git for Manila keyring are correctly set

Like we used to do when configuring Ganesha via puppet [1] this
change is making the new tripleo_ceph_client role set the Manila
keyring mount uid/gid so that Ganesha can correctly map root
permissions from CephFS to NFS.

1. https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/base/manila/share.pp#L145-L147

Closes-Bug: 1894374
Change-Id: I86b1b75c9d807356e9a1f1901bc7e8856f0c0961
This commit is contained in:
Giulio Fidente 2021-05-25 00:48:58 +02:00
parent b2bfda4658
commit 31f4a9153e
1 changed files with 6 additions and 0 deletions

View File

@ -40,3 +40,9 @@ mon host = {% if tripleo_ceph_client_mon_ips is defined and tripleo_ceph_client_
[client.libvirt]
admin socket = {{ tripleo_ceph_client_rbd_admin_socket_path }}/$cluster-$type.$id.$pid.$cctid.asok
log file = {{ tripleo_ceph_client_rbd_log_file }}
{% if tripleo_cephadm_ceph_nfs_ceph_user is defined %}
[client.{{ tripleo_cephadm_ceph_nfs_ceph_user }}]
client mount uid = 0
client mount gid = 0
{% endif %}