[Users] Use Filer for NFS storage

Christian Hernandez christianh at 4over.com
Tue Apr 17 14:43:02 EDT 2012


Yes,

I've played with permissions; and made sure the ownerships are set

*[root at anteater ovirt]# ll -d .
drwxrws--- 3 vdsm kvm 4096 Apr 16 08:48 .
[root at anteater ovirt]# ll
total 4
drwxrwxrwx 2 vdsm kvm 4096 Apr 13 11:59 VMs
*

I can mount the share manually on BOTH oVirt Engine AND the Host with the
"mount.nfs" command

On Tue, Apr 17, 2012 at 11:38 AM, Dominic Kaiser <dominic at bostonvineyard.org
> wrote:

> First off permissions need to be chown 36:36.  That is what the vdsm user
> and group should be assigned to throughout the file structure.  My entire
> when you add the folder that is what "should" happen but obviously did not.
>  I checked my ISO domains which I can also mount manually but permissions
> are for the vdsm user and group 36:36.  Start there.  Also you can mount
> share manually on the ovirt engine server is that what you meant?  Just to
> be clear so that I know that engine has access.  I know this seems simple
> to ask but I have made this mistake many times.
>
> Dominic
>
>
> On Tue, Apr 17, 2012 at 2:25 PM, Christian Hernandez <christianh at 4over.com
> > wrote:
>
>> Using NFS version 3 (on both the Filer and the Host)
>>
>> NetApp I'm using is FAS3040
>>
>> I've already went down the "permissions" ave tried the "777" approach.
>>
>> I can mount the share manually by going to the command line and using the
>> "mount.nfs" command; just not through the oVirt interface
>>
>>
>> On Tue, Apr 17, 2012 at 11:20 AM, Dominic Kaiser <
>> dominic at bostonvineyard.org> wrote:
>>
>>> In that case,  whenever I had problems it was always permissions.  For
>>> example my QNAP NAS was blocking my addition of an ISO and datadomain I had
>>> created because it was not allowing engine to see it.  Also what version of
>>> NFS is your net app using v3 or v4 NFS?  What netapp?
>>>
>>> Dominic
>>>
>>>
>>> On Tue, Apr 17, 2012 at 2:09 PM, Christian Hernandez <
>>> christianh at 4over.com> wrote:
>>>
>>>> Actually yes I was referring to those technologies.
>>>>
>>>> I currently have a NetApp that I would like to use...just can't seem to
>>>> add it to the cluster...
>>>>
>>>>
>>>> On Tue, Apr 17, 2012 at 11:08 AM, Dominic Kaiser <
>>>> dominic at bostonvineyard.org> wrote:
>>>>
>>>>> Yes I use three:
>>>>>
>>>>> Openfiler
>>>>> MediaVault
>>>>> QNAP NAS
>>>>>
>>>>> I am taking it by filer you mean this or am I getting it wrong?
>>>>>
>>>>> I use an NFS Datacenter entirely.
>>>>>
>>>>> Dominic
>>>>>
>>>>>
>>>>> On Tue, Apr 17, 2012 at 1:11 PM, Christian Hernandez <
>>>>> christianh at 4over.com> wrote:
>>>>>
>>>>>> Just out of curiosity...
>>>>>>
>>>>>> Has anyone ACTUALLY successfully added an NFS storage (using a filer)
>>>>>> to your Cluster/Datacenter?
>>>>>>
>>>>>>
>>>>>> I still cannot figure out how and am still getting the " Error while
>>>>>> executing action RemoveStorageServerConnection: Unexpected exception" error
>>>>>>
>>>>>> --Christian
>>>>>>
>>>>>> On Mon, Apr 16, 2012 at 8:55 AM, Christian Hernandez <
>>>>>> christianh at 4over.com> wrote:
>>>>>>
>>>>>>> Excuse my ignorance...
>>>>>>>
>>>>>>> But how do I apply the patch? I don't testing the patch on my
>>>>>>> systems (as I am only testing myself); but I am...
>>>>>>>
>>>>>>> 1) Only have a elementary skills at git
>>>>>>> 2) Don't know how to apply the patch
>>>>>>>
>>>>>>> --Christian
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Apr 16, 2012 at 6:50 AM, Adam Litke <agl at us.ibm.com> wrote:
>>>>>>>
>>>>>>>> On Sun, Apr 15, 2012 at 04:57:15PM +0300, Dan Kenigsberg wrote:
>>>>>>>> > On Fri, Apr 13, 2012 at 12:26:39PM -0700, Christian Hernandez
>>>>>>>> wrote:
>>>>>>>> > > Here is the log from the Host
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > *Thread-1821::DEBUG::2012-04-13
>>>>>>>> > > 12:18:52,200::BindingXMLRPC::167::vds::(wrapper)
>>>>>>>> [192.168.11.236]
>>>>>>>> > > Thread-1821::ERROR::2012-04-13
>>>>>>>> > > 12:18:52,200::BindingXMLRPC::171::vds::(wrapper) Unexpected
>>>>>>>> exception
>>>>>>>> > > Traceback (most recent call last):
>>>>>>>> > >   File "/usr/share/vdsm/BindingXMLRPC.py", line 169, in wrapper
>>>>>>>> > >     return f(*args, **kwargs)
>>>>>>>> > >   File "/usr/share/vdsm/BindingXMLRPC.py", line 571, in
>>>>>>>> > > poolValidateStorageServerConnection
>>>>>>>> > >     return pool.validateStorageServerConnection(domType,
>>>>>>>> conList)
>>>>>>>> > >   File "/usr/share/vdsm/API.py", line 897, in
>>>>>>>> > > validateStorageServerConnection
>>>>>>>> > >     return self._irs.validateStorageServerConnection(domainType,
>>>>>>>> > > AttributeError: 'NoneType' object has no attribute
>>>>>>>> > > 'validateStorageServerConnection'
>>>>>>>> > > Thread-1822::DEBUG::2012-04-13
>>>>>>>> > > 12:18:52,333::BindingXMLRPC::167::vds::(wrapper)
>>>>>>>> [192.168.11.236]
>>>>>>>> > > Thread-1822::ERROR::2012-04-13
>>>>>>>> > > 12:18:52,334::BindingXMLRPC::171::vds::(wrapper) Unexpected
>>>>>>>> exception
>>>>>>>> > > Traceback (most recent call last):
>>>>>>>> > >   File "/usr/share/vdsm/BindingXMLRPC.py", line 169, in wrapper
>>>>>>>> > >     return f(*args, **kwargs)
>>>>>>>> > >   File "/usr/share/vdsm/BindingXMLRPC.py", line 491, in
>>>>>>>> > > poolDisconnectStorageServer
>>>>>>>> > >     return pool.disconnectStorageServer(domType, conList)
>>>>>>>> > >   File "/usr/share/vdsm/API.py", line 823, in
>>>>>>>> disconnectStorageServer
>>>>>>>> > >     return self._irs.disconnectStorageServer(domainType,
>>>>>>>> self._UUID,
>>>>>>>> > > AttributeError: 'NoneType' object has no attribute
>>>>>>>> 'disconnectStorageServer'
>>>>>>>> >
>>>>>>>> > It seems like the interesting traceback should be further up - I
>>>>>>>> > suppose self._irs failed initialization and kept its original None
>>>>>>>> > value. Please scroll up and try to find out why this failed on
>>>>>>>> Vdsm
>>>>>>>> > startup.
>>>>>>>> >
>>>>>>>> > We have a FIXME in vdsm so that we report such failures better:
>>>>>>>> >
>>>>>>>> > vdsm/BindingXMLRPC.py: # XXX: Need another way to check if IRS
>>>>>>>> init was okay
>>>>>>>> >
>>>>>>>> > Adam, could you take a further look into this?
>>>>>>>>
>>>>>>>> Have a look at http://gerrit.ovirt.org/3571 .  This should handle
>>>>>>>> the problem
>>>>>>>> better by reporting a better error when storage was not initialized
>>>>>>>> properly.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Adam Litke <agl at us.ibm.com>
>>>>>>>> IBM Linux Technology Center
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users at ovirt.org
>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dominic Kaiser
>>>>> Greater Boston Vineyard
>>>>> Director of Operations
>>>>>
>>>>> cell: 617-230-1412
>>>>> fax: 617-252-0238
>>>>> email: dominic at bostonvineyard.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>
>>>
>>> --
>>> Dominic Kaiser
>>> Greater Boston Vineyard
>>> Director of Operations
>>>
>>> cell: 617-230-1412
>>> fax: 617-252-0238
>>> email: dominic at bostonvineyard.org
>>>
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Dominic Kaiser
> Greater Boston Vineyard
> Director of Operations
>
> cell: 617-230-1412
> fax: 617-252-0238
> email: dominic at bostonvineyard.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120417/d9be37cf/attachment-0002.html>


More information about the Users mailing list