Moti Asayag 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(a)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, 49 insertions(+), 22 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Moti Asayag: Verified
Oved Ourfali: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/50921
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf5baa9f57d3c8fad1091e2141350961a2ceb4b0
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>