Oved Ourfali has uploaded a new change for review.

Change subject: core: fencing proxy should be checked for cluster level
......................................................................

core: fencing proxy should be checked for cluster level

Previous patch checked the host itself rather than the proxy

Change-Id: I351655e49f4e1e8db7941426fc645575b940d7d5
Bug-Url: https://bugzilla.redhat.com/1177144
Signed-off-by: Oved Ourfali <oourf...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceProxyLocator.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/90/36390/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceProxyLocator.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceProxyLocator.java
index 901118f..666061f 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceProxyLocator.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceProxyLocator.java
@@ -108,7 +108,7 @@
                     || host.getId().equals(excludedHostId)
                     || !matchesOption(host, proxyOption)
                     || !areAgentsVersionCompatible(host)
-                    || (fencingPolicy != null && 
!isFencingPolicySupported(_vds, minSupportedVersion))
+                    || (fencingPolicy != null && 
!isFencingPolicySupported(host, minSupportedVersion))
                     || isHostNetworkUnreacable(host)) {
                 iterator.remove();
             }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I351655e49f4e1e8db7941426fc645575b940d7d5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Oved Ourfali <oourf...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to