Bug 1868675 - elasticsearch-rollover and elasticsearch-delete pods in Error states
Summary: elasticsearch-rollover and elasticsearch-delete pods in Error states
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.5.z
Assignee: Jeff Cantrill
QA Contact: Giriyamma
URL:
Whiteboard: logging-exploration osd-45-logging
Depends On: 1866019
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-13 12:52 UTC by OpenShift BugZilla Robot
Modified: 2024-06-13 22:56 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-19 14:13:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift elasticsearch-operator pull 488 0 None closed Bug 1868675: Delete indices in batches 2021-02-19 05:30:29 UTC
Red Hat Knowledge Base (Solution) 5410091 0 None None None 2020-10-21 01:07:37 UTC
Red Hat Product Errata RHBA-2020:4230 0 None None None 2020-10-19 14:13:12 UTC

Comment 4 Jeff Cantrill 2020-08-21 14:21:31 UTC
Awaiting approval from patch manager

Comment 12 Jeff Cantrill 2020-09-12 01:52:56 UTC
Moving to UpcomingSprint awaiting for PRs to merge, etc.

Comment 13 Jeff Cantrill 2020-09-24 20:42:29 UTC
*** Bug 1882525 has been marked as a duplicate of this bug. ***

Comment 14 Hideshi Fukumoto 2020-09-28 07:03:57 UTC
Could you please clear the current status on this bug.

The status of BZ# 1866019 for OCP 4.6.0 is now VERIFIED.
So, isn't there progress on this bug for OCP 4.5.z as well ?

Is it a situation where we're waiting for the following PR to be merged ?

https://github.com/openshift/elasticsearch-operator/pull/488

Comment 15 Jeff Cantrill 2020-09-29 18:57:39 UTC
(In reply to Hideshi Fukumoto from comment #14)
> Could you please clear the current status on this bug.
> 
> The status of BZ# 1866019 for OCP 4.6.0 is now VERIFIED.
> So, isn't there progress on this bug for OCP 4.5.z as well ?
> 
> Is it a situation where we're waiting for the following PR to be merged ?
> 
> https://github.com/openshift/elasticsearch-operator/pull/488

This PR is following OpenShift BZ process and will need to be approved by the team as well as the patch manager and will move once those steps have been taken

Comment 17 Jeff Cantrill 2020-10-07 14:22:28 UTC
The workaround is to:

* set the resource elasticsearch elasticsearch to "Unmanaged"
* oc edit configmap indexmanagement-scripts
* Replace 'delete' content with [1]

[1] https://github.com/jcantrill/elasticsearch-operator/blob/313148f088ab85c561962b31198be3fe449e606b/pkg/indexmanagement/scripts.go#L21-L121

Comment 18 Giriyamma 2020-10-09 12:39:14 UTC
Verified this fix on cluster 4.5.0-0.nightly-2020-10-07-231808
The -rollover- and -delete- pods completed successfully

oc get pods
NAME                                            READY   STATUS      RESTARTS   AGE
cluster-logging-operator-7c96449fb7-225fk       1/1     Running     0          18h
curator-1602239400-chh8h                        0/1     Completed   0          8m35s
elasticsearch-cdm-ktxq0cic-1-7bcb45fc99-hsn6c   2/2     Running     0          18h
elasticsearch-cdm-ktxq0cic-2-746cddc4c8-csknz   2/2     Running     0          18h
elasticsearch-cdm-ktxq0cic-3-5c5dbcf8f-zklc4    2/2     Running     0          18h
elasticsearch-delete-app-1602239400-wc2c9       0/1     Completed   0          8m35s
elasticsearch-delete-audit-1602239400-wm587     0/1     Completed   0          8m35s
elasticsearch-delete-infra-1602239400-dn54j     0/1     Completed   0          8m34s
elasticsearch-rollover-app-1602239400-8vlkk     0/1     Completed   0          8m34s
elasticsearch-rollover-audit-1602239400-stcp8   0/1     Completed   0          8m34s
elasticsearch-rollover-infra-1602239400-czv5l   0/1     Completed   0          8m34s
fluentd-2jhxv                                   1/1     Running     0          18h
fluentd-5nwkx                                   1/1     Running     0          18h
fluentd-792gc                                   1/1     Running     0          18h
fluentd-cbw2t                                   1/1     Running     0          18h
fluentd-qs78j                                   1/1     Running     0          18h
fluentd-qsvkf                                   1/1     Running     0          18h
kibana-679745fd4b-2wkck                         2/2     Running     0          18h

Comment 22 errata-xmlrpc 2020-10-19 14:13:03 UTC
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 (OpenShift Container Platform 4.5.15 extras update), 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-2020:4230


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