anmolbabu has uploaded a new change for review. Change subject: engine: Pass username for non-root geo-rep session sync ......................................................................
engine: Pass username for non-root geo-rep session sync This patch fixes the previously occuring problem of unknown session status occuring while syncing non-root geo-rep session by passing the user name optional parameter. Change-Id: I3a51bc0cdbb2a96a396f31cade4587d7154329f4 Signed-off-by: Anmol Babu <anb...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterGeoRepSyncJob.java 1 file changed, 7 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/36/42336/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterGeoRepSyncJob.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterGeoRepSyncJob.java index b8d6d0a..5cab976 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterGeoRepSyncJob.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterGeoRepSyncJob.java @@ -415,9 +415,13 @@ return null; } try { - VDSReturnValue returnValue = runVdsCommand(VDSCommandType.GetGlusterVolumeGeoRepSessionStatus, - new GlusterVolumeGeoRepSessionVDSParameters(upServer.getId(), - session.getMasterVolumeName(), session.getSlaveHostName(), session.getSlaveVolumeName())); + VDSReturnValue returnValue = + runVdsCommand(VDSCommandType.GetGlusterVolumeGeoRepSessionStatus, + new GlusterVolumeGeoRepSessionVDSParameters(upServer.getId(), + session.getMasterVolumeName(), + session.getSlaveHostName(), + session.getSlaveVolumeName(), + session.getUserName())); if (returnValue.getSucceeded()) { return (List<GlusterGeoRepSessionDetails>) returnValue.getReturnValue(); } else { -- To view, visit https://gerrit.ovirt.org/42336 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3a51bc0cdbb2a96a396f31cade4587d7154329f4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5-gluster Gerrit-Owner: anmolbabu <anb...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches