Bug 1383721

Summary: Middleware - Capacity & Utilization - "Daily" loads endless
Product: Red Hat CloudForms Management Engine Reporter: Hayk Hovsepyan <hhovsepy>
Component: ProvidersAssignee: Lucas Ponce <lponce>
Status: CLOSED CURRENTRELEASE QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cpelland, dajohnso, jfrey, jhardy, lponce, mfoley, mmahoney, obarenbo, rvargasp, simaishi
Target Milestone: GAKeywords: TestOnly, Triaged
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Hawkular
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1390407 (view as bug list) Environment:
Last Closed: 2017-06-12 17:45:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1390407    
Attachments:
Description Flags
evm.log none

Description Hayk Hovsepyan 2016-10-11 15:02:54 UTC
Created attachment 1209191 [details]
evm.log

Description of problem:
In "Capacity & Utilization" page for EAP7 Server, when choosing Interval to Daily, it loads the page endless.

Version-Release number of selected component (if applicable):
5.7.0.4-alpha1.20161005153002_cfc8a23

How reproducible:
always

Steps to Reproduce:
1. Choose EAP7 server from Middleware provider.
2. Select "Monitoring" -> "Utilization" menu item.
3. Choose "Daily" from Interval input.
It will load endless, and will show error in evm.log (attached).

Comment 2 Hayk Hovsepyan 2016-10-11 15:04:44 UTC
Hawkular Services version: 0.0.16.Final-SNAPSHOT (commit ad74894590c88f47adf298571a5e5f0890041d79)

Comment 3 Lucas Ponce 2016-10-11 15:50:29 UTC
I think this issue is addressed in this pending PR:

https://github.com/ManageIQ/manageiq/pull/11672

Comment 4 Ruben Vargas Palma 2016-10-11 16:26:01 UTC
I saw the logs and read the issue description, I can confirm this is the same issue that is addressed in this PR:

https://github.com/ManageIQ/manageiq/pull/11672

Comment 5 Lucas Ponce 2016-10-20 08:19:28 UTC
Ruben,
Please, could you add the link of this BZ in the commit message and PR description ?

In the PR 12033 there is an example.

Bugzilla can be updated automatically with that.

Thanks !
Lucas

Comment 6 CFME Bot 2016-10-21 22:40:50 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/25ef148f16261991ad03a0c611ce772108cece0c

commit 25ef148f16261991ad03a0c611ce772108cece0c
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Oct 21 13:59:44 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 21 18:40:14 2016 -0400

    Merge pull request #11672 from rubenvp8510/Issue#11252
    
    Validate when there is no daily data for Middleware live metric.
    (cherry picked from commit f06a0f0633d9e265d02acebca7c777ef1dbf6d75)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1383721

 app/controllers/application_controller/performance.rb | 9 +++++++--
 app/models/live_metric.rb                             | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)