openstack_sample_amqp-sample_decoder can fail on certain payloads
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
In Progress
|
Undecided
|
Collin M. |
Bug Description
Certain samples appear to trigger a "strbuf output_limit exceeded" in heka. This error does not get cleanly handled, and causes the entire decoder to shut down.
This can lead to messages being unconsumed, and cause the metering.sample queue to grow excessively.
2017/05/18 22:18:55 Decoder 'openstack_
2017/05/18 22:18:55 Decoder 'openstack_
2017/05/18 22:18:55 Decoder 'openstack_
2017/05/18 22:18:55 Decoder 'openstack_
2017/05/18 22:18:55 Decoder 'openstack_
2017/05/18 22:18:55 Shutdown initiated.
It appears that this occurs to a call to cjson.encode without an exception handler.
Changed in lma-toolchain: | |
status: | New → Confirmed |
assignee: | nobody → LMA-Toolchain Fuel Plugins (mos-lma-toolchain) |
Changed in lma-toolchain: | |
assignee: | LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Collin M. (ziggit) |
Changed in lma-toolchain: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → In Progress |
Created pull request in https:/ /review. openstack. org/#/c/ 468702/