Change in ovirt-hosted-engine-ha[master]: jsonrpc: removing vdsClient

sbonazzo at redhat.com sbonazzo at redhat.com
Wed Oct 12 10:12:15 UTC 2016


Sandro Bonazzola has submitted this change and it was merged.

Change subject: jsonrpc: removing vdsClient
......................................................................


jsonrpc: removing vdsClient

Removing the usage of vdsClient and moving every call to jsonrpc.
In this patch every vdsClient command is replaced opening a
vdscli connection, sending the command and letting the
connection close itself when not needed.
Another patch will address the use of a persistent connection for
performance issues.

Change-Id: Ic01450d7a5c421235b5b9d0bde79b869a6861c64
Bug-Url: https://bugzilla.redhat.com/1101554
Depends-On: https://gerrit.ovirt.org/#/c/64324
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
---
M ovirt_hosted_engine_ha/agent/hosted_engine.py
M ovirt_hosted_engine_ha/agent/states.py
M ovirt_hosted_engine_ha/broker/submonitors/cpu_load_no_engine.py
M ovirt_hosted_engine_ha/broker/submonitors/engine_health.py
M ovirt_hosted_engine_ha/broker/submonitors/mem_free.py
M ovirt_hosted_engine_ha/broker/submonitors/mem_load.py
M ovirt_hosted_engine_ha/broker/submonitors/mgmt_bridge.py
M ovirt_hosted_engine_ha/lib/Makefile.am
M ovirt_hosted_engine_ha/lib/util.py
D ovirt_hosted_engine_ha/lib/vds_client.py
10 files changed, 191 insertions(+), 269 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Simone Tiraboschi: Verified
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic01450d7a5c421235b5b9d0bde79b869a6861c64
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list