[vdsm] vdsm rpm sanity test is failing
Hi, I sent a patch to vdsm in gerrit, but rpm sanity test is failing. Please suggest how to fix this. patch: http://gerrit.ovirt.org/#/c/17822/6 sanity test: http://jenkins.ovirt.org/job/vdsm_install_rpm_sanity_gerrit/148/ -- regards Aravinda ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
[vdsm] Help needed to debug segfault when using ctypes
Hi, In following patch I am using ctypes to load libgfapi(GlusterFS API) to get the Gluster volume statvfs information. http://gerrit.ovirt.org/#/c/17822 I am getting *segfault* when I run vdsClient 0 glusterVolumeSizeInfoGet volumeName=gv1 But I checked as below and it is working. cd /usr/share/vdsm python from gluster import gfapi print gfapi.volumeStatvfs(gv1) posix.statvfs_result(f_bsize=4096L, f_frsize=4096L, f_blocks=25803070L, f_bfree=19130426L, f_bavail=17819706L, f_files=6553600L, f_ffree=5855876L, f_favail=5855876L, f_flag=4096L, f_namemax=255L) Please suggest how I can debug this issue. -- Regards Aravinda ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
Re: [vdsm] [Engine-devel] Adding vdsm_api support for gluster vdsm verbs
[Adding Saggi, Adam, Dan, Sahina] On 04/16/2013 02:13 PM, Aravinda wrote: [Adding engine-devel] On 04/16/2013 02:10 PM, Aravinda wrote: vdsm/gluster is vdsm plugin for gluster related functionality. These functionalities are available only when vdsm-gluster package is installed. So the schema JSON of vdsm-gluster cannot be added to the same file(vdsm_api/vdsmapi-schema.json) Looks like vdsm_api is not providing plugin support. This patch adds functionality to vdsm_api to read vdsmapi-gluster-schema.json if available. But with this approach we need to edit the core vdsmapi.py file. http://gerrit.ovirt.org/#/c/13921/ Alternate approach: We can have vdsm_api/plugins or vdsm_api/schema directory inside vdsm_api, so that we can modify vdsmapi.py to read all schema files from that dir. When vdsm-gluster package installed, it copies vdsmapi-gluster-schema.json into schema directory. -- regards Aravinda On 04/15/2013 04:14 PM, Aravinda wrote: Hi, We are trying to add json rpc support for vdsm gluster verbs. I submitted a patch to read gluster verbs schema from vdsm/gluster directory. http://gerrit.ovirt.org/#/c/13921/ Let me know if the approach is fine. -- regards Aravinda ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
Re: [vdsm] Adding vdsm_api support for gluster vdsm verbs
[Adding engine-devel] On 04/16/2013 02:10 PM, Aravinda wrote: vdsm/gluster is vdsm plugin for gluster related functionality. These functionalities are available only when vdsm-gluster package is installed. So the schema JSON of vdsm-gluster cannot be added to the same file(vdsm_api/vdsmapi-schema.json) Looks like vdsm_api is not providing plugin support. This patch adds functionality to vdsm_api to read vdsmapi-gluster-schema.json if available. But with this approach we need to edit the core vdsmapi.py file. http://gerrit.ovirt.org/#/c/13921/ Alternate approach: We can have vdsm_api/plugins or vdsm_api/schema directory inside vdsm_api, so that we can modify vdsmapi.py to read all schema files from that dir. When vdsm-gluster package installed, it copies vdsmapi-gluster-schema.json into schema directory. -- regards Aravinda On 04/15/2013 04:14 PM, Aravinda wrote: Hi, We are trying to add json rpc support for vdsm gluster verbs. I submitted a patch to read gluster verbs schema from vdsm/gluster directory. http://gerrit.ovirt.org/#/c/13921/ Let me know if the approach is fine. -- regards Aravinda ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel