[Users] Can't add an NFS storage domain

Hi, 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+ Thanks for any insight. Ian

Hi Ian, You seem to run into a bug in our advanced NFS options capability. in order to workaround this issue, please use 'Auto Negotiate' option for now, that shall work. you can track this issue in: https://bugzilla.redhat.com/show_bug.cgi?id=831469 Thanks, Haim ----- Original Message ----- From: "Ian Levesque" <ian@crystal.harvard.edu> To: users@ovirt.org Sent: Tuesday, June 12, 2012 10:17:47 PM Subject: [Users] Can't add an NFS storage domain Hi, 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+ Thanks for any insight. Ian _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 06/13/2012 07:41 AM, Haim Ateya wrote:
Hi Ian,
You seem to run into a bug in our advanced NFS options capability. in order to workaround this issue, please use 'Auto Negotiate' option for now, that shall work. you can track this issue in: https://bugzilla.redhat.com/show_bug.cgi?id=831469
Thanks,
Haim
I would like to add on Haim's words , that the fix for this bug was already merged up stream, if you have the ability to compile oVirt on your own , you can have the fix right now.
----- Original Message ----- From: "Ian Levesque" <ian@crystal.harvard.edu> To: users@ovirt.org Sent: Tuesday, June 12, 2012 10:17:47 PM Subject: [Users] Can't add an NFS storage domain
Hi,
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+
Thanks for any insight. Ian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 06/13/2012 08:41 AM, Yair Zaslavsky wrote:
On 06/13/2012 07:41 AM, Haim Ateya wrote:
Hi Ian,
You seem to run into a bug in our advanced NFS options capability. in order to workaround this issue, please use 'Auto Negotiate' option for now, that shall work. you can track this issue in: https://bugzilla.redhat.com/show_bug.cgi?id=831469
Thanks,
Haim
I would like to add on Haim's words , that the fix for this bug was already merged up stream, if you have the ability to compile oVirt on your own , you can have the fix right now.
yair - please change the bug to MODIFIED in that case and reference the relevant patch. thanks
----- Original Message ----- From: "Ian Levesque"<ian@crystal.harvard.edu> To: users@ovirt.org Sent: Tuesday, June 12, 2012 10:17:47 PM Subject: [Users] Can't add an NFS storage domain
Hi,
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+
Thanks for any insight. Ian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Jun 13, 2012, at 1:41 AM, Yair Zaslavsky wrote:
On 06/13/2012 07:41 AM, Haim Ateya wrote:
TypeError: %d format: a number is required, not str
Hi Ian,
You seem to run into a bug in our advanced NFS options capability. in order to workaround this issue, please use 'Auto Negotiate' option for now, that shall work. you can track this issue in: https://bugzilla.redhat.com/show_bug.cgi?id=831469
Thanks,
Haim
I would like to add on Haim's words , that the fix for this bug was already merged up stream, if you have the ability to compile oVirt on your own , you can have the fix right now.
Hi Haim, Yair - I patched storageServer.py using the diff referenced in the commit; it solved this problem. Thanks! Ian
participants (4)
-
Haim Ateya
-
Ian Levesque
-
Itamar Heim
-
Yair Zaslavsky