Project

General

Profile

Actions

Bug #38997

closed

dashboard: NFS: failed to disable NFSv3 in export create

Added by Ricardo Dias about 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Component - NFS
Target version:
-
% Done:

0%

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

Description

When creating an NFS export in ceph-dashboard, if we unselect the NFSv3 checkbox (selected by default) and then save the export we get the following frontend error message:

Failed to create NFS '_default_:/'
create() got an unexpected keyword argument 'protocolNfsv3'

and in the backend log we get:

2019-03-28 09:22:10.772 7f210ff91700  0 mgr[dashboard] Error while calling Task(ns=nfs/create, md={'path': '/', 'fsal': 'CEPH', 'cluster_id': '_default_'})
Traceback (most recent call last):
  File "/usr/share/ceph/mgr/dashboard/tools.py", line 540, in _run
    val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs)
TypeError: create() got an unexpected keyword argument 'protocolNfsv3'

The json input that is sent in the POST http request is this:

{
  "cluster_id":"_default_",
  "daemons":["node2"],
  "fsal": {
    "name":"CEPH",
    "user_id":"admin",
    "fs_name":"cephfs",
    "sec_label_xattr":null
  },
  "path":"/",
  "protocolNfsv3":false,
  "tag":null,
  "pseudo":"/cephfs",
  "access_type":"RW",
  "squash":"no_root_squash",
  "clients":[],
  "security_label":false,
  "protocols":[4],
  "transports":["TCP","UDP"]
}

Related issues 1 (0 open1 closed)

Copied to mgr - Backport #39104: nautilus: dashboard: NFS: failed to disable NFSv3 in export createResolvedTatjana DehlerActions
Actions #1

Updated by Tiago Melo about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Tiago Melo
Actions #2

Updated by Tiago Melo about 5 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Tiago Melo about 5 years ago

  • Pull request ID set to 27244
Actions #4

Updated by Ricardo Marques about 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Ricardo Marques about 5 years ago

  • Status changed from Resolved to Pending Backport
Actions #6

Updated by Ricardo Marques about 5 years ago

  • Backport set to nautilus
Actions #7

Updated by Ricardo Marques about 5 years ago

  • Copied to Backport #39104: nautilus: dashboard: NFS: failed to disable NFSv3 in export create added
Actions #8

Updated by Tatjana Dehler about 5 years ago

  • Status changed from Pending Backport to Resolved
Actions #9

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 144 to Component - NFS
Actions

Also available in: Atom PDF