From 23649f9ab73448737ee5d9509502f96e4775dca3 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Tue, 19 Sep 2017 09:39:31 +0530 Subject: eventsapi: Fix issue with CLIENT_CONNECT event A mismatch in event format causing below error in events.log when it detects CLIENT_CONNECT event. [2017-09-19 09:35:06,785] WARNING [glustereventsd - 46:handle] - Unable to parse Event 1505793906 97 client_uid=f241-16363-2017/09/19-04:05:06:747558-gv1-client- 0-0-0;client_identifier=192.168.122.208:49150;server_identifier= 192.168.122.208:49152;brick_path=/bricks/b1,subdir_mount=(null) BUG: 1492968 Change-Id: Ie6d507725a7e6b54fca44651f9c5e66eca2be244 Signed-off-by: Aravinda VK Reviewed-on: https://review.gluster.org/18322 Reviewed-by: Atin Mukherjee Smoke: Gluster Build System Reviewed-by: Amar Tumballi CentOS-regression: Gluster Build System Reviewed-by: Prashanth Pai --- xlators/protocol/server/src/server-handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/protocol/server/src/server-handshake.c b/xlators/protocol/server/src/server-handshake.c index f2ab93fe5dc..7660d416c27 100644 --- a/xlators/protocol/server/src/server-handshake.c +++ b/xlators/protocol/server/src/server-handshake.c @@ -801,7 +801,7 @@ server_setvolume (rpcsvc_request_t *req) gf_event (EVENT_CLIENT_CONNECT, "client_uid=%s;" "client_identifier=%s;server_identifier=%s;" - "brick_path=%s,subdir_mount=%s", + "brick_path=%s;subdir_mount=%s", client->client_uid, req->trans->peerinfo.identifier, req->trans->myinfo.identifier, -- cgit