Oved Ourfali has posted comments on this change.

Change subject: core: Suppress VdsNotResponding execution if fencing is disabled
......................................................................


Patch Set 1: Code-Review+1

(2 comments)

Overall looks okay.
Please see my questions to make sure we're in a good path here.

http://gerrit.ovirt.org/#/c/31257/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsNotRespondingTreatmentCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsNotRespondingTreatmentCommand.java:

Line 76:                 return false;
Line 77:             }
Line 78:         }
Line 79:         return super.canDoAction();
Line 80:     }
What about soft fencing? We would like it to run in case of an issue.
Line 81: 
Line 82:     /**
Line 83:      * Only fence the host if the VDS is down, otherwise it might have 
gone back up until this command was executed. If
Line 84:      * the VDS is not fenced then don't send an audit log event.


http://gerrit.ovirt.org/#/c/31257/1/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java:

Line 319:     VDS_NO_VDS_PROXY_FOUND(ErrorType.CONFLICT),
Line 320:     VDS_FAILED_FENCE_VIA_PROXY_CONNECTION(ErrorType.CONFLICT),
Line 321:     VDS_FENCE_DISABLED_AT_SYSTEM_STARTUP_INTERVAL(ErrorType.CONFLICT),
Line 322:     VDS_FENCE_DISABLED_AT_QUIET_TIME(ErrorType.CONFLICT),
Line 323:     VDS_FENCE_DISABLED_BY_CLUSTER_POLICY(ErrorType.CONFLICT),
Why conflict? How would that be reflected in the log?
Line 324:     VDS_STATUS_NOT_VALID_FOR_UPDATE(ErrorType.CONFLICT),
Line 325:     VDS_EMPTY_NAME_OR_ID(ErrorType.BAD_PARAMETERS),
Line 326:     VDS_TRY_CREATE_WITH_EXISTING_PARAMS(ErrorType.BAD_PARAMETERS),
Line 327:     VDS_EMPTY_NAME(ErrorType.BAD_PARAMETERS),


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I784564e41c89b4a95eff3377cd6545cf907ecdce
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to