<div dir="ltr"><div><div><div>Ramesh,<br><br></div>In Bridge.py we only load gluster schema when:<br><br> if _glusterEnabled:<br> paths.append(vdsmapi.find_schema('vdsm-api-gluster'))<br><br></div><div>which is determine by:<br><br>try:<br> import gluster.apiwrapper as gapi<br> import gluster.exception as ge<br> _glusterEnabled = True<br>except ImportError:<br> _glusterEnabled = False<br></div><div><br></div><div>New yml schema should be available in /usr/lib/python2.7/site-packages/vdsm/rpc/vdsm-api-gluster.yml<br></div><div><br><br></div>Thanks,<br></div>Piotr<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 9:37 AM, Ramesh Nachimuthu <span dir="ltr"><<a href="mailto:rnachimu@redhat.com" target="_blank">rnachimu@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
None of the Gluster verbs are working in the new VDSM build. I see following error in vdsm.log when I try ' vdsClient -s 0 glusterHostsList'. I am not able to create a Cluster with Gluster service in oVirt. Please help.<br>
<br>
<br>
jsonrpc.Executor/5::DEBUG::2016-05-25 12:53:03,790::__init__::510::jsonrpc.JsonRpcServer::(_serveRequest) Calling 'GlusterHost.list' in bridge with {}<br>
jsonrpc.Executor/5::ERROR::2016-05-25 12:53:03,791::executor::193::Executor::(_execute_task) Unhandled exception in Task(callable=<functools.partial object at 0x5b20368>, timeout=None)<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 191, in _execute_task<br>
task.callable()<br>
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 512, in _serveRequest<br>
method = self._bridge.dispatch(req.method)<br>
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 102, in dispatch<br>
self._schema.get_method(className, methodName)<br>
File "/usr/lib/python2.7/site-packages/api/vdsmapi.py", line 124, in get_method<br>
raise MethodNotFound(verb_name)<br>
MethodNotFound: GlusterHost.list<br>
<br>
VDSM Packages installed:<br>
[root@dhcp42-217 ~]# rpm -qa|grep vdsm<br>
vdsm-api-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-cli-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-python-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-jsonrpc-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-4.18.0-43.git6f7fc83.el7.centos.x86_64<br>
vdsm-gluster-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-infra-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-xmlrpc-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-yajsonrpc-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
vdsm-hook-vmfex-dev-4.18.0-43.git6f7fc83.el7.centos.noarch<br>
[root@dhcp42-217 ~]#<br>
<br>
<br>
I have attached the vdsm log here.<br>
<br>
</blockquote></div><br></div>