Project

General

Profile

Actions

Bug #47968

closed

CephFS - Feature #47587: pybind/mgr/nfs: add Rook support

rook: 'ceph orch rm' throws type error

Added by Varsha Rao over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
mgr/rook
Target version:
% Done:

0%

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

Description

$ kubectl get pods -n rook-ceph
NAME                                            READY   STATUS      RESTARTS   AGE
csi-cephfsplugin-ctpft                          3/3     Running     0          8m6s
csi-cephfsplugin-provisioner-859c666579-nsd7s   6/6     Running     1          8m6s
csi-rbdplugin-provisioner-7c6d5c76cd-sjtmq      6/6     Running     0          8m7s
csi-rbdplugin-wwv9q                             3/3     Running     0          8m7s
rook-ceph-mds-myfs-a-749b84c8bb-lp4mt           1/1     Running     0          13s
rook-ceph-mds-myfs-b-76fd4bbcd6-5v9pb           0/1     Pending     0          12s
rook-ceph-mgr-a-59d76bbdd7-gcrcx                1/1     Running     0          7m46s
rook-ceph-mon-a-575cc49d47-fxwnj                1/1     Running     0          8m51s
rook-ceph-nfs-mynfs-a-6b8dd4d769-d6zhh          2/2     Running     0          4m32s
rook-ceph-nfs-mynfs-b-595799f655-8748l          2/2     Running     0          4m20s
rook-ceph-operator-86756d44-5dsqm               1/1     Running     0          9m53s
rook-ceph-osd-0-56f55846bf-vkcgs                1/1     Running     0          6m35s
rook-ceph-osd-prepare-minikube-spvvn            0/1     Completed   0          7m44s
rook-ceph-tools-78cdfd976c-bj448                1/1     Running     0          7m2s
rook-discover-lzx44                             1/1     Running     0          9m50s

[root@rook-ceph-tools-78cdfd976c-nmfx2 /]# ceph orch rm mynfs
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1195, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 141, in handle_command
    return dispatch[cmd['prefix']].call(self, cmd, inbuf)
  File "/usr/share/ceph/mgr/mgr_module.py", line 332, in call
    return self.func(mgr, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 103, in <lambda>
    wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 92, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator/module.py", line 1044, in _service_rm
    completion = self.remove_service(service_name)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1630, in inner
    completion = self._oremote(method_name, args, kwargs)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1701, in _oremote
    return mgr.remote(o, meth, *args, **kwargs)
  File "/usr/share/ceph/mgr/mgr_module.py", line 1558, in remote
    args, kwargs)
RuntimeError: Remote method threw exception: TypeError: remove_service() missing 1 required positional argument: 'service_name'
Actions #1

Updated by Varsha Rao over 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Varsha Rao
Actions #2

Updated by Varsha Rao over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 38704
Actions #3

Updated by Sebastian Wagner over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Sebastian Wagner almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF