Bug 1375308 - Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 43847
Summary: Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 43847
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.6.0
Hardware: All
OS: All
unspecified
urgent
Target Milestone: GA
: 5.7.0
Assignee: Tina Fitzgerald
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-12 16:54 UTC by Josh Carter
Modified: 2019-12-16 06:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-09 19:47:16 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)
bz_1375308_pr_10445 hot fix (9.81 KB, application/x-gzip)
2016-09-13 15:57 UTC, Brandon Dunne
no flags Details

Comment 5 Tina Fitzgerald 2016-09-12 19:31:38 UTC
Working with support to suggest that customer change the puma configuration settings to see if it resolves the connection refused error.

Comment 10 Brandon Dunne 2016-09-13 15:57:24 UTC
Created attachment 1200554 [details]
bz_1375308_pr_10445 hot fix

Comment 11 Tina Fitzgerald 2016-09-14 19:50:48 UTC
We believe the customer issue is caused by setting
the root object ecloud_client attribute(object) in the authenticate
method.

root value:
ecloud_client: #<Fog::Compute::Ecloud::Real:0x000000012ce4e8>

Each automate method runs in its own process, so the ecloud_client
object should be set in the method where it's used.

The customer is currently using 3 states in the provisioning state machine:
1. authenticate (customizerequest)
2. object_walker (registerAD)
3. get_vm(provision)

The authenticate method sets this root object attribute which is
causing the error:
 $evm.root['ecloud_client'] = Fog::Compute::Ecloud.new ecloud_options

We see this code in the get_vm method:
 #client = Fog::Compute::Ecloud.new ecloud_options
  ecloud_client = $evm.root['ecloud_client']

Can you ask the customer to remove the setting of root ecloud_client
attribute in the authenticate method and instead set it in the get_vm
method?

Comment 12 Tina Fitzgerald 2016-09-16 18:22:42 UTC
My understanding is that the customer issue has been resolved with the changes described above.

Comment 13 Tina Fitzgerald 2016-10-10 21:54:11 UTC
Hi Josh,

Can we close this ticket?

Thanks,
Tina


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