Actions
Bug #47397
closedmgr/dashboard: error when creating an NFS export with CephFS path `/`
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - NFS
Target version:
% Done:
0%
Source:
Tags:
Backport:
octopus
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
There is an error when submitting an NFS export by specifying "/" in the path.
Backend log:
2020-09-11T07:34:29.435+0000 7f02210d3700 0 [dashboard ERROR taskexec] Error while calling Task(ns=nfs/create, md={'path': '/', 'fsal': 'CEPH', 'cluster_id': 'bar'}) Traceback (most recent call last): File "/ceph/src/pybind/mgr/dashboard/tools.py", line 553, in _run val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs) # type: ignore File "/ceph/src/pybind/mgr/dashboard/controllers/nfsganesha.py", line 140, in create ex_id = ganesha_conf.create_export({ File "/ceph/src/pybind/mgr/dashboard/services/ganesha.py", line 971, in create_export self._save_export(export) File "/ceph/src/pybind/mgr/dashboard/services/ganesha.py", line 951, in _save_export export.fsal.create_path(export.path) File "/ceph/src/pybind/mgr/dashboard/services/ganesha.py", line 490, in create_path cfs.mk_dirs(path) File "/ceph/src/pybind/mgr/dashboard/services/cephfs.py", line 147, in mk_dirs raise Exception('Cannot create root directory "/"')
Files
Updated by Kiefer Chang over 3 years ago
- Backport changed from octopus,nautilus to octopus
- Affected Versions deleted (
v14.2.9)
Updated by Kiefer Chang over 3 years ago
- Status changed from New to In Progress
- Assignee set to Kiefer Chang
- Regression changed from No to Yes
Updated by Kiefer Chang over 3 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 37154
Updated by Tatjana Dehler over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Tatjana Dehler over 3 years ago
- Copied to Backport #47832: octopus: mgr/dashboard: error when creating an NFS export with CephFS path `/` added
Updated by Lenz Grimmer over 3 years ago
- Status changed from Pending Backport to Resolved
- Target version set to v16.0.0
Updated by Ernesto Puerta about 3 years ago
- Has duplicate Bug #47837: ERROR: test_create_export_for_cephfs_root (tasks.mgr.dashboard.test_ganesha.GaneshaTest) added
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 144 to Component - NFS
Actions