Ravi Nori has uploaded a new change for review.

Change subject: engine : incomplete error when trying to add host with wrong 
cluster ID
......................................................................

engine : incomplete error when trying to add host with wrong cluster ID

An internal error when wrong cluster id is passed
causing incomplete error message.

Change-Id: If54bcf4ab325d607c869bb8aec609718c15e8b26
Bug-Url: https://bugzilla.redhat.com/890469
Signed-off-by: Ravi Nori <rn...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/95/13995/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
index 229b59d..ba6bfd3 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
@@ -190,7 +190,7 @@
     }
 
     private boolean isGlusterSupportEnabled() {
-        return getVdsGroup().supportsGlusterService() && 
getParameters().isGlusterPeerProbeNeeded();
+        return getVdsGroup() != null && getVdsGroup().supportsGlusterService() 
&& getParameters().isGlusterPeerProbeNeeded();
     }
 
     /**


--
To view, visit http://gerrit.ovirt.org/13995
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If54bcf4ab325d607c869bb8aec609718c15e8b26
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.2
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to