Bug 1470537

Summary: supports_metrics? method fails on prometheus
Product: Red Hat CloudForms Management Engine Reporter: Yaacov Zamir <yzamir>
Component: C&U Capacity and UtilizationAssignee: Yaacov Zamir <yzamir>
Status: CLOSED CURRENTRELEASE QA Contact: Shalom Naim <snaim>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cpelland, gblomqui, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 14:59:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:

Description Yaacov Zamir 2017-07-13 06:49:38 UTC
Description of problem:
The kubernetes provider supports metrics from prometheus, currently the `supports_metrics?` of the kuebernetes provider fails to recognize this endpoint.


How reproducible:
100%

Steps to Reproduce:
1. Create a kubernetes provider with a prometheus endpoint
2. Check the return value of `supports_metrics?`

Actual results:
False

Expected results:
True

Comment 2 Yaacov Zamir 2017-07-13 06:51:18 UTC
submitted upstream:
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/59

Comment 3 Yaacov Zamir 2017-07-13 14:09:55 UTC
merged upstream:
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/59