Project

General

Profile

Actions

Bug #61186

open

mgr/nfs: hitting incomplete command returns same suggestion twice

Added by Dhairya Parmar 12 months ago. Updated 10 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
reef,quincy,pacific
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/nfs
Labels (FS):
NFS-cluster
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

for example

sh-4.4$ ceph nfs export get
no valid command found; 2 closest matches:
nfs export get <cluster_id> <pseudo_path>
nfs export get <cluster_id> <pseudo_path>
Error EINVAL: invalid command

sh-4.4$ ceph nfs export delete
no valid command found; 2 closest matches:
nfs export delete <cluster_id> <pseudo_path>
nfs export delete <cluster_id> <pseudo_path>
Error EINVAL: invalid command

sh-4.4$ ceph nfs cluster config get
no valid command found; 2 closest matches:
nfs cluster config get <cluster_id>
nfs cluster config get <cluster_id>
Error EINVAL: invalid command

sh-4.4$ ceph nfs cluster config set
no valid command found; 2 closest matches:
nfs cluster config set <cluster_id>
nfs cluster config set <cluster_id>
Error EINVAL: invalid command

Haven't tested other operations, so these might not be the only ones.

Actions

Also available in: Atom PDF