Bug 1284016 - Cloudform fail to had and openstack if one endpoint not repond
Summary: Cloudform fail to had and openstack if one endpoint not repond
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.0
Assignee: Ladislav Smola
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1289744
TreeView+ depends on / blocked
 
Reported: 2015-11-20 14:40 UTC by kpichard
Modified: 2016-01-12 10:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1289744 (view as bug list)
Environment:
Last Closed: 2016-01-12 10:55:32 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description kpichard 2015-11-20 14:40:28 UTC
Description of problem: Cloudform is not able to finish adding an openstack if one of the component endpoint not responding.


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


How reproducible: Attach an openstack where one of the component isn't reponding
You can use an osp-d to reproduce this issue : https://bugzilla.redhat.com/show_bug.cgi?id=1283905

Steps to Reproduce: 
1. deploy an openstack with osp-d following the bug bellow, or comment the haproxy listen from configuration of each controllers.
2. Add a new cloud provider Openstack
3. Information of this cloud will never be displayed because it fail on interrogating one of the endpoint :

tail /var/www/miq/vmdb/log/fog.log -f

[----] D, [2015-11-20T09:35:02.133323 #2494:ab7ea8] DEBUG -- : excon.request   
{:uri=>"http://10.41.18.20:8080/v1/AUTH_92d1b60d737a4bdb96eb3894bc8a4eb2/",
 :query=>{"format"=>"json"},
 :method=>"GET",
 :headers=>
  {"User-Agent"=>"fog/1.29.0 fog-core/1.32.1",
   "Content-Type"=>"application/json",
   "Accept"=>"application/json",
   "X-Auth-Token"=>"309873e9c7ac446a8af449e5247d25b0",
   "Host"=>"10.41.18.20:8080"},
 :body=>nil}

[----] E, [2015-11-20T09:35:02.135316 #2494:ab7ea8] ERROR -- : excon.error     #<Excon::Errors::SocketError: Connection refused - connect(2) (Errno::ECONNREFUSED)>

Interface display : 
Default Credentials	Valid
Last Refresh	
Error - 4 Minutes Ago
Connection refused - connect(2) (Errno::ECONNREFUSED

Actual results:
Cloudform stop the scan and let the cloudprovider as unknown while it has information of tenants, vm ....

Expected results:
It should warn and skip the missing element.

Additional info:

Comment 2 Marius Cornea 2016-01-12 10:55:32 UTC
All stated keystone endpoints must be reachable in order for refresh to finish. This looks to be caused by BZ#1237009.


Note You need to log in before you can comment on or make changes to this bug.