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

Bug 1631389

Summary: dashboard values in the vm portal are hardcoded
Product: Red Hat Enterprise Virtualization Manager Reporter: Marian Jankular <mjankula>
Component: ovirt-web-uiAssignee: Greg Sheremeta <gshereme>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.6CC: gshereme, lleistne, michal.skrivanek
Target Milestone: ovirt-4.2.7Keywords: Rebase, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-05 15:04:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marian Jankular 2018-09-20 13:19:59 UTC
Description of problem:
dashboard values in the vm portal are hardcoded 

Version-Release number of selected component (if applicable):
ovirt-web-ui-1.4.3-1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. open vm portal
2. open vm properties
3. navigate to dashboard view

Actual results:
dashboard stats are hardcoded

Expected results:
dashboard will reflect environment statistics

Additional info:
fixed in commit 11ecf1d2d2fcdc825e100db849b10d4662928d79

<DonutChart
 id='donut-chart-disk'
 data={{
 columns: [
  [`${unit} allocated`, used],
  [`${unit} remaining provisioned space`, available],
 ],
 order: null,
}}
title={{
 primary: `${used}`,
 secondary: `${unit} Allocated`,
}}
 tooltip={{
 show: true,
 contents: patternfly.pfDonutTooltipContents,
}}
/>

Comment 1 Greg Sheremeta 2018-09-20 13:36:48 UTC
The dashboard view is currently a work in progress. In the next release it'll be more functional, but for now, yes, many things are hardcoded and do not work.

Comment 7 Michal Skrivanek 2018-09-26 12:12:53 UTC
we still want to change the disk utilization to show guest perspective rather than allocated/provisioned (on infra level). Other than that it's now complete

Merged upstream, pending d/s build

Comment 10 Greg Sheremeta 2018-10-19 18:50:39 UTC
verified in https://bugzilla.redhat.com/show_bug.cgi?id=1631408#c4

Comment 11 Pavel Novotny 2018-10-24 12:22:29 UTC
Verified in
ovirt-engine-4.2.7.3-0.1.el7ev.noarch
ovirt-web-ui-1.4.4-2.el7ev.noarch

The Dashboard view has been removed from 4.2 and will be present only in 4.3+.
Therefore no statistics are present at the moment in the "normal" view.

Comment 13 errata-xmlrpc 2018-11-05 15:04: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, 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-2018:3495