Martin Peřina has posted comments on this change.

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


Patch Set 2:

(1 comment)

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

Line 160:             VDSFenceReturnValue result = 
getMostRelevantResult(results);
Line 161: 
Line 162:             if (result != null) {
Line 163:                 if (result.getSucceeded()) {
Line 164:                     int numOfSkipped = 
countSkippedOperations(results);
> Consider changing that in the work planned for 3.6.
Well, it's agent agnostic, but concurrent agents make things complicated :-(

Take a look at difference between start and stop operation: for stop to be 
successful all agents should return successful stop (that;s ok). BUT for start, 
one agent that reported success is enough. From my previous experience if 
server has 2 power sources, it can be turned on with only 1 up, but in many 
cases it will raise error when it tries to startup all disks ...
Line 165:                     if (numOfSkipped == 0) {
Line 166:                         // no agent reported that stop operation was 
skipped, continue with stop operation
Line 167:                         handleSpecificCommandActions();
Line 168:                     } else {


-- 
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