Project

General

Profile

Actions

Bug #54043

closed

nfs module should not require rook mgr module

Added by John Mulligan about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by John Mulligan about 2 years ago

[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`)
Actions #2

Updated by John Mulligan about 2 years ago

  • Assignee set to John Mulligan
Actions #3

Updated by John Mulligan about 2 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 44870
Actions #4

Updated by John Mulligan about 2 years ago

  • Status changed from In Progress to Pending Backport
  • Backport set to pacific,quincy
Actions #5

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF