In order to enable NFS via Ganesha, you will need either an RGW or a
CephFS. Within the context of a Ceph deployment, Ganesha cannot export
anything it's own, it just exports either RGW or CephFS.
Daniel
On 4/5/21 1:43 PM, Robert Sander wrote:
Hi,
I have a test cluster now running on Pacific with the cephadm
orchestrator and upstream container images.
In the Dashboard on the services tab I created a new service for NFS.
The containers got deployed.
But when I go to the NFS tab and try to create a new NFS share the
Dashboard only returns a 500 error:
Apr 05 19:38:49 ceph01 bash[35064]: debug 2021-04-05T17:38:49.146+0000 7f64468d1700 0 [dashboard ERROR exception] Internal Server Error
Apr 05 19:38:49 ceph01 bash[35064]: Traceback (most recent call last):
Apr 05 19:38:49 ceph01 bash[35064]: File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 46, in dashboard_exception_handler
Apr 05 19:38:49 ceph01 bash[35064]: return handler(*args, **kwargs)
Apr 05 19:38:49 ceph01 bash[35064]: File "/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
Apr 05 19:38:49 ceph01 bash[35064]: return self.callable(*self.args, **self.kwargs)
Apr 05 19:38:49 ceph01 bash[35064]: File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 694, in inner
Apr 05 19:38:49 ceph01 bash[35064]: ret = func(*args, **kwargs)
Apr 05 19:38:49 ceph01 bash[35064]: File "/usr/share/ceph/mgr/dashboard/controllers/nfsganesha.py", line 265, in fsals
Apr 05 19:38:49 ceph01 bash[35064]: return Ganesha.fsals_available()
Apr 05 19:38:49 ceph01 bash[35064]: File "/usr/share/ceph/mgr/dashboard/services/ganesha.py", line 154, in fsals_available
Apr 05 19:38:49 ceph01 bash[35064]: if RgwClient.admin_instance().is_service_online() and \
Apr 05 19:38:49 ceph01 bash[35064]: File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 301, in admin_instance
Apr 05 19:38:49 ceph01 bash[35064]: return RgwClient.instance(daemon_name=daemon_name)
Apr 05 19:38:49 ceph01 bash[35064]: File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 241, in instance
Apr 05 19:38:49 ceph01 bash[35064]: RgwClient._daemons = _get_daemons()
Apr 05 19:38:49 ceph01 bash[35064]: File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 53, in _get_daemons
Apr 05 19:38:49 ceph01 bash[35064]: raise NoRgwDaemonsException
Apr 05 19:38:49 ceph01 bash[35064]: dashboard.services.rgw_client.NoRgwDaemonsException: No RGW service is running.
Apr 05 19:38:49 ceph01 bash[35064]: debug 2021-04-05T17:38:49.150+0000 7f64468d1700 0 [dashboard ERROR request] [::ffff:10.0.44.42:39898] [GET] [500] [0.030s] [admin] [513.0B] /ui-api/nfs-ganesha/fsals
Apr 05 19:38:49 ceph01 bash[35064]: debug 2021-04-05T17:38:49.150+0000 7f64468d1700 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "e89b8519-352f-4e44-a364-6e6faf9dc533"} ']
I have no radosgateways in that cluster (currently). There are the pools
for radosgw (.rgw.root etc) but no running instance.
Regards
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx