Martin Peřina has posted comments on this change.

Change subject: core: Fix skip fencing if host connected to storage
......................................................................


Patch Set 2:

(2 comments)

Can we merge?

http://gerrit.ovirt.org/#/c/36581/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceVdsBaseCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceVdsBaseCommand.java:

Line 207:                     fenceAgent.getId());
Line 208:         } else if (wasSkippedDueToPolicy(fenceExecutionResult)) {
Line 209:             // fencing execution was skipped due to fencing policy
Line 210:             return fenceExecutionResult;
Line 211:         } else {
> I didn't mean that what you did here is a bug, I meant the opposite,  what 
Ahh, sorry I misunderstood your comment :(

Thanks
Line 212:             if (fenceExecutionResult.getSucceeded()) {
Line 213:                 boolean requiredStatusAchieved = waitForStatus();
Line 214:                 int i = 0;
Line 215:                 while (!requiredStatusAchieved && i < retries) {


http://gerrit.ovirt.org/#/c/36581/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RestartVdsCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RestartVdsCommand.java:

Line 211:             if (fenceReturnValue.getReturnValue() instanceof 
FenceStatusReturnValue) {
Line 212:                 skipped = ((FenceStatusReturnValue) 
fenceReturnValue.getReturnValue()).getIsSkipped();
Line 213:             }
Line 214:         }
Line 215:         return skipped;
> You're misunderstanding me, I'm not saying that you inserted a bug, but tha
Ahh, sorry I misunderstood your comment :(

Thanks
Line 216:     }
Line 217: 
Line 218:     @Override
Line 219:     public String getUserName() {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I84fa56e75adf988ce36b1154269dab8974cf05bf
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Ori Liel <ol...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to