Federico Simoncelli has posted comments on this change.

Change subject: backend: add a new specific VDS_CONNECTION_ERROR
......................................................................


Patch Set 2:

(1 comment)

....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/SpmStopVDSCommand.java
Line 54:                     VDSError error = new VDSError();
Line 55:                     error.setCode(VdcBllErrors.TaskInProgress);
Line 56:                     getVDSReturnValue().setVdsError(error);
Line 57:                 } else if (getVDSReturnValue().getVdsError().getCode() 
== VdcBllErrors.VDS_NETWORK_ERROR
Line 58:                         || getVDSReturnValue().getVdsError().getCode() 
== VdcBllErrors.VDS_CONNECTION_ERROR) {
Can you give an example? I went over all the VDS_NETWORK_ERROR and I couldn't 
spot any other check worth changing. I only had a doubt about 
AsyncTaskManager.java where it's basically used just to log a different error 
message.
Line 59:                     log.infoFormat(
Line 60:                             "SpmStopVDSCommand::Could not get tasks on 
vds {0} - network exception, not stopping spm! pool id {1}",
Line 61:                             getVds().getName(),
Line 62:                             getParameters().getStoragePoolId());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icac5e6fa1d7113e6a478f6beb98066b35b2785e5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Ayal Baron <aba...@redhat.com>
Gerrit-Reviewer: Cheryn Tan <cheryn...@redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
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