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

Bug 1780302

Summary: openshift-metrics-server try to fetch information from evicted pods
Product: OpenShift Container Platform Reporter: Pamela Escorza <pescorza>
Component: MonitoringAssignee: Sergiusz Urbaniak <surbania>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: high Docs Contact:
Priority: medium    
Version: 3.11.0CC: alegrand, anpicker, aos-bugs, dahernan, eparis, erooth, jmartisk, jokerman, kakkoyun, lcosic, mloibl, openshift-bugs-escalate, palonsor, pkrupa, prdeshpa, rcarrier, rvargasp, spasquie, surbania
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-16 07:46:49 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 Pamela Escorza 2019-12-05 16:25:05 UTC
Description of problem:
openshift-metrics-server is trying to fetch data from evited pods which end in a big log with no needed data, causing ephimeral storage issues.

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

How reproducible:
not able to be reproducible

Steps to Reproduce:
1.
2.
3.

Actual results:
log filled with messages :

No metrics for pod ....
No metrics for container ...

From evicted pods

Expected results:
Exclude evicted pod from metrics fetch processs 

Additional info:

Comment 2 Pamela Escorza 2020-01-21 11:29:34 UTC
Hi, is anyone taking a look on this? has something similar been reported before?

many thanks for the info in advance

kr

Comment 3 Pablo Alonso Rodriguez 2020-05-19 08:37:36 UTC
Any news on this?

Thanks and regards.

Comment 5 Ruben Vargas Palma 2020-05-19 14:00:18 UTC
Hi


I think this BZ was incorrect assigned to Hawkular component.

as I saw on logs this is using openshift-metrics-server, which is different component and is not related to Hawkular Metrics.

Comment 14 Sergiusz Urbaniak 2020-08-25 06:53:19 UTC
@prasad the change has been committed and should be available soon in the 3.11 payload.

Comment 15 Junqi Zhao 2020-08-25 08:18:55 UTC
tested with openshift v3.11.272, "oc adm top pod" command won't count Pending/Evicted/Error/Completed pods

Comment 18 errata-xmlrpc 2020-09-16 07:46:49 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 3.11.286 bug fix and enhancement 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:3695