Bug 1021555

Summary: VDSM fails to mount glusterfs
Product: Red Hat Enterprise Virtualization Manager Reporter: Aharon Canan <acanan>
Component: vdsmAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact: Aharon Canan <acanan>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.3.0CC: abaron, bazulay, hateya, iheim, lpeer, scohen, yeylon
Target Milestone: ---Keywords: Regression, TestBlocker, Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-21 14:48:42 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:
Attachments:
Description Flags
logs none

Description Aharon Canan 2013-10-21 13:53:32 UTC
Created attachment 814613 [details]
logs

Description of problem:
vdsm fails to mount glusterfs, manually works fine.

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

How reproducible:
100%

Steps to Reproduce:
1. set gluster volume on gluster server
2. try to create new gluster storage domain
3.

Actual results:
fails

Expected results:
should work

Additional info:
===========
Thread-5072::DEBUG::2013-10-21 16:01:05,120::mount::226::Storage.Misc.excCmd::(_runcmd) '/usr/bin/sudo -n /bin/mount -t glusterfs 10.35.161.249:/acanan01 /rhev/data-center/mnt/glusterSD/10.35.161.249:_acanan01' (cwd None)
Thread-5072::DEBUG::2013-10-21 16:01:05,291::mount::226::Storage.Misc.excCmd::(_runcmd) '/usr/bin/sudo -n /bin/umount -f -l /rhev/data-center/mnt/glusterSD/10.35.161.249:_acanan01' (cwd None)
Thread-5072::ERROR::2013-10-21 16:01:05,337::hsm::2373::Storage.HSM::(connectStorageServer) Could not connect to storageServer
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2370, in connectStorageServer
    conObj.connect()
  File "/usr/share/vdsm/storage/storageServer.py", line 227, in connect
    raise e
StorageServerAccessPermissionError: Permission settings on the specified path do not allow access to the storage. Verify permission settings on the specified storage path.: 'path = /rhev/data-center/mnt/glusterSD/10.35.161.249:_acanan01'

Comment 1 Aharon Canan 2013-10-21 13:57:39 UTC
[root@green-vdsb tmp]# mount -t glusterfs 10.35.161.249:/acanan01 /tmp/gluster/
[root@green-vdsb tmp]# mount
/dev/mapper/vg0-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sde1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
10.35.161.249:/acanan01 on /tmp/gluster type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)