Bug 2182000 - VM metrics graphs are render incorrectly
Summary: VM metrics graphs are render incorrectly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.14.0
Assignee: Hilda Stastna
QA Contact: Leon Kladnitsky
URL:
Whiteboard:
Depends On:
Blocks: 2186767
TreeView+ depends on / blocked
 
Reported: 2023-03-27 08:15 UTC by Fabian Deutsch
Modified: 2023-08-16 14:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2186767 (view as bug list)
Environment:
Last Closed: 2023-08-16 14:09:56 UTC
Target Upstream Version:
Embargoed:
gouyang: needinfo-


Attachments (Terms of Use)
Good: pod metrics (139.45 KB, image/png)
2023-03-27 08:15 UTC, Fabian Deutsch
no flags Details
VM metrics on 4.13 (486.54 KB, image/png)
2023-04-04 02:15 UTC, Guohua Ouyang
no flags Details
metrics tab page on 4.13 (124.10 KB, image/png)
2023-04-11 23:33 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1250 0 None open Bug 2182000: Display VM Metrics graphs with Y-Axis 2023-04-14 13:08:53 UTC
Red Hat Issue Tracker CNV-27470 0 None None None 2023-03-27 12:44:52 UTC
Red Hat Product Errata RHSA-2023:4664 0 None None None 2023-08-16 14:10:19 UTC

Description Fabian Deutsch 2023-03-27 08:15:04 UTC
Created attachment 1953899 [details]
Good: pod metrics

Description of problem:
The metrics graphs of VMs are rendered incorrectly, i.e. the axis lines are not displayed, the axis description is truncated

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

How reproducible:
ALways

Steps to Reproduce:
1. Use Firefox and access cnv2
2. Look at a VM's metrics, compared to the launcher pod's metrics.
3.

Actual results:
Graphs are rendered differently.
VM graphs seem to be broken

Expected results:
VM graphs are rendered as nicely as pod graphs.

Additional info:
The attached screenshot shows the good pod and bad vm graphs.

Comment 2 Hilda Stastna 2023-03-27 12:44:04 UTC
Hi Fabian,

this seems to me like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2177961
which has been already fixed for 4.13. Can you please, take a look? Or can you check if it is reproducible in 4.13?
Thanks!

Comment 3 Fabian Deutsch 2023-03-27 12:51:27 UTC
Hey Hilda,

yes, the truncation seems to be fixed as part of rhbz #2177961, however, the axis issue is still seen in the screenshot of https://github.com/kubevirt-ui/kubevirt-plugin/pull/1156

I odn't have a 4.13 env at hand right now to check this status.

Comment 4 Hilda Stastna 2023-03-27 13:24:15 UTC
See also the PR https://github.com/kubevirt-ui/kubevirt-plugin/pull/1180 for the BZ https://bugzilla.redhat.com/show_bug.cgi?id=2147582
It seems to me that all mentioned in this BZ is already fixed in 4.13. 
Also dates were added: https://github.com/kubevirt-ui/kubevirt-plugin/pull/1171

Guohua, can you, please, help us and to test in 4.13 and eventually to close this bug if it's a dup? Thanks!

Comment 5 Guohua Ouyang 2023-03-27 23:20:35 UTC
Hi Leon,
Could you help test it completely in 4.13?

Thanks

Comment 6 Guohua Ouyang 2023-04-04 02:15:17 UTC
Created attachment 1955648 [details]
VM metrics on 4.13

Hi Fabian,
Could you please review the screenshot to see if it looks good to you?

Thanks,

Comment 7 Leon Kladnitsky 2023-04-09 02:06:40 UTC
(In reply to Guohua Ouyang from comment #5)
> Hi Leon,
> Could you help test it completely in 4.13?
> 
> Thanks

Hi
I will add tests to cover this.

Comment 8 Fabian Deutsch 2023-04-11 12:15:05 UTC
> Could you please review the screenshot to see if it looks good to you?

It's a different page than where I reported this bug on.
However, the graphs look ... unclean .. the y-axis is missing and no graph at all is shown in the screenshot.

Is it the correct screenshot?

Comment 9 Guohua Ouyang 2023-04-11 23:33:40 UTC
Created attachment 1957019 [details]
metrics tab page on 4.13

Hi Fabian,
Would you please review this page one more time?

Thanks,

Comment 10 Fabian Deutsch 2023-04-12 06:57:17 UTC
Hi Guohua,

attachment 1957019 [details] looks better, but it's still inconsistent, is it?
Memory+CPU are missing the Y-Axis.
Storage r/w + iops have an Y-Axis
Network seems (but the screenshot is truncated) to not have an Y-Axis.

But in all cases (compute, storage, network) the axis description is as expected - not truncated.

Comment 11 Guohua Ouyang 2023-04-14 03:00:17 UTC
Hilda,
The Y-Axis is still missing on CPU and Memory graph, could you confirm it and fix it?

Comment 14 Guohua Ouyang 2023-04-28 07:08:39 UTC
verified on kubevirt-console-plugin-rhel9-container-v4.14.0-1047

Comment 25 errata-xmlrpc 2023-08-16 14:09:56 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: OpenShift Virtualization 4.13.3 Images security and bug fix 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-2023:4664


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