Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1373832

Summary: Add all APIs needed to support jsonrpc in MOM
Product: [oVirt] vdsm Reporter: Martin Sivák <msivak>
Component: Bindings-APIAssignee: Martin Sivák <msivak>
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.18.0CC: akrejcir, bgraveno, bugs, dfediuck, mavital, mgoldboi, msivak
Target Milestone: ovirt-4.0.5Flags: rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
msivak: devel_ack+
mavital: testing_ack+
Target Release: 4.18.15.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The Memory Overcommit Manager (MoM) can now use JSONRPC insead of XMLRPC for communication with the VDSM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:38:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1389326    
Bug Blocks: 1346926, 1392986    

Description Martin Sivák 2016-09-07 08:48:00 UTC
Description of problem:

Some APIs need to be updated and fixed to make MOM's jsonrpc layer work with VDSM in oVirt 4.0.

Comment 1 Shira Maximov 2016-10-13 08:39:12 UTC
Martin, 
Please add verification steps.

Comment 2 Andrej Krejcir 2016-10-13 13:27:10 UTC
MOM uses these jsonrpc calls:

- ping
- getAllVmStats
- setBalloonTarget
- setCpuTuneQuota
- setCpuTunePeriod
- getIoTunePolicy
- getIoTune
- setIoTune
- setKsmTune

Comment 3 Red Hat Bugzilla Rules Engine 2016-10-27 13:11:08 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 4 Shira Maximov 2016-10-27 13:44:19 UTC
I moved the bug to ASSIGNED by mistake, changing it back to ON_QA

Comment 5 Shira Maximov 2016-11-10 13:58:18 UTC
verified on : 
vdsm-4.18.15-23.git9656d58.el7.centos.x86_64
mom-0.5.8-1.el7ev.noarch

verification steps: 
1. working with master
2. make sure the interface is: vdsmjsonrpcbulk (/etc/vdsm/mom.conf)
3. running automation sanity test.