Bug 928327

Summary: On RHS clients machines, installing glusterfs-fuse package does not install fuse package automatically
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Lalatendu Mohanty <lmohanty>
Component: fuseAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED WORKSFORME QA Contact: Sudhir D <sdharane>
Severity: low Docs Contact:
Priority: medium    
Version: 2.0CC: aavati, csaba, lmohanty, ndevos, rhs-bugs
Target Milestone: ---Keywords: EasyFix, Patch
Target Release: ---Flags: lmohanty: needinfo+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 947830 (view as bug list) Environment:
Last Closed: 2013-05-15 07:34:56 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:
Bug Depends On: 947830    
Bug Blocks:    

Description Lalatendu Mohanty 2013-03-27 12:37:53 UTC
Description of problem:
On a freshly installed RHEL 6.3 and 5.9 server machines when subscribed to "rhel-x86_64-server-rhsclient-6/rhel-x86_64-server-rhsclient-5" channel, installing glusterfs-fuse does not install fuse rpm. So doing a fuse mount for a gluster volume fails as expected and after installing fuse explicitly, fuse mount is successful.  

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


How reproducible:

always

Steps to Reproduce:

1. Get a freshly installed RHEL 6.3 or 5.9 servers.
2.Register it to respective base channel for all available updates
3.Subscribe to rhel-x86_64-server-rhsclient-6/rhel-x86_64-server-rhsclient-5
    For RHEL 6: rhn-channel --add --channel=rhel-x86_64-server-rhsclient-6 -u <user name> -p <password>
    For RHEL 5 : rhn-channel --add --channel=rhel-x86_64-server-rhsclient-5 -u <user name> -p <password>
4. Check if fuse is installed.
5. do "yum install glusterfs glusterfs-fuse"
   Notice that the baove command does not install fuse.
6. try to mount (fuse mount) a gluster fs volume and it will fail as fuse is not there
 e.g.:mount.glusterfs 10.70.37.54:<volume> /mnt/gluster-volume-fuse/
Mount failed. Please check the log file for more details

7. check that the fuse package is not installed 
"  rpm -qa fuse  " command will not give any result.

Actual results:


Expected results:

when we install glusterfs-fuse package, it should install fuse package also as it is dependent on fuse.

Additional info:

Comment 2 Niels de Vos 2013-04-03 11:43:05 UTC
Checked with the latest release:

[root@rhs-1 ~]# rpm -q glusterfs-fuse 
glusterfs-fuse-3.3.0.7rhs-1.el6rhs.x86_64
[root@rhs-1 ~]# rpm -q --requires glusterfs-fuse | grep fuse
fuse.so.0()(64bit)  
[root@rhs-1 ~]# rpm -q --provides glusterfs-fuse | grep fuse
fuse.so.0()(64bit)  
glusterfs-fuse = 3.3.0.7rhs-1.el6rhs
glusterfs-fuse(x86-64) = 3.3.0.7rhs-1.el6rhs
[root@rhs-1 ~]# rpm -q --provides fuse 
config(fuse) = 2.8.3-4.el6
fuse = 2.8.3-4.el6
fuse(x86-64) = 2.8.3-4.el6


Additional tests show that the 'fuse' package can be uninstalled without issue:

[root@rhs-1 ~]# rpm --test -e fuse && echo "fuse is not required"
fuse is not required
[root@rhs-1 ~]# rpm --test -e glusterfs-server && echo "fuse is not required"
error: Failed dependencies:
	glusterfs-server is needed by (installed) vdsm-gluster-4.9.6-20.el6rhs.noarch


The fuse.so from glusterfs-fuse will try to call /usr/bin/fusermount. This
obviously fails when the fuse package is not installed and fusermount is not
available.

Comment 5 Niels de Vos 2013-04-16 10:38:27 UTC
This needs verification. Upstream does not require the fuse package to be installed. We'll need to check why/if this is different on RHS.

Comment 6 Niels de Vos 2013-04-16 16:11:03 UTC
Hello Lalatendu,

I am not able to reproduce a problem with mounting when I remove the fuse package
from an installed RHS-2.0 (glusterfs-3.3.0-22.el6rhs) system.

Could you provide the logs where the mounting failed? Also, I would be interested
if you can execute the glusterfs command by hand, and let us know if that works
correctly.

Comment 7 Lalatendu Mohanty 2013-05-14 15:08:44 UTC
I tried to reproduce this with a RHEL 6.4 server. But couldn't reproduce it. I running RHS Anshi  i.e.
glusterfs --version
glusterfs 3.3.0.7rhs built on Mar 20 2013 13:29:41

I tried to mount a gluster volume without fuse module and it worked fine.
mount.glusterfs <ip>:/test-volume /mnt/gluster-mount/

Not sure how it is not reproducible now. we can close the bug.