Bug 928327 - On RHS clients machines, installing glusterfs-fuse package does not install fuse package automatically
Summary: On RHS clients machines, installing glusterfs-fuse package does not install f...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: fuse
Version: 2.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Kaleb KEITHLEY
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On: 947830
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-27 12:37 UTC by Lalatendu Mohanty
Modified: 2013-05-15 07:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 947830 (view as bug list)
Environment:
Last Closed: 2013-05-15 07:34:56 UTC
Embargoed:
lmohanty: needinfo+


Attachments (Terms of Use)

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.


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