[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


            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

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] (-->
))))) 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