[ovirt-devel] Killing XMLRPC on master

Michal Skrivanek michal.skrivanek at redhat.com
Wed Jun 22 08:44:14 UTC 2016


> On 21 Jun 2016, at 10:11, Martin Sivak <msivak at redhat.com> wrote:
> 
> 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

should probably think about keeping it this way or letting mom to send this data…but not sure it’s worth the troubles of twice as many host stats updates
it doesn’t sounds like much benefit to change it right now. What do you think?

> 
> 
> Martin
> 
> 
>> 
>> Removing the verbs that nobody is using now can be nice progress.
>> 
>> Nir
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel




More information about the Devel mailing list