Bug 1866963 - Cluster Logging 4.5 Delete/Rollover Cronjobs Fail Occasionally
Summary: Cluster Logging 4.5 Delete/Rollover Cronjobs Fail Occasionally
Keywords:
Status: CLOSED DUPLICATE of bug 1866019
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jeff Cantrill
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-07 01:38 UTC by gcollege
Modified: 2020-08-07 19:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-07 19:09:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description gcollege 2020-08-07 01:38:18 UTC
Description of problem:
With the deployment of Cluster Logging 4.5 there are now 6 new cronjobs which deletes/rolls over log files in ElasticSearch. It has been seen that both the delete and rollover cronjobs fail occasionally (all log types i.e. app, infra, audit). These jobs seem to have the same error message for their respective purpose, any time they fail, AKA for rollover cronjobs the errors are:

{
  "error" : {
    "root_cause" : [
      {
        "type" : "security_exception",
        "reason" : "Unexpected exception indices:admin/rollover"
      }
    ],
    "type" : "security_exception",
    "reason" : "Unexpected exception indices:admin/rollover"
  },
  "status" : 500
}

for delete jobs the logs appear like:

Traceback (most recent call last):
  File "<string>", line 3, in <module>
TypeError: 'int' object has no attribute '__getitem__'


Version-Release number of selected component (if applicable): 
OCP 4.5
ElasticSearch 4.5
Cluster Logging: 4.5


How reproducible:
Very. At least 4 others have seen this issue.


Steps to Reproduce:
1. Install ElasticSearch 4.5 from 4.4 according to the cluster-logging upgrade guide
2. Install ClusterLogging 4.5 from 4.4according to the cluster-logging upgrade guide

Actual results:

Job failures with error messages stated above.

Expected results:

No failures

Comment 1 Jeff Cantrill 2020-08-07 19:09:07 UTC

*** This bug has been marked as a duplicate of bug 1866019 ***


Note You need to log in before you can comment on or make changes to this bug.