Bug 2266256

Summary: [Dashboard][Cephfs] Attach command for kernel mount missing few options
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: high    
Version: 7.1CC: akraj, anbehl, ceph-eng-bugs, cephqe-warriors, ialmeida, pegonzal, tserlin
Target Milestone: ---   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.1-55.el9cp Doc Type: Bug Fix
Doc Text:
.Missing options are added in the kernel mount command Previously, a few options were missing in the kernel mount command for attaching the filesystem causing the command to not work as intended. With this fix, the missing options are added and the kernel mount command works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-13 14:28:04 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-02-27 11:17:53 UTC
Created attachment 2019113 [details]
Screenshot

Description of problem:

Attach option is giving the sample mount command for attaching the filesystem.

We are missing few things in kernel mount command

Command displayed : 
sudo <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY>

[root@ceph-amk-test-fs-b9awz0-node7 /]# mkdir /mnt/kernel_mount_ec
[root@ceph-amk-test-fs-b9awz0-node7 /]# sudo admin=/ /mnt/kernel_mount_ec/
sudo: /mnt/kernel_mount_ec/: command not found

Command which is working 

[root@ceph-amk-test-fs-b9awz0-node7 /]# sudo mount -t ceph admin=/ /mnt/kernel_mount_ec/
[root@ceph-amk-test-fs-b9awz0-node7 /]# ls -lrt /mnt/kernel_mount_ec/


sudo <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY> -->
 sudo mount -t ceph <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY>



Version-Release number of selected component (if applicable):
18.2.1-38.el9cp

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2024-02-27 11:18:07 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 7 Amarnath 2024-03-13 04:55:03 UTC
Hi All,

The kernel mount command looks good and works fine.

[root@ceph-amk-spec-fs-nj55bw-node7 ~]# mkdir /mnt/ec_mnt
[root@ceph-amk-spec-fs-nj55bw-node7 ~]# mount -t ceph admin=/volumes/subvol_group_1/subvol_1/94be414b-efae-4a43-ab7b-e60ae1b34721 /mnt/ec_mnt

[root@ceph-amk-spec-fs-nj55bw-node7 ~]# cd /mnt/ec_mnt
[root@ceph-amk-spec-fs-nj55bw-node7 ec_mnt]# ls -lrt
total 0
[root@ceph-amk-spec-fs-nj55bw-node7 ec_mnt]# mkdir test
[root@ceph-amk-spec-fs-nj55bw-node7 ec_mnt]# 

regards,
Amarnath

Comment 11 errata-xmlrpc 2024-06-13 14:28:04 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

Comment 12 Red Hat Bugzilla 2024-11-16 04:25:24 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days