Change in ovirt-engine[ovirt-engine-3.6]: engine: Set host protocol to jsonrpc automatically
tnisan at redhat.com
tnisan at redhat.com
Mon Dec 28 09:20:11 UTC 2015
Tal Nisan has submitted this change and it was merged.
Change subject: engine: Set host protocol to jsonrpc automatically
......................................................................
engine: Set host protocol to jsonrpc automatically
In order to simplify host upgrade and cluster upgrade process,
the host protocol will be set to jsonrpc by the following criteria:
* The host belongs to cluster which supports jsonrpc (>= 3.5)
* The existing host's protocol is xmlrpc
* The host was active in the system, so its capabilities were collected
and supports jsonrpc.
In this case, any host that was upgraded or re-installed in the system,
will be set to jsonrpc protocol as part of the upgrade/reinstall
process and will reduce the need to explicitly move each host to
jsonrpc before upgrading the cluster level to 3.6.
Change-Id: Ibf5baa9f57d3c8fad1091e2141350961a2ceb4b0
Bug-Url: https://bugzilla.redhat.com/1286452
Signed-off-by: Moti Asayag <masayag at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/HostUpgradeCallback.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/InstallVdsInternalCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/UpdateVdsCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/UpgradeHostInternalCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/UpgradeOvirtNodeInternalCommand.java
6 files changed, 52 insertions(+), 23 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Moti Asayag: Verified
Oved Ourfali: Looks good to me, approved
--
To view, visit https://gerrit.ovirt.org/51094
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf5baa9f57d3c8fad1091e2141350961a2ceb4b0
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list