Bug 2269321

Summary: [Dashboard][Cephfs] nfs mount command in attach dailog need syntax modification
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Amarnath <amk>
Component: Ceph-DashboardAssignee: Ivo Almeida <ialmeida>
Status: CLOSED ERRATA QA Contact: Amarnath <amk>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: medium    
Version: 7.1CC: aasharma, akraj, amaredia, ceph-eng-bugs, cephqe-warriors, jcaratza, ngangadh, nia, tserlin
Target Milestone: ---   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.1-110.el9cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-13 14:29:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2267614, 2298578, 2298579    

Description Amarnath 2024-03-13 05:36:38 UTC
Created attachment 2021390 [details]
nfs_mount_cmd

Description of problem:
[Dashboard][Cephfs] nfs mount command in attach dailog need syntax modification

Currently it displays :
sudo mount -t nfs -o port=<PORT> <IP of active_mds daemon>:/ <MOUNT_DIRECTORY>

This should be 

sudo mount -t nfs -o port=<PORT> <IP of active_nfs daemon>:<export_name> <MOUNT_DIRECTORY>

if you want to include export creation then you can add
ceph nfs export create cephfs NFS_CLUSTER_NAME BINDING FILE_SYSTEM_NAME [--readonly] [--path=PATH_WITHIN_FILESYSTEM]

ceph nfs export create cephfs nfs-cephfs /ceph cephfs01 --path=/

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 8 errata-xmlrpc 2024-06-13 14:29:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:3925