Description of problem: one of the community members just reported the following where practically, connectStorageServer fails as engine send NFS version as str while vdsm expects int. I just did a clean install of ovirt version 3.1 on CentOS 6.2 (dreyou build @ http://www.dreyou.org/ovirt/). When I attempt to add storage (Data/NFS), the web GUI hangs and the storage is not added. The engine log reports: Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.ServerConnectionStatusReturnForXmlRpc mStatusList Null mStatus Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 451 mMessage Error storage server connection: ("domType=1, spUUID=00000000-0000-0000-0000-000000000000, conList=[{'port': '', 'connection': 'cmcd-db-vip.in.hwlab:/vmstore', 'iqn': '', 'portal': '', 'user': '', 'protocol_version': '3', 'password': '******', 'id': '500d06d3-00f7-4d8f-b42b-eabd6a394be7'}]",) The vdsm.log on the host I'm using (also CentOS 6.2, vdsm-4.9.6-0.274.git937a4b7) says: Thread-3810::ERROR::2012-06-12 14:58:19,879::task::853::TaskManager.Task::(_setError) Task=`c514ffd1-2777-44ae-9b77-06a9fb51f41e`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 861, in _run return fn(*args, **kargs) File "/usr/share/vdsm/logUtils.py", line 38, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/storage/hsm.py", line 1926, in connectStorageServer conObj = storageServer.ConnectionFactory.createConnection(conInfo) File "/usr/share/vdsm/storage/storageServer.py", line 533, in createConnection return ctor(**params) File "/usr/share/vdsm/storage/storageServer.py", line 244, in __init__ options.append("vers=%d" % version) TypeError: %d format: a number is required, not str More context is available here: http://d.pr/n/dA5K+ Managed to reproduce latest engine-core.
Fixed and merged upstream. http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=commit;h=ab9e8123d9f774a72c0e0158399072b87fb80dc6
closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/