Bug 1479138 - CephFS: fusermount utility not available to unmount fuse mount.
Summary: CephFS: fusermount utility not available to unmount fuse mount.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 3.0
Assignee: Patrick Donnelly
QA Contact: Ramakrishnan Periyasamy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-08 04:46 UTC by Ramakrishnan Periyasamy
Modified: 2018-06-13 20:36 UTC (History)
8 users (show)

Fixed In Version: ceph-12.1.4-2.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:39:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 21057 0 None None None 2017-08-21 19:07:50 UTC
Red Hat Bugzilla 1585700 0 low CLOSED [CephFS] fusermount utility not available to unmount fuse mount 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Internal Links: 1585700

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


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