Re: [vdsm] vdsm event loop issue

2012-06-06 Thread Anthony Liguori
On 06/07/2012 10:53 AM, Royce Lv wrote: Thread eventloop: poll.poll(timeout) vdsm mainThread: os.setgroups/os.setuid/os.setgid,etc eventloop will receive EINTR and stops, events callback can't be reacted from then on.Libvirt/vdsm connection's

Re: [vdsm] About xmlrpc an rest api

2012-06-06 Thread Alex Jia
The following is a simple example to tell you how to use xmlrpc to connect vdsm daemon: http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=vdsm_cli/vdscli.py.in For document, you may git clone git://gerrit.ovirt.org/vdsm then compile get relevant docs, but I haven't try it. Good Luck! Alex

[vdsm] SSLError with vdsm

2012-06-06 Thread Wenyi Gao
Hi guys, When I ran the cmmand vdsClient -s 0 getVdsCaps, I got the following error: $ vdsClient -s 0 getVdsCaps Traceback (most recent call last): File /usr/share/vdsm/vdsClient.py, line 2275, in module code, message = commands[command][0](commandArgs) File

Re: [vdsm] SSLError with vdsm

2012-06-06 Thread Zhou Zheng Sheng
Hi, It is because normal user do not have the privilege to access the keys in /etc/pki/vdsm/keys/ and certificates in /etc/pki/vdsm/certs/. You can su to root or sudo vdsClient to use SSL connection. 于 2012年06月07日 13:03, Wenyi Gao 写道: Hi guys, When I ran the cmmand vdsClient -s 0