Change in mom[master]: New hypervisor interface for remote VDSM over XML-RPC with s...

alitke at redhat.com alitke at redhat.com
Tue Jun 9 13:22:36 UTC 2015


Adam Litke has submitted this change and it was merged.

Change subject: New hypervisor interface for remote VDSM over XML-RPC with stats caching
......................................................................


New hypervisor interface for remote VDSM over XML-RPC with stats caching

This patch adds a new vdsmxmlrpcInterface that uses getAllVmStats
for retrieving all information about all VMs at the same time.

The stats structure is then cached for 5 seconds to make sure we
are not overloading VDSM with constant requests.

XML-RPC client is stateless so it does not matter if VDSM dies or
restarts between requests, MOM will treat the situation as if the
host was empty and will keep running.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1227714
Change-Id: I314f39f9020ee257827145a57f585e7921a913e3
Signed-off-by: Martin Sivak <msivak at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/41570
Reviewed-by: Francesco Romani <fromani at redhat.com>
Reviewed-by: Adam Litke <alitke at redhat.com>
---
M mom/HypervisorInterfaces/Makefile.am
A mom/HypervisorInterfaces/vdsmxmlrpcInterface.py
2 files changed, 272 insertions(+), 0 deletions(-)

Approvals:
  Adam Litke: Looks good to me, approved
  Martin Sivák: Verified
  Francesco Romani: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/41570
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I314f39f9020ee257827145a57f585e7921a913e3
Gerrit-PatchSet: 9
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list