Re: [Users] Use Filer for NFS storage

2012-04-18 Thread Christian Hernandez
I think you're right; there was some talk floating around about a patch to
a python script.

I am going to install 3.0 and see if I still have the same problem

On Wed, Apr 18, 2012 at 7:55 AM, Dominic Kaiser
domi...@bostonvineyard.orgwrote:

 Christian I am running 3.0 not 3.1 so I wonder if it is a bug.  Has anyone
 else responded to your questions?

 Dominic


 On Tue, Apr 17, 2012 at 5:14 PM, Christian Hernandez christi...@4over.com
  wrote:

 Looks like I'm running 3.1

 [image: Inline image 1]



 On Tue, Apr 17, 2012 at 1:27 PM, Dominic Kaiser 
 domi...@bostonvineyard.org wrote:

 What version of ovirt engine are you running?  I do not have the Guide
 Me Section.

 Here is mine:



 On Tue, Apr 17, 2012 at 3:22 PM, Christian Hernandez 
 christi...@4over.com wrote:

 I am talking about when you click New Domain in the storage tab.

 I cannot add an ISO domain (it's greyed out); I assume because I
 haven't added storage yet.

 I am talking about using NFS storage to store the VM images. I cannot
 add ANY storage domains...

 Just to summarize.

 I want to use my NetApp for BOTH ISO domain and Storage domain. And I
 keep getting the attached error

 [image: Inline image 1]


 Now on BOTH oVirt Engine AND Host I can manually mount the share with
 NO PROBLEMS using mount.nfs command.

 I have supplied logs before but here it is again (in brief)

 On the Host under: /var/log/vdsm/vdsm.log


 Thread-34801::DEBUG::2012-04-14 
 09:42:06,896::BindingXMLRPC::167::vds::(wrapper) [192.168.11.236]
 Thread-34801::ERROR::2012-04-14 
 09:42:06,896::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-34802::DEBUG::2012-04-14 
 09:42:07,072::BindingXMLRPC::167::vds::(wrapper) [192.168.11.236]
 Thread-34802::ERROR::2012-04-14 
 09:42:07,073::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'


 Under the oVirt Engine server: /var/log/ovirt/engine.log


 2012-04-14 09:37:24,730 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
  (http--0.0.0.0-8443-4) [2473641b] START, 
 ValidateStorageServerConnectionVDSCommand(vdsId = 
 14a2f814-85bf-11e1-822d-0016367ecdf0, storagePoolId = 
 ----, storageType = NFS, connectionList = 
 [{ id: null, connection: nfs.ovirt.4over.com:/vol/webresources/ovirt };]), 
 log id: 41df1751
 2012-04-14 09:37:24,745 ERROR 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
 (http--0.0.0.0-8443-4) [2473641b] Failed in 
 ValidateStorageServerConnectionVDS method
 2012-04-14 09:37:24,745 ERROR 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
 (http--0.0.0.0-8443-4) [2473641b] Error code unexpected and error message 
 VDSGenericException: VDSErrorException: Failed to 
 ValidateStorageServerConnectionVDS, error = Unexpected exception
 2012-04-14 09:37:24,746 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
 (http--0.0.0.0-8443-4) [2473641b] Command 
 org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand
  return value

 Class Name: 
 org.ovirt.engine.core.vdsbroker.vdsbroker.ServerConnectionStatusReturnForXmlRpc
 mStatusList   Null
 mStatus   Class Name: 
 org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
 mCode 16
 mMessage  Unexpected exception



 2012-04-14 09:37:24,747 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
 (http--0.0.0.0-8443-4) [2473641b] Vds: bluejay
 2012-04-14 09:37:24,747 ERROR 
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (http--0.0.0.0-8443-4) 
 [2473641b] Command ValidateStorageServerConnectionVDS execution failed. 
 Exception: VDSErrorException: VDSGenericException: VDSErrorException: 
 Failed to ValidateStorageServerConnectionVDS, error = Unexpected exception
 2012-04-14 09:37:24,747 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
  

Re: [Users] Use Filer for NFS storage

2012-04-17 Thread Christian Hernandez
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
christi...@4over.comwrote:

 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 a...@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 a...@us.ibm.com
 IBM Linux Technology Center



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-17 Thread Christian Hernandez
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 domi...@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 christi...@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 
 christi...@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 a...@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 a...@us.ibm.com
 IBM Linux Technology Center




 ___
 Users mailing list
 Users@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: domi...@bostonvineyard.org



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-17 Thread Christian Hernandez
Yes,

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

*[root@anteater ovirt]# ll -d .
drwxrws--- 3 vdsm kvm 4096 Apr 16 08:48 .
[root@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 domi...@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 christi...@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 
 domi...@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 
 christi...@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 
 domi...@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 
 christi...@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 
 christi...@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 a...@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 

Re: [Users] Use Filer for NFS storage

2012-04-16 Thread Adam Litke
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 a...@us.ibm.com
IBM Linux Technology Center

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-16 Thread Christian Hernandez
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 a...@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 a...@us.ibm.com
 IBM Linux Technology Center


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-15 Thread Dan Kenigsberg
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?

Regards,
Dan.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-15 Thread Christian Hernandez
Scolling up I found these initIRS errors in the logs

*MainThread::INFO::2012-04-13 17:18:30,965::vdsm::78::vds::(run)
Thread(Thread-11, started daemon 140487776270080)*
*MainThread::INFO::2012-04-13 17:18:30,965::vdsm::78::vds::(run)
WorkerThread(Thread-5, started daemon 140488178923264)*
*MainThread::INFO::2012-04-13 17:18:30,965::vdsm::78::vds::(run)
KsmMonitorThread(KsmMonitor, started daemon 140487755290368)*
*MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run)
WorkerThread(Thread-4, started daemon 140488530888448)*
*MainThread::INFO::2012-04-13 17:18:30,966::vmChannels::135::vds::(stop) VM
channels listener was stopped.*
*MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run)
Listener(VM Channels Listener, started daemon 140487734310656)*
*MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run)
WorkerThread(Thread-3, started daemon 140488541378304)*
*MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run)
WorkerThread(Thread-2, started daemon 140488551868160)*
*MainThread::INFO::2012-04-13 17:18:32,475::vdsm::70::vds::(run) I am the
actual vdsm 4.9-0*
*MainThread::DEBUG::2012-04-13
17:18:32,688::resourceManager::379::ResourceManager::(registerNamespace)
Registering namespace 'Storage'*
*MainThread::DEBUG::2012-04-13
17:18:32,688::threadPool::45::Misc.ThreadPool::(__init__) Enter -
numThreads: 10.0, waitTimeout: 3, maxTasks: 500.0*
*MainThread::DEBUG::2012-04-13
17:18:32,708::multipath::109::Storage.Multipath::(isEnabled) multipath
Defaulting to False*
*MainThread::DEBUG::2012-04-13
17:18:32,709::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n
/bin/cp /tmp/tmpXnjmr1 /etc/multipath.conf' (cwd None)*
*MainThread::DEBUG::2012-04-13
17:18:32,761::__init__::1164::Storage.Misc.excCmd::(_log) FAILED: err =
'sudo: sorry, you must have a tty to run sudo\n'; rc = 1*
*MainThread::ERROR::2012-04-13 17:18:32,762::clientIF::162::vds::(_initIRS)
Error initializing IRS*
*Traceback (most recent call last):*
*  File /usr/share/vdsm/clientIF.py, line 160, in _initIRS*
*self.irs = Dispatcher(HSM())*
*  File /usr/share/vdsm/storage/hsm.py, line 294, in __init__*
*multipath.setupMultipath()*
*  File /usr/share/vdsm/storage/multipath.py, line 125, in setupMultipath*
*raise se.MultipathSetupError()*
*MultipathSetupError: Failed to setup multipath: ()*
*MainThread::DEBUG::2012-04-13
17:18:32,766::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/pgrep
-xf ksmd' (cwd None)*
*MainThread::DEBUG::2012-04-13
17:18:32,779::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: err =
''; rc = 0*
*MainThread::INFO::2012-04-13
17:18:32,780::vmChannels::139::vds::(settimeout) Setting channels' timeout
to 30 seconds.*
*VM Channels Listener::INFO::2012-04-13
17:18:32,782::vmChannels::127::vds::(run) Starting VM channels listener
thread.*
*Thread-13::DEBUG::2012-04-13
17:18:33,521::BindingXMLRPC::869::vds::(wrapper) client
[192.168.11.236]::call getCapabilities with () {}*
*Thread-13::WARNING::2012-04-13
17:18:33,616::utils::688::root::(getHostUUID) Could not find host UUID.*
*Thread-13::DEBUG::2012-04-13
17:18:33,643::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf
%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n qemu-kvm' (cwd None)*
*Thread-13::DEBUG::2012-04-13
17:18:33,667::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: err =
''; rc = 0*
*Thread-13::DEBUG::2012-04-13
17:18:33,667::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf
%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n qemu-img' (cwd None)*
*Thread-13::DEBUG::2012-04-13
17:18:33,690::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: err =
''; rc = 0*
*Thread-13::DEBUG::2012-04-13
17:18:33,690::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf
%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n vdsm' (cwd None)*
*Thread-13::DEBUG::2012-04-13
17:18:33,711::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: err =
''; rc = 0*
*Thread-13::DEBUG::2012-04-13
17:18:33,711::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf
%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n spice-server' (cwd None)*
*Thread-13::DEBUG::2012-04-13
17:18:33,732::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: err =
''; rc = 0*
*Thread-13::DEBUG::2012-04-13
17:18:33,733::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf
%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n libvirt' (cwd None)*
*Thread-13::DEBUG::2012-04-13
17:18:33,754::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: err =
''; rc = 0*



On Sun, Apr 15, 2012 at 6:57 AM, Dan Kenigsberg dan...@redhat.com 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, 

[Users] Use Filer for NFS storage

2012-04-13 Thread Christian Hernandez
Is there any way to use an existing Filer for the NFS storage? Or do I HAVE
to use a host?

We currently have a NetApp filer serving as our NFS server; I'd rather use
that than create a new host and make it the NFS server (as it won't get
backed up...would rather have it get backed up as the Filer already has
that in place)

--Christian
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-13 Thread Juan Hernandez
On 04/13/2012 08:09 PM, Christian Hernandez wrote:
 Is there any way to use an existing Filer for the NFS storage? Or do I HAVE
 to use a host?
 
 We currently have a NetApp filer serving as our NFS server; I'd rather use
 that than create a new host and make it the NFS server (as it won't get
 backed up...would rather have it get backed up as the Filer already has
 that in place)

I think there is no problem in using your NetApp filer, in fact that
works very well. Just make sure that the exports that you use for ovirt
are owned and writable by the user id 36 (vdsm) and group id 36 (kvm).

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-13 Thread Nathan Stratton


On Fri, 13 Apr 2012, Christian Hernandez wrote:


Is there any way to use an existing Filer for the NFS storage? Or do I HAVE
to use a host?

We currently have a NetApp filer serving as our NFS server; I'd rather use
that than create a new host and make it the NFS server (as it won't get
backed up...would rather have it get backed up as the Filer already has
that in place)


Sure I am using ovirt at two sites with NetApp.





Nathan Stratton
nathan at robotics.net
http://www.robotics.net
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-13 Thread Christian Hernandez
Thanks for the clarification!


Although it seems like I am not able to add my nfs server...

*2012-04-13 11:59:33,945 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
(http--0.0.0.0-8443-8) [187bb8f1] START,
ValidateStorageServerConnectionVDSCommand(vdsId =
677ea110-8587-11e1-b7d5-0016367ecdf0, storagePoolId =
----, storageType = NFS, connectionList =
[{ id: null, connection: nfs.ovirt.test.local:/vol/ovirt/bluejay };]), log
id: 67369793
2012-04-13 11:59:33,960 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(http--0.0.0.0-8443-8) [187bb8f1] Failed in
ValidateStorageServerConnectionVDS method
2012-04-13 11:59:33,961 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(http--0.0.0.0-8443-8) [187bb8f1] Error code unexpected and error message
VDSGenericException: VDSErrorException: Failed to
ValidateStorageServerConnectionVDS, error = Unexpected exception
2012-04-13 11:59:33,962 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(http--0.0.0.0-8443-8) [187bb8f1] Command
org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand
return value

Class Name:
org.ovirt.engine.core.vdsbroker.vdsbroker.ServerConnectionStatusReturnForXmlRpc
mStatusList   Null
mStatus   Class Name:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
mCode 16
mMessage  Unexpected exception
*
However...I AM able to mount that NFS directroy no problem when I go on the
host itself...
*
[root@bluejay ~]# mount nfs.ovirt.test.local:/vol/ovirt/bluejay /mnt/
[root@bluejay ~]# cd /mnt/
[root@bluejay mnt]# ll -d .
drwxrwxrwx 3 vdsm kvm 4096 Apr 13 11:59 .
[root@bluejay mnt]# df -h .
FilesystemSize  Used Avail Use% Mounted on
nfs.ovirt.test.local:/vol/ovirt/bluejay
   51G   12M   50G   1% /mnt*

On Fri, Apr 13, 2012 at 11:52 AM, Juan Hernandez jhern...@redhat.comwrote:

 On 04/13/2012 08:09 PM, Christian Hernandez wrote:
  Is there any way to use an existing Filer for the NFS storage? Or do I
 HAVE
  to use a host?
 
  We currently have a NetApp filer serving as our NFS server; I'd rather
 use
  that than create a new host and make it the NFS server (as it won't get
  backed up...would rather have it get backed up as the Filer already has
  that in place)

 I think there is no problem in using your NetApp filer, in fact that
 works very well. Just make sure that the exports that you use for ovirt
 are owned and writable by the user id 36 (vdsm) and group id 36 (kvm).

 --
 Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
 3ºD, 28016 Madrid, Spain
 Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-13 Thread Juan Hernandez
On 04/13/2012 09:03 PM, Christian Hernandez wrote:
 Thanks for the clarification!
 
 
 Although it seems like I am not able to add my nfs server...
 
 *2012-04-13 11:59:33,945 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
 (http--0.0.0.0-8443-8) [187bb8f1] START,
 ValidateStorageServerConnectionVDSCommand(vdsId =
 677ea110-8587-11e1-b7d5-0016367ecdf0, storagePoolId =
 ----, storageType = NFS, connectionList =
 [{ id: null, connection: nfs.ovirt.test.local:/vol/ovirt/bluejay };]), log
 id: 67369793
 2012-04-13 11:59:33,960 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (http--0.0.0.0-8443-8) [187bb8f1] Failed in
 ValidateStorageServerConnectionVDS method
 2012-04-13 11:59:33,961 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (http--0.0.0.0-8443-8) [187bb8f1] Error code unexpected and error message
 VDSGenericException: VDSErrorException: Failed to
 ValidateStorageServerConnectionVDS, error = Unexpected exception
 2012-04-13 11:59:33,962 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (http--0.0.0.0-8443-8) [187bb8f1] Command
 org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand
 return value
 
 Class Name:
 org.ovirt.engine.core.vdsbroker.vdsbroker.ServerConnectionStatusReturnForXmlRpc
 mStatusList   Null
 mStatus   Class Name:
 org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
 mCode 16
 mMessage  Unexpected exception
 *
 However...I AM able to mount that NFS directroy no problem when I go on the
 host itself...
 *
 [root@bluejay ~]# mount nfs.ovirt.test.local:/vol/ovirt/bluejay /mnt/
 [root@bluejay ~]# cd /mnt/
 [root@bluejay mnt]# ll -d .
 drwxrwxrwx 3 vdsm kvm 4096 Apr 13 11:59 .
 [root@bluejay mnt]# df -h .
 FilesystemSize  Used Avail Use% Mounted on
 nfs.ovirt.test.local:/vol/ovirt/bluejay
51G   12M   50G   1% /mnt*

Strange, the permissions and ownership look ok. I cases like this the
logs in the host give more information than those in the manager. Take a
look at the /var/log/vdsm/vdsm.log file in the host.

 On Fri, Apr 13, 2012 at 11:52 AM, Juan Hernandez jhern...@redhat.comwrote:
 
 On 04/13/2012 08:09 PM, Christian Hernandez wrote:
 Is there any way to use an existing Filer for the NFS storage? Or do I
 HAVE
 to use a host?

 We currently have a NetApp filer serving as our NFS server; I'd rather
 use
 that than create a new host and make it the NFS server (as it won't get
 backed up...would rather have it get backed up as the Filer already has
 that in place)

 I think there is no problem in using your NetApp filer, in fact that
 works very well. Just make sure that the exports that you use for ovirt
 are owned and writable by the user id 36 (vdsm) and group id 36 (kvm).

 --
 Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
 3ºD, 28016 Madrid, Spain
 Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users