Bug 2060426 - configmap grafana-dashboard-elasticsearch is being created and deleted continously
Summary: configmap grafana-dashboard-elasticsearch is being created and deleted contin...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jeff Cantrill
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-03 14:05 UTC by German Parente
Modified: 2022-03-04 16:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-04 16:57:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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