Bug 1108343

Summary: Error adding GlusterFS Storage Domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Amador Pahim <asegundo>
Component: vdsmAssignee: Allon Mureinik <amureini>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.0CC: amureini, bazulay, fsimonce, iheim, jbiddle, lpeer, scohen, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: All   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 12:31:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amador Pahim 2014-06-11 18:49:42 UTC
Description of problem:

 Trying to add a GlusterFS Storage Domain, I face the error: mount: unknown filesystem type 'glusterfs'


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

 rhevm-3.4.0-0.21.el6ev.noarch
 vdsm-4.14.7-3.el6ev.x86_64


How reproducible:

 100%

Steps to Reproduce:
 1. Install a RHEL from scratch (Basic Server) to use as Hypervisor
 2. Add it as Host to RHEV Manager
 3. Add a GlusterFS Storage Domain

Actual results:

Thread-14::DEBUG::2014-06-11 12:14:21,196::mount::202::Storage.Misc.excCmd::(_runcmd) '/usr/bin/sudo -n /bin/mount -t glusterfs 192.168.25.96:vol1 /rhev/data-center/mnt/glusterSD/192.168.25.96:vol1' (cwd None)
Thread-14::ERROR::2014-06-11 12:14:21,233::storageServer::209::StorageServer.MountConnection::(connect) Mount failed: (32, ";mount: unknown filesystem type 'glusterfs'\n")
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/storageServer.py", line 207, in connect
    self._mount.mount(self.options, self._vfsType)
  File "/usr/share/vdsm/storage/mount.py", line 198, in mount
    return self._runcmd(cmd, timeout)
  File "/usr/share/vdsm/storage/mount.py", line 214, in _runcmd
    raise MountError(rc, ";".join((out, err)))
MountError: (32, ";mount: unknown filesystem type 'glusterfs'\n")
Thread-14::ERROR::2014-06-11 12:14:21,236::hsm::2390::Storage.HSM::(connectStorageServer) Could not connect to storageServer
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2387, in connectStorageServer
    conObj.connect()
  File "/usr/share/vdsm/storage/storageServer.py", line 215, in connect
    raise e
MountError: (32, ";mount: unknown filesystem type 'glusterfs'\n")


Additional info:

 glusterfs-fuse was not installed as vdsm dependencie. Workaround is to install it:

 # yum install glusterfs-fuse

Comment 1 Allon Mureinik 2014-06-12 07:30:19 UTC
vdsm.spec explicitly removes the gluster dependency - this seems to be intended.
Fede/Sean - any insight on this?

Comment 2 Allon Mureinik 2014-06-12 12:31:24 UTC
According to bug 1031707, this behavior is by design.

Perhaps it's worth documenting, though.

*** This bug has been marked as a duplicate of bug 1031707 ***