Kanagaraj M has uploaded a new change for review. Change subject: engine: skip cpu checks when moving host to gluster-cluster ......................................................................
engine: skip cpu checks when moving host to gluster-cluster While moving a host from one cluster to another cluster, cpu and archtecture will be checked only if the target cluster supports virtualization. Change-Id: I785fce50e730743bfd3dcc28773a37e8eb33f82e Bug-Url: https://bugzilla.redhat.com/1106459 Signed-off-by: Kanagaraj M <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ChangeVDSClusterCommand.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/75/28575/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ChangeVDSClusterCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ChangeVDSClusterCommand.java index b6fb01f..740f515 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ChangeVDSClusterCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ChangeVDSClusterCommand.java @@ -118,7 +118,7 @@ // CPU flags are null if oVirt node cluster is changed during approve process. - if (!StringUtils.isEmpty(vds.getCpuFlags())) { + if (getTargetCluster().supportsVirtService() && !StringUtils.isEmpty(vds.getCpuFlags())) { if (vds.getCpuName() == null) { return failCanDoAction(VdcBllMessages.CPU_TYPE_UNSUPPORTED_IN_THIS_CLUSTER_VERSION); } -- To view, visit http://gerrit.ovirt.org/28575 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I785fce50e730743bfd3dcc28773a37e8eb33f82e Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Kanagaraj M <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
