[Bugs] [Bug 1794386] New: quotad_serialize_reply - Failed to encode message
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jan 23 13:31:53 UTC 2020
https://bugzilla.redhat.com/show_bug.cgi?id=1794386
Bug ID: 1794386
Summary: quotad_serialize_reply - Failed to encode message
Product: GlusterFS
Version: 7
Hardware: x86_64
OS: Linux
Status: NEW
Component: quota
Assignee: bugs at gluster.org
Reporter: joao.bauto at neuro.fchampalimaud.org
CC: bugs at gluster.org
Target Milestone: ---
Classification: Community
Created attachment 1654847
--> https://bugzilla.redhat.com/attachment.cgi?id=1654847&action=edit
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
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list