Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1212583 - Ruby app trys to load module and connection is refused
Ruby app trys to load module and connection is refused
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image (Show other bugs)
2.2.0
Unspecified Unspecified
high Severity medium
: ---
: ---
Assigned To: Timothy Williams
libra bugs
: Reopened
Depends On: 1044980
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-16 13:29 EDT by Eric Rich
Modified: 2015-07-21 15:12 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The Passenger rubygem previously prespawned on the local 127.0.0.1 IP address. As a result, an error was reported at startup in the Ruby log. This bug fix updates Passenger to connect in prespawn to the proper gear IP address, and as a result prespawn functions properly and no error is reported in the logs at startup.
Story Points: ---
Clone Of: 1044980
Environment:
Last Closed: 2015-07-21 15:12:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1463 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.6 bug fix and enhancement update 2015-07-21 19:11:33 EDT

  None (edit)
Comment 1 Eric Rich 2015-04-16 13:34:40 EDT
This seems to be fixed with BZ (https://bugzilla.redhat.com/show_bug.cgi?id=1044980) and Errata (http://rhn.redhat.com/errata/RHBA-2014-0781.html) for 1.8, but not 1.9.
Comment 4 Brenton Leanhardt 2015-04-16 13:47:34 EDT
The issue in ruby 1.8 was a confusing error message but no functionality was technically broken.  Is this the same case or is functionality broken in some way?
Comment 6 Gaoyun Pei 2015-04-17 02:48:29 EDT
Could reproduce with ruby193-rubygem-passenger-3.0.21-3.el6op.x86_64.
This should be the same issue with ruby 1.8. 
Hardcode '127.0.0.1' could be seen in /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn

 99 class TCPPrespawnLocation < PrespawnLocation
100         def request_port
101                 @uri.port
102         end
103 
104         def connect
105                 TCPSocket.new('127.0.0.1', request_port)
106         end
107 end
Comment 7 Eric Rich 2015-04-17 07:31:29 EDT
(In reply to Brenton Leanhardt from comment #4)
> The issue in ruby 1.8 was a confusing error message but no functionality was
> technically broken.  Is this the same case or is functionality broken in
> some way?

Customer confirmed that this is not something that breaks the application, but is a reporting issue.
Comment 15 Gaoyun Pei 2015-06-29 01:47:27 EDT
Verify this bug with ruby193-rubygem-passenger-3.0.21-4.el6op.x86_64

The hardcode has been removed. 
No error found in ruby-1.8/ruby-1.9 application log.
Comment 17 errata-xmlrpc 2015-07-21 15:12:18 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1463.html

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