Change in ovirt-engine[master]: core: protocol fall back for older vdsms

oourfali at redhat.com oourfali at redhat.com
Thu Oct 23 06:04:55 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: core: protocol fall back for older vdsms
......................................................................


core: protocol fall back for older vdsms

When we try to install new host which only supports xmlrpc and we have
cluster with compatibility level set to 3.5+ the code will fail.
Solution for this issue is attempting to connect by using jsonrpc and if
it fails falling back to xmlrpc.

Bug-Url: https://bugzilla.redhat.com/1149655
Change-Id: Ie9af3129a4adf839f2d4c2e110425a6c69e45256
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/InstallVdsInternalCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/transport/ProtocolDetector.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
4 files changed, 56 insertions(+), 11 deletions(-)

Approvals:
  Piotr Kliczewski: Verified
  Oved Ourfali: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/34255
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie9af3129a4adf839f2d4c2e110425a6c69e45256
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list