Hello.

I setup manila with cephfs driver-CephFS NFS shares and I use NFS-Ganesha based “ceph nfs” service.

This is my configuration:

[DEFAULT]
debug = true
enabled_share_protocols = NFS,CIFS,CEPHFS
[cephfsnfs1]
driver_handles_share_servers = False
share_backend_name = CEPHFSNFS1
share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
cephfs_protocol_helper_type = NFS
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_auth_id = manila
cephfs_cluster_name = az1
cephfs_filesystem_name = cephfs

I can create a share but cannot set access rule for it and I encountered this error in manila-share.log:

2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python3.10/site-packages/manila/share/drivers/ganesha/manager.py", line 472, in add_export
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server     self._dbus_send_ganesha("AddExport", "string:" + path,
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python3.10/site-packages/manila/share/drivers/ganesha/manager.py", line 410, in _dbus_send_ganesha
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server     self.execute("dbus-send", "--print-reply", "--system",
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python3.10/site-packages/manila/share/drivers/ganesha/manager.py", line 240, in _execute
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server     raise exception.GaneshaCommandFailure(
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server manila.exception.GaneshaCommandFailure: Ganesha management command failed.
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server Command: sudo manila-rootwrap /etc/manila/rootwrap.conf dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:/etc/ganesha/export.d/share-5d49f7c6-27a0-43c3-931d-56486b8f3d51.conf string:EXPORT(Export_Id=106)
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server Exit code: 96
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server Stdout: ''
2025-01-25 22:00:11.895 774 ERROR oslo_messaging.rpc.server Stderr: '/var/lib/kolla/venv/bin/manila-rootwrap: Executable not found: dbus-send (filter match = dbus-addexport)\n'

One more thing, when I run openstack share export location list myshare I see

lab-control01:/volumes/_nogroup/5d49f7c6-27a0-43c3-931d-56486b8f3d51/fb094ad8-9200-4c93-b800-304178f51136

lab-control01 is my openstack controller, is it right because nfs service is on ceph cluster.

Thank you.

Nguyen Huu Khoi