This is a multipart message in MIME format. ------=_NextPart_000_00F7_01D1E76E.0E1E4A60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 1. We know that xmlrpc and jsonrpc are enabled default in vdsm, vdsm supply these two service in one port or two? What's the port number and how we can change it? 2. How can we know a vdsm host can supply an xmlrpc service or a jsonrpc service? 3. I found that while ovirt engine installing a vdsm host, engine will check whether we are connecting to vdsm which supports xmlrpc only, engine send a 'Host.ping' jsonrpc request, why the code will enter into bindingxmlrpc.py? Did both jsonrpc and xmlrpc will call bindingxmlrpc.py? 4. Then, I just get an json return with code = 0 or code = 99. What does these error code mean ? I can't find detail in rpcjson Specification(http://www.jsonrpc.org/specification) 5. When installing vdsm, I got an "Host server117 installation failed. Host is not reachable" error. Debugging code as follows: Bindingxmlrpc.py line637 def ping(self): line638 # print 'os.getuid()',os.getuid() = 0 line639 # print 'os.getegit()',os.getegid() =0 line640 api = API.Global() line641 return api.ping() the api.ping() just open an file and update the file updating time, why these will throw an error code 0 or 99? And I see the ping() function created file /var/run/vdsm/client.log already exists in os, the only difference is the file is owned by root:root , not the vdsm:kvm? Why? Thank you. ------=_NextPart_000_00F7_01D1E76E.0E1E4A60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
1. =
We know that xmlrpc =
and jsonrpc are enabled default in vdsm, vdsm supply these two service =
in one port or two? What’s the port number and how we can change =
it?
2. =
How can we know a vdsm =
host can supply an xmlrpc service or a jsonrpc =
service?
=
3. =
I found that while =
ovirt engine installing a vdsm host, engine will check whether we are =
connecting to vdsm which supports xmlrpc only, engine send a =
‘Host.ping’ jsonrpc request, why the code will enter =
into bindingxmlrpc.py?
Did both jsonrpc and xmlrpc will call =
bindingxmlrpc.py?
4. =
Then, I just get an =
json return with code =3D 0 or code =3D 99. What does these error code =
mean ? I can’t find detail in rpcjson Specification(http://www.jsonrpc.org/spec=
ification)
5. =
When installing vdsm, =
I got an “Host server117 installation failed. Host is not =
reachable” error. Debugging code as =
follows:
Bindingxmlrpc.py
line637 def =
ping(self):
line638 # print =
'os.getuid()',os.getuid() =3D 0
line639 # print =
'os.getegit()',os.getegid() =3D0
line640 api =3D =
API.Global()
line641 return =
api.ping()
the api.ping() just open an file and update the file =
updating time, why these will throw an error code 0 or 99? And I see the =
ping() function created file /var/run/vdsm/client.log already exists in =
os,
the =
only difference is the file is owned by root:root , not the vdsm:kvm? =
Why?
Thank you.