Bug 2073330 - Observabilityy - memory usage data are not collected even collect rule is fired on SNO
Summary: Observabilityy - memory usage data are not collected even collect rule is fir...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Core Services / Observability
Version: rhacm-2.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: rhacm-2.5
Assignee: Chunlin Yang
QA Contact: Xiang Yin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-08 08:31 UTC by cqu
Modified: 2023-09-05 10:36 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-09 02:10:35 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.5+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 21573 0 None None None 2022-04-08 12:52:30 UTC
Red Hat Product Errata RHSA-2022:4956 0 None None None 2022-06-09 02:10:41 UTC

Description cqu 2022-04-08 08:31:50 UTC
Description of the problem: When collect rule is fired on SNO, pod/container data are collected, like CPU, and most memory data. But memory usage are not collect on the related 5 dashboards, like `General/Kubernetes / Compute Resources / Workload`

Release version: 2.5.0-DOWNSTREAM-2022-04-05-06-20-55

Operator snapshot version:

OCP version: 4.10.3

Browser Info:

Steps to reproduce:
1. Deploy MCOCR on SNO
2. press the CPU usage and trigger the collect rule
3. When collect rule is fired, memory usage are not collect on the related 5 dashboards, like `General/Kubernetes / Compute Resources / Workload`
4. env info - https://docs.google.com/spreadsheets/d/1yg75xNpeO1i_K39D43FZmMauQe2d2OuJ1UjunX7jz3A/edit?pli=1#gid=1088931685&range=A5

Actual results:

Expected results:

Additional info:

Comment 1 bot-tracker-sync 2022-04-08 19:04:17 UTC
G2Bsync 1093153578 comment 
 marcolan018 Fri, 08 Apr 2022 18:11:18 UTC 
 G2Bsync
In metrics-collector logs in local-cluster namespace, I only found the record that the collect rule "SNOHighCPUUsage" fired like below
```
level=info caller=logger.go:45 ts=2022-04-08T08:57:37.485333272Z component=collectrule/evaluator msg="collect rule fired" name=SNOHighCPUUsage labels="{rule_name=\"SNOHighCPUUsage\"}"
```
but I didn't find any log mentioned that rule "SNOHighMemoryUsage" fired. 
That means only CPU metrics of pods/containers collected is desired behavior. The memory metrics will not be collected until the memory collect rule fired.

Comment 3 cqu 2022-04-10 03:38:57 UTC
Thanks Marco for your clarification. But base on your comments, why memory quota data are collected even CPU collect rule is fired, please see above attachment. Thanks.

Comment 7 errata-xmlrpc 2022-06-09 02:10:35 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 (Important: Red Hat Advanced Cluster Management 2.5 security updates, images, and bug fixes), 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-2022:4956

Comment 8 melindaetinw81 2023-01-05 06:53:15 UTC Comment hidden (spam)
Comment 9 Thelma Carlisle 2023-01-19 09:47:30 UTC Comment hidden (spam)
Comment 10 smith5742 2023-02-03 08:54:13 UTC Comment hidden (spam)
Comment 11 thomas hrnty 2023-05-29 06:45:18 UTC Comment hidden (spam)
Comment 12 Ceryssavage 2023-06-21 08:01:25 UTC Comment hidden (spam)
Comment 13 Alfie Summers 2023-09-05 10:36:43 UTC Comment hidden (spam)

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