Browse Source

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
changes/62/792862/2
Giulio Fidente 2 months ago
parent
commit
31f4a9153e
  1. 6
      tripleo_ansible/roles/tripleo_ceph_client/templates/ceph_conf.j2

6
tripleo_ansible/roles/tripleo_ceph_client/templates/ceph_conf.j2

@ -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 %}
Loading…
Cancel
Save