Bug 1934112

Summary: Add memory and uptime metadata to IO archive
Product: OpenShift Container Platform Reporter: Marcell Sevcsik <msevcsik>
Component: Insights OperatorAssignee: Tomas Remes <tremes>
Status: CLOSED ERRATA QA Contact: Pavel Šimovec <psimovec>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, inecas, mklika, tremes
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Add `uptime` and `memory_alloc` fields to the metadata. Reason: We can't really simulate very long(6 weeks or more) running clusters, so its hard to notice small memory leaks inside IO. Using these metadata we could easily notice and start investigating the problem. Result: Metadata has `uptime` and `memory_alloc` fields.
Story Points: ---
Clone Of:
: 1935605 (view as bug list) Environment:
Last Closed: 2021-07-27 22:49:00 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:
Bug Depends On:    
Bug Blocks: 1935605    

Description Marcell Sevcsik 2021-03-02 14:27:41 UTC
Description of problem:
The metadata in the IO archive could hold an `uptime` and `memory_alloc` fields so that we can notice memory leaks on long running clusters using the IO archive.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Pavel Šimovec 2021-03-05 13:33:54 UTC
inside metadata insights-operator/gathers.json
..."memory_alloc_bytes":9981280,"uptime_seconds":140.827

verified on 4.8.0-0.ci-2021-03-05-011742

Comment 6 errata-xmlrpc 2021-07-27 22:49:00 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438