[ovirt-devel] Killing XMLRPC on master

Martin Sivak msivak at redhat.com
Tue Jun 21 08:11:38 UTC 2016


On Mon, Jun 20, 2016 at 6:26 PM, Nir Soffer <nsoffer at redhat.com> wrote:
> On Mon, Jun 20, 2016 at 11:33 AM, Martin Sivak <msivak at redhat.com> wrote:
>>> 1. Mom is still using xmlrpc
>>>
>>> Mom must move to jsonrpc.
>>> Martin: can you update on progress of this work?
>>
>> We would like to avoid going through VDSM completely, except from the
>> broker part. Is it possible now to "parasitically" listen to vdsm
>> events and engine commands without having to go through VDSM API?
>>
>> You can drop XML RPC,. vdsm does not depend on MOM working anymore.
>> Just the balloon and ksm stats will be missing from data that are
>> being sent to the engine.
>
> Martin, can you list the verbs that mom is using?

Easily:

Those below are currently used by MOM directly:

getAllVmStats
vmSetCpuTuneQuota
vmSetCpuTunePeriod
getIoTunePolicy
getIoTune
setIoTune
setKsmTune

We also have some verbs that are used by the engine and forwarded to MOM:

setMOMPolicyParameters
setMOMPolicy
updateVmPolicy


Btw, about stats collection:

Balloon stats are collected by VDSM
KSM stats are collected by MOM and VDSM grabs them in
vdsm.momIF.MomClient#getKsmStats


Martin


>
> Removing the verbs that nobody is using now can be nice progress.
>
> Nir



More information about the Devel mailing list