[Users] Issue adding a gluster storage domain.

Vijay Bellur vbellur at redhat.com
Mon Oct 29 07:51:29 UTC 2012


On 10/29/2012 11:46 AM, Daniel Rowe wrote:
> Hi
>
> I can't seem to get a gluster storage domain added I am using Fedora
> 17 on both the nodes management machine. I have the gluster volumes
> showing in ovirt and I can manually mount the gluster volume both
> locally on the node and on the management machine.
>
> If I manually mount the volume on the node with /usr/bin/mount -t
> glusterfs -o vers=3 localhost:/bsdvol1
> /rhev/data-center/mnt/localhost:_bsdvol1 as root then add the domain
> in the web interface it works.
>
> Although I have the domain done with the manual mounting, I am
> wondering what is going on.
>
> Thread-1934::INFO::2012-10-29
> 13:27:09,793::logUtils::37::dispatcher::(wrapper) Run and protect:
> validateStorageServerConnection(domType=6,
> spUUID='00000000-0000-0000-0000-000000000000', conList=[{'port': '',
> 'connection': 'localhost:/bsdvol1', 'iqn': '', 'portal': '', 'user':
> '', 'vfs_type': 'glusterfs', 'password': '******', 'id':
> '00000000-0000-0000-0000-000000000000'}], options=None)
> Thread-1934::INFO::2012-10-29
> 13:27:09,793::logUtils::39::dispatcher::(wrapper) Run and protect:
> validateStorageServerConnection, Return response: {'statuslist':
> [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}
> Thread-1934::DEBUG::2012-10-29
> 13:27:09,793::task::1172::TaskManager.Task::(prepare)
> Task=`4f9131eb-45cd-4e82-bc35-e29ed14f0818`::finished: {'statuslist':
> [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}
> Thread-1934::DEBUG::2012-10-29
> 13:27:09,793::task::588::TaskManager.Task::(_updateState)
> Task=`4f9131eb-45cd-4e82-bc35-e29ed14f0818`::moving from state
> preparing -> state finished
> Thread-1934::DEBUG::2012-10-29
> 13:27:09,794::resourceManager::809::ResourceManager.Owner::(releaseAll)
> Owner.releaseAll requests {} resources {}
> Thread-1934::DEBUG::2012-10-29
> 13:27:09,794::resourceManager::844::ResourceManager.Owner::(cancelAll)
> Owner.cancelAll requests {}
> Thread-1934::DEBUG::2012-10-29
> 13:27:09,794::task::978::TaskManager.Task::(_decref)
> Task=`4f9131eb-45cd-4e82-bc35-e29ed14f0818`::ref 0 aborting False
> Thread-1935::DEBUG::2012-10-29
> 13:27:09,842::BindingXMLRPC::156::vds::(wrapper) [192.168.1.10]
> Thread-1935::DEBUG::2012-10-29
> 13:27:09,842::task::588::TaskManager.Task::(_updateState)
> Task=`ef920d52-3082-495f-bfbc-2eb508c3de18`::moving from state init ->
> state preparing
> Thread-1935::INFO::2012-10-29
> 13:27:09,843::logUtils::37::dispatcher::(wrapper) Run and protect:
> connectStorageServer(domType=6,
> spUUID='00000000-0000-0000-0000-000000000000', conList=[{'port': '',
> 'connection': 'localhost:/bsdvol1', 'mnt_options': 'vers=3', 'portal':
> '', 'user': '', 'iqn': '', 'vfs_type': 'glusterfs', 'password':
> '******', 'id': 'bbe1bbc5-62b8-4115-b409-6ddea910a688'}],
> options=None)
> Thread-1935::DEBUG::2012-10-29
> 13:27:09,851::__init__::1249::Storage.Misc.excCmd::(_log)
> '/usr/bin/sudo -n /usr/bin/mount -t glusterfs -o vers=3
> localhost:/bsdvol1 /rhev/data-center/mnt/localhost:_bsdvol1' (cwd
> None)
> Thread-1935::ERROR::2012-10-29
> 13:27:09,930::hsm::1932::Storage.HSM::(connectStorageServer) Could not
> connect to storageServer
> Traceback (most recent call last):
>    File "/usr/share/vdsm/storage/hsm.py", line 1929, in connectStorageServer
>      conObj.connect()
>    File "/usr/share/vdsm/storage/storageServer.py", line 179, in connect
>      self._mount.mount(self.options, self._vfsType)
>    File "/usr/share/vdsm/storage/mount.py", line 190, in mount
>      return self._runcmd(cmd, timeout)
>    File "/usr/share/vdsm/storage/mount.py", line 206, in _runcmd
>      raise MountError(rc, ";".join((out, err)))
> MountError: (1, 'unknown option vers (ignored)\nMount failed. Please
> check the log file for more details.\n;ERROR: failed to create logfile
> "/var/log/glusterfs/rhev-data-center-mnt-localhost:_bsdvol1.log"
> (Permission denied)\nERROR: failed to open logfile
> /var/log/glusterfs/rhev-data-center-mnt-localhost:_bsdvol1.log\n')


Looks like there was a permission error in creating log file for the 
glusterfs client. Can you please check if you have SELinux enabled and 
if permissions are fine on the directory?

Thanks,
Vijay





More information about the Users mailing list