Bug 2266256 - [Dashboard][Cephfs] Attach command for kernel mount missing few options
Summary: [Dashboard][Cephfs] Attach command for kernel mount missing few options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 7.1
Assignee: Ivo Almeida
QA Contact: Amarnath
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2267614 2298578 2298579
TreeView+ depends on / blocked
 
Reported: 2024-02-27 11:17 UTC by Amarnath
Modified: 2024-11-16 04:25 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2024-06-13 14:28:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-8387 0 None None None 2024-02-27 11:23:15 UTC
Red Hat Issue Tracker RHCSDASH-1273 0 None None None 2024-02-27 11:23:18 UTC
Red Hat Product Errata RHSA-2024:3925 0 None None None 2024-06-13 14:28:09 UTC

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


Note You need to log in before you can comment on or make changes to this bug.