Shubhendu Tripathi has posted comments on this change.

Change subject: engine: VDS command to stop and delete geo-rep session
......................................................................


Patch Set 2:

(5 comments)

http://gerrit.ovirt.org/#/c/33006/2/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllErrors.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllErrors.java:

Line 400:     GlusterLibgfapiException(4570),
Line 401:     GlfsStatvfsException(4571),
Line 402:     GlfsInitException(4572),
Line 403:     GlfsFiniException(4573),
Line 404:     GlusterGeoRepSessionDeleteFailedException(4594),
what about GlusterVolumeGeoRepSessionDeleteException and 
GlusterVolumeGeoRepSessionStopFailedException respectively ??
Line 405:     GlusterVolumeGeoRepStopFailedException(4596),
Line 406:     GlusterVolumeGeoRepStatusFailed(4599),
Line 407:     GlusterVolumeGeoRepStatusDetailFailed(4600),
Line 408: 


http://gerrit.ovirt.org/#/c/33006/2/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
File 
backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties:

Line 375: GlusterLibgfapiException=Command failed due to gluster libgfapi 
exception
Line 376: GlfsStatvfsException=Failed to get gluster volume size info
Line 377: GlfsInitException=Command failed while mounting gluster volume
Line 378: GlfsFiniException=Command failed while unmounting gluster volume
Line 379: GlusterGeoRepSessionDeleteFailedException=Failed to delete 
geo-replication session
Same as earlier
Line 380: GlusterVolumeGeoRepStopFailedException=Failed to stop geo-replication 
session
Line 381: 
Line 382: CANT_RECONSTRUCT_WHEN_A_DOMAIN_IN_POOL_IS_LOCKED=Can't reconstruct 
the Master Domain when the Data Center contains Domains in Locked 
state.\nPlease wait until the operation for these Domains ends before trying to 
reconstruct the Master Domain again.
Line 383: NO_IMPLEMENTATION=Not implemented


http://gerrit.ovirt.org/#/c/33006/2/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsServerWrapper.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsServerWrapper.java:

Line 1230:         }
Line 1231:     }
Line 1232: 
Line 1233: 
Line 1234: 
Un-necessary
Line 1235:     @Override
Line 1236:     public StatusOnlyReturnForXmlRpc vmUpdateDevice(String vmId, Map 
device) {
Line 1237:         try {
Line 1238:             Map<String, Object> xmlRpcReturnValue =


Line 1423: 
Line 1424:     @Override
Line 1425:     public StatusOnlyReturnForXmlRpc 
glusterVolumeGeoRepSessionDelete(String volumeName, String remoteHost, String 
remoteVolumeName) {
Line 1426:         try {
Line 1427:             return new 
StatusOnlyReturnForXmlRpc(vdsServer.glusterVolumeGeoRepSessionDelete(volumeName,
 remoteVolumeName, remoteVolumeName));
remoteVolumeName passed twice. I feel remoteHost to be passed as second arg
Line 1428:         } catch (UndeclaredThrowableException ute) {
Line 1429:             throw new XmlRpcRunTimeException(ute);
Line 1430:         }
Line 1431:     }


Line 1432: 
Line 1433:     @Override
Line 1434:     public StatusOnlyReturnForXmlRpc 
glusterVolumeGeoRepSessionStop(String volumeName, String remoteHost, String 
remoteVolumeName, Boolean force) {
Line 1435:         try {
Line 1436:             return new 
StatusOnlyReturnForXmlRpc(vdsServer.glusterVolumeGeoRepSessionStop(volumeName, 
remoteVolumeName, remoteVolumeName, force));
Same as above
Line 1437:         } catch (UndeclaredThrowableException ute) {
Line 1438:             throw new XmlRpcRunTimeException(ute);
Line 1439:         }
Line 1440:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib9f4a32783f2b119a56873b4c1290b10f8b208c8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Ramesh N <rnach...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: anmolbabu <anb...@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