[Users] ovirt fails to attach gluster volume

Jithin Raju rajujith at gmail.com
Sun Jan 13 13:31:02 UTC 2013


Hi Vijai,

Its a fresh fedora installation and i didn't change selinux mode, so it
should be enforcing.
Shall I change it to permissive? or is there a particular selinux config
for vdsm/gluster so that I can keep selinux in enforcing mode.
I can update you the results after setting selinux to permissive tomorrow.
One quick question , this   storage mounting in nodes are run as vdsm user?

Thanks,
Jithin


On Fri, Jan 11, 2013 at 10:56 PM, Vijay Bellur <vbellur at redhat.com> wrote:

> On 01/11/2013 12:56 PM, Jithin Raju wrote:
>
>> 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, 'Mount failed. Please check the log file for more
>> details.\n;ERROR: failed to create logfile
>> "/var/log/glusterfs/rhev-data-**center-mnt-fig:_vol1.log" (Permission
>> denied)\nERROR: failed to open logfile
>> /var/log/glusterfs/rhev-data-**center-mnt-fig:_vol1.log\n')
>>
>
>
> Do you have selinux in enforcing mode on the host?
>
> Thanks,
> Vijay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130113/45e0afdd/attachment-0001.html>


More information about the Users mailing list