Actions
Bug #58228
closedmgr/nfs: disallow non-existent paths when creating export
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:
0%
Source:
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/nfs
Labels (FS):
NFS-cluster
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v18.0.0-3239-g365895fb2d1
Released In:
v19.2.0~2605
Upkeep Timestamp:
2025-07-12T21:08:51+00:00
Description
Right now the path isn't validated, so one can:
# ceph nfs export create cephfs cephfs testnfs /cephfs/d6 /non_existed_dir
{
"bind": "/cephfs/d6",
"fs": "cephfs",
"path": "/non_existed_dir",
"cluster": "testnfs",
"mode": "RW"
}
and the export will be happily created. Mounting the export would fail obviously, however, this can be checked when creating the export and informing the operator.
Updated by Dhairya Parmar over 3 years ago
- Status changed from New to Fix Under Review
Updated by Venky Shankar almost 3 years ago
- Status changed from Fix Under Review to Pending Backport
- Target version changed from v18.0.0 to v19.0.0
- Backport changed from pacific,quincy to reef,quincy,pacific
Updated by Upkeep Bot almost 3 years ago
- Copied to Backport #59250: quincy: mgr/nfs: disallow non-existent paths when creating export added
Updated by Upkeep Bot almost 3 years ago
- Copied to Backport #59251: reef: mgr/nfs: disallow non-existent paths when creating export added
Updated by Upkeep Bot almost 3 years ago
- Copied to Backport #59252: pacific: mgr/nfs: disallow non-existent paths when creating export added
Updated by Venky Shankar almost 3 years ago
Dhairya, please pick up additional commits from https://github.com/ceph/ceph/pull/51005.
Updated by Dhairya Parmar almost 3 years ago
Venky Shankar wrote:
Dhairya, please pick up additional commits from https://github.com/ceph/ceph/pull/51005.
Alright
Updated by Dhairya Parmar almost 3 years ago
Dhairya Parmar wrote:
Venky Shankar wrote:
Dhairya, please pick up additional commits from https://github.com/ceph/ceph/pull/51005.
Alright
Done
Updated by Dhairya Parmar about 1 year ago
- Status changed from Pending Backport to Resolved
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 365895fb2d1164c8b4568649a03ca241dc6866ac
- Fixed In set to v18.0.0-3239-g365895fb2d1
- Released In set to v19.2.0~2605
- Upkeep Timestamp set to 2025-07-12T21:08:51+00:00
Actions