Bug 1899905
Summary: | elasticsearch-rollover and elasticsearch-delete pods are in error states with 'ValueError: No JSON object could be decoded' | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yogiraj Karajagi <ykarajag> |
Component: | Logging | Assignee: | Hui Kang <hkang> |
Status: | CLOSED ERRATA | QA Contact: | Qiaoling Tang <qitang> |
Severity: | medium | Docs Contact: | Rolfe Dlugy-Hegwer <rdlugyhe> |
Priority: | unspecified | ||
Version: | 4.5 | CC: | alchan, andcosta, anli, aos-bugs, apjagtap, asheth, cruhm, florian.hauser, hkang, mnoguera, naoto30, naygupta, nnosenzo, rabdulra, rdlugyhe, rsandu, tmicheli |
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | logging-exploration | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
* Previously, elasticsearch-rollover and elasticsearch-delete pods remained in error states with `Invalid JSON:` or 'ValueError: No JSON object could be decoded'. This exception was raised because there was no exception handler for invalid JSON input. The current release fixes this issue by providing a handler for invalid JSON input. As a result, it outputs an error message instead of an exception traceback, and the elasticsearch-rollover and elasticsearch-delete jobs should not remain that error state.
(link:https://bugzilla.redhat.com/show_bug.cgi?id=1899905[*BZ#1899905*])
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 11:22:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1901756 |
Description
Yogiraj Karajagi
2020-11-20 11:04:03 UTC
Same issue here - started with 4.5.16 and still occurs on 4.5.19. Tested with elasticsearch-operator.4.7.0-202012080225.p0, the error message is changed to `Invalid JSON: ''`. The fix has been cherry picked to ocp 4.6 @cam, I will cherry pick to 4.5 as well. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Errata Advisory for Openshift Logging 5.0.0), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:0652 |