Bug #54043
closed
nfs module should not require rook mgr module
Added by John Mulligan over 2 years ago.
Updated almost 2 years ago.
Description
This issue originates with a discussion here: https://github.com/ceph/go-ceph/issues/628
Based on my current understanding from the link above and discussions with the Ceph orchestration team the NFS module currently requires the "rook" orchestration mgr module. This situation is undesirable from the POV of the rook team so we may want to break the dependency.
[root@test_ceph_a go-ceph]# ceph nfs export create cephfs --cluster-id bob --pseudo-path /nfs1 --fsname cephfs
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1386, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 397, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/nfs/module.py", line 42, in _cmd_nfs_export_create_cephfs
squash=squash, addr=client_addr)
File "/usr/share/ceph/mgr/nfs/export.py", line 33, in cluster_check
if kwargs['cluster_id'] not in available_clusters(export.mgr):
File "/usr/share/ceph/mgr/nfs/utils.py", line 19, in available_clusters
completion = mgr.describe_service(service_type='nfs')
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1377, in inner
completion = self._oremote(method_name, args, kwargs)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1443, in _oremote
raise NoOrchestrator()
orchestrator._interface.NoOrchestrator: No orchestrator configured (try `ceph orch set backend`)
- Assignee set to John Mulligan
- Status changed from New to In Progress
- Pull request ID set to 44870
- Status changed from In Progress to Pending Backport
- Backport set to pacific,quincy
- Status changed from Pending Backport to Resolved
Also available in: Atom
PDF