Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1859572

Summary: Charts in "PCP Vector Container Overview" dashboard are showing misleading values when no container is running
Product: Red Hat Enterprise Linux 8 Reporter: Jan Kurik <jkurik>
Component: grafana-pcpAssignee: Andreas Gerstmayr <agerstmayr>
Status: CLOSED ERRATA QA Contact: Jan Kurik <jkurik>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.3CC: agerstmayr, grafana-maint, jkurik, mgoodwin, nathans
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: 8.4Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.0.2-2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:04:30 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:
Attachments:
Description Flags
Misleading values in "PCP Vector Container Overview" dashboard none

Description Jan Kurik 2020-07-22 13:21:50 UTC
Created attachment 1702075 [details]
Misleading values in "PCP Vector Container Overview" dashboard

Description of problem:
When there is no container running on a host system, Grafana shows in the default "PCP Vector Container Overview" dashboard misleading values (see the screenshot in attachment).

Version-Release number of selected component (if applicable):
* grafana-6.7.4-1.el8
* grafana-pcp-2.0.2-1.el8
* pcp-5.1.1-3.el8

How reproducible:
always

Steps to Reproduce:
1. Install pcp, grafana, grafana-pcp components
2. Start pcp (pmcd, pmproxy) and grafana
2.1 Make sure there is no container running on the system
- "podman ps" Should return nothing
3. In grafana, enable the "Performance Co-Pilot" plugin
4. In grafana, configure the Vector datasource using default values
5. Check charts in "PCP Vector Container Overview" dashboard

Actual results:
* Charts in the "PCP Vector Container Overview" dashboard are showing a lots of misleading values even no container is running on the host system


Expected results:
The dashboard (or the charts) stays empty as there is nothing to show

Additional info:
In case there is at least one container running on the monitored system, the dashboard shows correct/expected values.

Comment 1 Andreas Gerstmayr 2020-07-24 16:05:29 UTC
New grafana-pcp build with patch applied: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1266400

@Jan, can you set the erratum back to NEW_FILES so I can add the new build and attach this BZ?


Cheers,
Andreas

Comment 2 Jan Kurik 2020-07-24 20:26:06 UTC
(In reply to Andreas Gerstmayr from comment #1)
> @Jan, can you set the erratum back to NEW_FILES so I can add the new build
> and attach this BZ?

Done.

Comment 5 Andreas Gerstmayr 2020-07-27 13:57:43 UTC
Thanks!

I've added the new build to the erratum & changed state to ON_QA again.

Comment 6 Jan Kurik 2020-08-18 09:24:07 UTC
Verified manually - fixed in grafana-pcp-2.0.2-3.el8 build.

Comment 9 errata-xmlrpc 2020-11-04 03:04:30 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 (grafana-pcp 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/RHEA-2020:4693