Bug 1572022

Summary: Unable to retrieve metrics from Openshift 3.7.23
Product: Red Hat CloudForms Management Engine Reporter: Imaan <ikaur>
Component: ProvidersAssignee: Yaacov Zamir <yzamir>
Status: CLOSED DUPLICATE QA Contact: Einat Pacifici <epacific>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, epacific, gblomqui, ikaur, jfrey, jhardy, niroy, obarenbo, oourfali, simaishi, yzamir
Target Milestone: GAKeywords: WorkAround
Target Release: 5.9.3   
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-05-17 14:42:12 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:
Bug Depends On:    
Bug Blocks: 1561041    

Description Imaan 2018-04-26 02:29:21 UTC
Description of problem:

CFME (5.9.1.2) is unable to aggregate metrics from Openshift cluster (3.7.23).

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

5.9.1.2

Fails with following error :

[----] E, [2018-04-18T13:03:07.799809 #2050:962290c] ERROR -- : MIQ(ManageIQ::Providers::Openshift::ContainerManager::Ev
entCatcher::Runner#start_event_monitor) EMS [master.ocp-dev.hbs.net.au] as [] Event Monitor Thread aborted because [geta
ddrinfo: Name or service not known]
[----] E, [2018-04-18T13:03:07.799953 #2050:962290c] ERROR -- : [SocketError]: getaddrinfo: Name or service not known  M
ethod:[block in method_missing]
[----] E, [2018-04-18T13:03:07.799995 #2050:962290c] ERROR -- : /opt/rh/cfme-gemset/gems/http-0.9.8/lib/http/timeout/nul
l.rb:18:in `initialize'

Comment 3 Yaacov Zamir 2018-04-26 15:56:18 UTC
Imman, Thanks for the BZ.

The logs provided here, show manageIQ fail to connect to the url provided.

Can you attach screenshots of the container provider settings page ?

The most important parts are:
a. the url of the openshit provider
b. the url of hawkular
c. the status of connection and validation

Any other info you can show about the provider configuration and status can be helpful.