Ramesh,
In Bridge.py we only load gluster schema when:
if _glusterEnabled:
paths.append(vdsmapi.find_schema('vdsm-api-gluster'))
which is determine by:
try:
import gluster.apiwrapper as gapi
import gluster.exception as ge
_glusterEnabled = True
except ImportError:
_glusterEnabled = False
New yml schema should be available in
/usr/lib/python2.7/site-packages/vdsm/rpc/vdsm-api-gluster.yml
Thanks,
Piotr
On Wed, May 25, 2016 at 9:37 AM, Ramesh Nachimuthu <rnachimu(a)redhat.com>
wrote:
Hi,
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.
jsonrpc.Executor/5::DEBUG::2016-05-25
12:53:03,790::__init__::510::jsonrpc.JsonRpcServer::(_serveRequest) Calling
'GlusterHost.list' in bridge with {}
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)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 191, in
_execute_task
task.callable()
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 512,
in _serveRequest
method = self._bridge.dispatch(req.method)
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 102, in
dispatch
self._schema.get_method(className, methodName)
File "/usr/lib/python2.7/site-packages/api/vdsmapi.py", line 124, in
get_method
raise MethodNotFound(verb_name)
MethodNotFound: GlusterHost.list
VDSM Packages installed:
[root@dhcp42-217 ~]# rpm -qa|grep vdsm
vdsm-api-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-cli-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-python-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-jsonrpc-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-4.18.0-43.git6f7fc83.el7.centos.x86_64
vdsm-gluster-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-infra-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-xmlrpc-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-yajsonrpc-4.18.0-43.git6f7fc83.el7.centos.noarch
vdsm-hook-vmfex-dev-4.18.0-43.git6f7fc83.el7.centos.noarch
[root@dhcp42-217 ~]#
I have attached the vdsm log here.