Bug 2047571 - [DOC][File System Guide] Invalid option fuse mount fstab entry
Summary: [DOC][File System Guide] Invalid option fuse mount fstab entry
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 5.1
Assignee: Mary Frances Hull
QA Contact: Amarnath
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-28 05:37 UTC by Amarnath
Modified: 2022-04-05 11:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-05 11:03:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3065 0 None None None 2022-01-28 05:39:30 UTC

Description Amarnath 2022-01-28 05:37:45 UTC
Description of problem:
Invalid option fuse mount fstab entry

In Section :3.7. Mounting the Ceph File System as a FUSE client

sub section : Automatically Mounting

point 3.

fourth column says "we can add name and secretfile" 
but it should be ceph.name and ceph.secretfile instead


the user name and the secret file using the name and secretfile options, respectively--->

the user name and the secret file using the ceph.name and ceph.secretfile options, respectively

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2022-01-28 05:37:51 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 5 Amarnath 2022-03-09 18:17:48 UTC
Hi Mary Frances,

sceretfile is not valid option for ceph-fuse
I tried directly mounting using secretfile option with ceph-fuse it is also failing.

[root@ceph-bz-mds-ugmbdz-node7 ceph]# ceph-fuse /mnt/fuse/ -n client.ceph-bz-mds-ugmbdz-node7 --secretfile /etc/ceph/ceph-bz-mds-ugmbdz-node7.secret
2022-03-09T12:28:25.042-0500 7fe38441f200 -1 init, newargv = 0x561f1de89900 newargc=17
fuse: invalid argument `/etc/ceph/ceph-bz-mds-ugmbdz-node7.secret'
ceph-fuse[20661]: fuse failed to initialize
2022-03-09T12:28:25.042-0500 7fe38441f200 -1 fuse_parse_cmdline failed.

Instead of secretfile you can use keyring for specifying the key

[root@ceph-bz-mds-ugmbdz-node7 ceph]# ceph-fuse /mnt/fuse/ -n client.ceph-bz-mds-ugmbdz-node7 --keyring /etc/ceph/ceph.client.ceph-bz-mds-ugmbdz-node7.keyring 
2022-03-09T12:38:25.474-0500 7f007ef57200 -1 init, newargv = 0x55e101962f20 newargc=15
ceph-fuse[20755]: starting ceph client
ceph-fuse[20755]: starting fuse

/etc/fstab entry:
10.0.211.42,10.0.210.131,10.0.208.210    /mnt/fuse/    fuse.ceph    ceph.name=client.ceph-bz-mds-ugmbdz-node7,ceph.keyring=/etc/ceph/ceph.client.ceph-bz-mds-ugmbdz-node7.keyring,_netdev,defaults      0       0



Regards,
Amarnath

Comment 8 Amarnath 2022-03-10 11:06:32 UTC
Hi Mary Frances,

Documentation looks fine and works fine with options specified 

Regards,
Amarnath


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