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 1479138

Summary: CephFS: fusermount utility not available to unmount fuse mount.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ramakrishnan Periyasamy <rperiyas>
Component: CephFSAssignee: Patrick Donnelly <pdonnell>
Status: CLOSED ERRATA QA Contact: Ramakrishnan Periyasamy <rperiyas>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: bniver, ceph-eng-bugs, hnallurv, icolle, john.spray, kdreyer, pdonnell, rperiyas
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-12.1.4-2.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:39:05 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 Ramakrishnan Periyasamy 2017-08-08 04:46:05 UTC
Description of problem:

fusermount utility is not available to unmount fuse mount.

ceph-fuse man page has the description about fusermount but utility not available.

command output:
[ubuntu@host01 ~]$ sudo fusermount -u /mnt/cephfs/
sudo: fusermount: command not found

Version-Release number of selected component (if applicable):
ceph: ceph version 12.1.2-1.el7cp (b661348f156f148d764b998b65b90451f096cb27) luminous (rc)
ceph-fuse: ceph-fuse-12.1.2-1.el7cp.x86_64

How reproducible:
2/2

Steps to Reproduce:
[ubuntu@host01 ~]$ sudo fusermount -u /mnt/cephfs/
sudo: fusermount: command not found

Actual results:
utility not available to unmount fuse mount

Expected results:
NA

Additional info:
NA

Comment 2 Ken Dreyer (Red Hat) 2017-08-08 17:21:52 UTC
/usr/bin/fusermount is in the "fuse" RPM package. Looks like ceph-fuse depends on "fuse-libs", not "fuse".

I wonder if the docs should be updated to tell users to mount with "mount" rather than "fusermount"? That's what mounting via /etc/fstab does, right?

Comment 3 Patrick Donnelly 2017-08-08 17:53:29 UTC
Docs in question: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/ceph_file_system_guide_technology_preview/mounting_and_unmounting_ceph_file_systems#unmounting_ceph_file_systems

simple `umount` gets a EPERM on my system while `fusermount -u` works. I believe we will need to add the fuse dependency.

Comment 4 Ken Dreyer (Red Hat) 2017-08-08 17:56:00 UTC
Rachana can you please verify "yum install fuse" allows you to proceed?

Comment 5 Ramakrishnan Periyasamy 2017-08-11 06:12:47 UTC
"yum install fuse" works but it picks package from RHEL repo, after installation "fusermount" utility available.

Comment 6 Patrick Donnelly 2017-08-21 16:54:09 UTC
Ken, how should we proceed on fixing the package dependencies?

Comment 7 Ken Dreyer (Red Hat) 2017-08-21 19:07:51 UTC
I've reviewed the Debian packaging and this has been implemented since the very beginning. We just missed the "Requires: fuse" on the RPM side.

https://github.com/ceph/ceph/pull/17120 adds it.

Comment 11 Ramakrishnan Periyasamy 2017-08-30 05:13:54 UTC
Moving this bug to verified state.

fusermount mount utility available part of ceph-fuse package.

Verified in build: 12.2.0-1.el7cp (b661348f156f148d764b998b65b90451f096cb27) luminous (rc)

Comment 14 errata-xmlrpc 2017-12-05 23:39:05 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, 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/RHBA-2017:3387