Change in ovirt-engine[ovirt-engine-4.0]: engine: improve handling of 3.6 hosts in 4.x clusters

Code Review gerrit at ovirt.org
Wed Dec 14 11:58:30 UTC 2016


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged.

Change subject: engine: improve handling of 3.6 hosts in 4.x clusters
......................................................................


engine: improve handling of 3.6 hosts in 4.x clusters

Hosts not supporting cluster versions >= 4.0 does not report their
switch type. Such hosts to a cluster versions >= 4.0 get in a blocked
state, because their capabilities could not parsed because of the
missing switch type.

This patch makes the switch type required only for hosts, which claim
to support a cluster version >= 4.0, independently of the used
compatibility version of the cluster. This enables hosts to fail nicely by the
HandleVdsVersionCommand when added to a cluster of an unsupported
version.

Change-Id: I6e44f2650daf509216435e2d8f92310486cd9864
Bug-Url: https://bugzilla.redhat.com/1375573
Signed-off-by: Dominik Holler <dholler at redhat.com>
(cherry picked from commit 99aabdd74733e95e3f42c67b4427c0ebb6f4be26)
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsBrokerObjectsBuilder.java
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Dominik Holler: Verified
  Jenkins CI: Passed CI tests
  Moti Asayag: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6e44f2650daf509216435e2d8f92310486cd9864
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Dominik Holler <dholler at redhat.com>
Gerrit-Reviewer: Dominik Holler <dholler at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>



More information about the Engine-commits mailing list