Bug 2060426

Summary: configmap grafana-dashboard-elasticsearch is being created and deleted continously
Product: OpenShift Container Platform Reporter: German Parente <gparente>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED DEFERRED QA Contact: Anping Li <anli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-04 16:57:39 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:

Description German Parente 2022-03-03 14:05:03 UTC
Description of problem:

the configMap grafana-dashboard-elasticsearch, managed by elasticsearch operator is being created + deleted all the time.

It seems it's removed before the reconcile and immediately created afterwards.

A possible root cause is that the reconcile code is including explicitly the deletion of this configMap in some conditions:

https://github.com/openshift/elasticsearch-operator/blob/b14fef410717a76aa301a8492[…]09a0f16b882da27/controllers/logging/elasticsearch_controller.go


This has been added in this pull request:

https://github.com/openshift/elasticsearch-operator/pull/610/files

Also we can even check in the console or by the command line that the "created at" is always showing "now" except for some secnods where we can see a former date.




Version-Release number of selected component (if applicable): 4.9

How reproducible: always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jeff Cantrill 2022-03-04 16:57:39 UTC
Closed deferred in favor of https://issues.redhat.com/browse/LOG-2308 where logging 5.x issues are tracked