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

Code Review gerrit at ovirt.org
Tue Dec 13 09:54:38 UTC 2016


>From Moti Asayag <masayag at redhat.com>:

Moti Asayag 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>
---
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/67596
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6e44f2650daf509216435e2d8f92310486cd9864
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Dominik Holler <dholler at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Dominik Holler <dholler at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marcin Mirecki <mmirecki at redhat.com>
Gerrit-Reviewer: Martin Mucha <mmucha at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list