Ramesh N has uploaded a new change for review.

Change subject: gluster: fix for JSON RPC issue in glusterCreateBrick
......................................................................

gluster: fix for JSON RPC issue in glusterCreateBrick

  Renaming the parameters as required in the in JSON RPC for
glusterCreateBrick

Change-Id: I561b6edde3ed31a3bda67369a7f208e7cecdca54
Bug-Url: https://bugzilla.redhat.com/1201263
Signed-off-by: Ramesh Nachimuthu <rnach...@redhat.com>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/34/41534/1

diff --git 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
index 146badb..316cd81 100644
--- 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
+++ 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
@@ -1829,9 +1829,9 @@
             String mountPoint,
             Map<String, Object> raidParams, String fsType,
             String[] storageDevices) {
-        JsonRpcRequest request = new 
RequestBuilder("GlusterHost.createBrick").withParameter("brickName", lvName)
+        JsonRpcRequest request = new 
RequestBuilder("GlusterHost.createBrick").withParameter("name", lvName)
                 .withParameter("mountPoint", mountPoint)
-                .withParameter("devices", storageDevices)
+                .withParameter("devList", storageDevices)
                 .withParameter("fsType", fsType)
                 .withOptionalParameterAsMap("raidParams", raidParams).build();
 


-- 
To view, visit https://gerrit.ovirt.org/41534
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I561b6edde3ed31a3bda67369a7f208e7cecdca54
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5-gluster
Gerrit-Owner: Ramesh N <rnach...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to