Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2047571

Summary: [DOC][File System Guide] Invalid option fuse mount fstab entry
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Amarnath <amk>
Component: DocumentationAssignee: Mary Frances Hull <mhull>
Documentation sub component: File System Guide QA Contact: Amarnath <amk>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: unspecified CC: ceph-eng-bugs, ceph-qe-bugs, hyelloji, mhull, pdonnell, vereddy
Version: 5.0Keywords: Documentation
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-05 11:03:19 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:

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