Bug 1383821

Summary: Same value gets repeated multiple times on Y-axis of C&U graphs
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Robin Knaur <rknaur>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: dclarizi, hkataria, jhardy, mpovolny, obarenbo, rknaur, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:c&u
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1416093 (view as bug list) Environment:
Last Closed: 2017-06-12 16:05:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1416093    
Attachments:
Description Flags
Screen shot of VM C&U graph none

Description Nandini Chandra 2016-10-11 21:00:56 UTC
Description of problem:
------------------------
Same value gets repeated multiple times on Y-axis of C&U graphs.

This issue didn't happen in 5.6.In 5.6, there would be different values on the 
Y-axis and we would get a flat line graph if the values of the data points were the same.


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


How reproducible:
-----------------
Always


Steps to Reproduce:
-------------------
1.Manage a provider.Enable C&U collection for the provider.
2.From the summary screen of the VM, click Monitoring, then click Utilization.


Actual results:
---------------
Same value gets repeated multiple times on Y-axis of C&U graphs.


Expected results:
-----------------
Same value should not get repeated multiple times on Y-axis of C&U graphs.


Additional info:
----------------

Comment 2 Nandini Chandra 2016-10-11 21:02:24 UTC
Created attachment 1209323 [details]
Screen shot of VM C&U graph

Comment 3 Harpreet Kataria 2016-10-12 17:36:32 UTC
Martin,

Can you please look into this.

Thanks,
~Harpreet

Comment 6 CFME Bot 2016-11-21 16:36:01 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/74e6b618fef528916b9df0a818e642172db5deb0

commit 74e6b618fef528916b9df0a818e642172db5deb0
Author:     PanSpagetka <rknaur>
AuthorDate: Tue Nov 15 14:41:33 2016 +0100
Commit:     PanSpagetka <rknaur>
CommitDate: Mon Nov 21 10:51:31 2016 +0100

    Mere precise tooltip values in C&U charts
    https://bugzilla.redhat.com/show_bug.cgi?id=1383821

 app/assets/javascripts/miq_application.js          | 13 +++-
 app/assets/javascripts/miq_formatters.js           | 24 ++++---
 spec/javascripts/miq_formatters_spec.js            | 73 ++++++++++++++++++++--
 spec/javascripts/services/topology_service_spec.js |  3 -
 4 files changed, 94 insertions(+), 19 deletions(-)

Comment 8 CFME Bot 2016-11-21 23:31:14 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6c812d3cc0fb09540217073da1bdcc8b4a2357c1

commit 6c812d3cc0fb09540217073da1bdcc8b4a2357c1
Author:     Eric Hayes <eric>
AuthorDate: Mon Nov 21 13:53:53 2016 -0800
Commit:     Eric Hayes <eric>
CommitDate: Mon Nov 21 13:53:53 2016 -0800

    Revert suffixes to i-less version.
    
    Related to:
    https://bugzilla.redhat.com/show_bug.cgi?id=1383821
    https://github.com/ManageIQ/manageiq/pull/12640

 spec/javascripts/miq_formatters_spec.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comment 13 CFME Bot 2017-01-24 13:37:39 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/510075fc7c738d604278e4d3fa6f0e829f55fafe

commit 510075fc7c738d604278e4d3fa6f0e829f55fafe
Author:     PanSpagetka <rknaur>
AuthorDate: Wed Dec 21 12:26:53 2016 +0100
Commit:     PanSpagetka <rknaur>
CommitDate: Mon Jan 23 16:27:41 2017 +0100

    Fix repeating values on Y-axis of C&U charts
    https://bugzilla.redhat.com/show_bug.cgi?id=1383821
    
    (cherry picked from commit 8c1585103969cd55270d6b98889a1d49b54f9760)

 app/assets/javascripts/miq_application.js | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Comment 16 Nandini Chandra 2017-05-01 21:40:14 UTC
Verified in 5.8.0.12