Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1868675

Summary: elasticsearch-rollover and elasticsearch-delete pods in Error states
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED ERRATA QA Contact: Giriyamma <gkarager>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: agurenko, anli, anowak, aos-bugs, efried, gcollege, hfukumot, jcantril, jeder, jnaess, mallmen, naoto30, ssadhale, tcort
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: logging-exploration osd-45-logging
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-19 14:13:03 UTC Type: ---
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: 1866019    
Bug Blocks:    

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