Bug 1340721

Summary: CFME does not start collecting metrics if no parameters are defined in Provider/Hawkular tab
Product: Red Hat CloudForms Management Engine Reporter: Einat Pacifici <epacific>
Component: C&U Capacity and UtilizationAssignee: Yaacov Zamir <yzamir>
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, fsimonce, jhardy, mfeifer, obarenbo, simaishi, yzamir
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: 5.6.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 16:06:43 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
evm.log attached none

Description Einat Pacifici 2016-05-30 07:32:58 UTC
Created attachment 1162688 [details]
evm.log attached

Description of problem:
In CFME, if configuration has been set to collect metrics and the Hawkular tab (in Provider) parameters have not been set, CFME should still collect and display Utilization data.

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

How reproducible:
Always

Steps to Reproduce:
1.Define new Provider in CFME and validate+add the provider
2.Do NOT define any hawkular endpoints
3.View Provider --> Monitoring --> Utilization

Actual results:
Error: No utilization data available

Expected results:
CFME should collect metrics and display Utilization 

Additional info:
evm.log attached.

Comment 2 Yaacov Zamir 2016-05-30 08:56:09 UTC
Submitted upstream:
https://github.com/ManageIQ/manageiq/pull/9025

Comment 3 Oleg Barenboim 2016-06-02 01:45:28 UTC
Merged https://github.com/ManageIQ/manageiq/pull/9025 and backported to Darga branch.

Comment 4 Einat Pacifici 2016-06-08 12:27:04 UTC
Verified in version 5.6.0.10-rc2.1
A provider was defined and NO Hawkular endpoint was defined. However, configuration was set for C&U Collection. 
After waiting for a few minutes, the metrics data was available for viewing.

Comment 6 errata-xmlrpc 2016-06-29 16:06:43 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-2016:1348