Created attachment 1654847 [details] quotad log Description of problem: When using quotas, the quota alerts sent from glustereventsd trigger an error, failing to send the event message to the webhook. We currently have 43 quotas and only one event is received by the webhook. The event is an alert of soft limit being crossed (QUOTA_CROSSED_SOFT_LIMIT) The webhook used to test is the same as https://docs.gluster.org/en/latest/Administrator%20Guide/Events%20APIs/#webhooks. Version-Release number of selected component (if applicable): 7.1 How reproducible: Steps to Reproduce: 1. Add a webhook (gluster-eventsapi webhook-add http://ip/listen) 2. Set alert time (gluster volume quota tank alert-time 60s) 3. Watch quotad.log get filled with error messages Actual results: The quotad.log file is filled with error messages as follows. [2020-01-23 13:21:14.298795] E [quotad-aggregator.c:60:quotad_serialize_reply] (--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x13a)[0x7f5fa48558ea] (--> /usr/lib64/glusterfs/7.1/xlator/features/quotad.so(+0x2b70)[0x7f5f957e4b70] (--> /usr/lib64/glusterfs/7.1/xlator/features/quotad.so(+0x2cb0)[0x7f5f957e4cb0] (--> /usr/lib64/glusterfs/7.1/xlator/features/quotad.so(+0x3165)[0x7f5f957e5165] (--> /usr/lib64/glusterfs/7.1/xlator/features/quotad.so(+0x216e)[0x7f5f957e416e] ))))) 0-: Failed to encode message Expected results: Webhook receives all alerts correctly. Additional info: Attached quotad.log
Hari, Can you take a look. /sunny
Will take a look Sunny
This bug is moved to https://github.com/gluster/glusterfs/issues/975, and will be tracked there from now on. Visit GitHub issues URL for further details