Bug 1347296

Summary: Adding openstack cloud provider with port 8777 not listening is trying to connect insanely
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvidersAssignee: Greg Blomquist <gblomqui>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: jfrey, jhardy, maufart, obarenbo, tzumainn
Target Milestone: GA   
Target Release: 5.7.0   
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: 2016-06-16 14:30:58 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:

Description Matouš Mojžíš 2016-06-16 13:09:49 UTC
Description of problem:
When I add an oepnstack provider, which has port 8777 not listening I can see in logs, that it is trying to connect ~= 200 times per sec to that port.

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

How reproducible:
Always

Steps to Reproduce:
1. Add an openstack provider with port 8777 not running
2.
3.

Actual results:
[----] I, [2016-06-16T09:09:50.211691 #3569:cc7cfc]  INFO -- : Reseting Openstack Ceilometer connection after Connection refused - connect(2) for 10.8.58.70:8777 (Errno::ECONNREFUSED).
[----] E, [2016-06-16T09:09:50.211731 #3562:cc45d4] ERROR -- : <Fog> excon.error     #<Excon::Errors::SocketError: Connection refused - connect(2) for 10.8.58.70:8777 (Errno::ECONNREFUSED)>

is happening ~= 200 times per sec

Expected results:
It should be repeated in much higher intervals

Additional info:

Comment 2 Tzu-Mainn Chen 2016-06-16 14:16:27 UTC
Marek, could this be related to https://bugzilla.redhat.com/show_bug.cgi?id=1336795 ?

Comment 3 Marek Aufart 2016-06-16 14:30:58 UTC
Yes, this has the same reason as BZ1336795. Fix PR https://github.com/ManageIQ/manageiq/pull/9027 is up, but not yet merged.

*** This bug has been marked as a duplicate of bug 1336795 ***