Description of problem: Create a ruby-1.8 app and check ruby.log on the gear, it shows some error: [Tue Apr 22 03:51:11 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:openshift_t:s0:c5,c423 [Tue Apr 22 03:51:12 2014] [notice] Digest: generating secret for digest authentication ... [Tue Apr 22 03:51:12 2014] [notice] Digest: done [Tue Apr 22 03:51:12 2014] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations /usr/lib/ruby/gems/1.8/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from /usr/lib/ruby/gems/1.8/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `new' from /usr/lib/ruby/gems/1.8/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `connect' from /usr/lib/ruby/gems/1.8/gems/passenger-3.0.21/helper-scripts/prespawn:86:in `socket' from /usr/lib/ruby/gems/1.8/gems/passenger-3.0.21/helper-scripts/prespawn:90:in `head_request' from /usr/lib/ruby/gems/1.8/gems/passenger-3.0.21/helper-scripts/prespawn:145 Version-Release number of selected component (if applicable): STG(devenv-stage_813) How reproducible: Always Steps to Reproduce: 1. Create a ruby-1.8 app # rhc app create rb18 ruby-1.8 2. SSH into the gear and check ruby.log # rhc ssh rb18 > cat $OPENSHIFT_LOG_DIR/ruby.log Actual results: 2. Refer to descpriton Expected results: [Tue Apr 22 01:20:53 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:openshift_t:s0:c4,c317 [Tue Apr 22 01:20:53 2014] [notice] Digest: generating secret for digest authentication ... [Tue Apr 22 01:20:53 2014] [notice] Digest: done [Tue Apr 22 01:20:53 2014] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations Additional info: ruby-1.9 doesn't have the issue
@Mrunal, @Troy, can we fix this bug in the Ruby 1.8 Passenger RPM the same way as for Ruby 1.9 Passenger (as stated in Bug 984867 Comment 29)?
The same patch works for our ruby 1.8 version of passenger. We probably should have patched them both when we did this the first time. I am building a new ruby 1.8 version of rubygem-passenger right now.
The issue can't be reproduced STG (devenv_861): [rb18-salaxg.stg.rhcloud.com 538d547cdbd93cc773001008]\> cat app-root/logs/ruby.log [Tue Jun 03 00:52:42 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:openshift_t:s0:c4,c107 [Tue Jun 03 00:52:43 2014] [notice] Digest: generating secret for digest authentication ... [Tue Jun 03 00:52:43 2014] [notice] Digest: done [Tue Jun 03 00:52:43 2014] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations - - - [03/Jun/2014:00:52:44 -0400] "HEAD / HTTP/1.1" 200 - "-" "-" - - - [03/Jun/2014:00:52:45 -0400] "HEAD / HTTP/1.1" 200 - "-" "-"
Vojtech, should this be on_qa?
@Ben Yes, I think so. I believe the new RPMs (comment 2) are already built and available at the moment. Thanks for noticing!
Verified on devenv_4940, the issue fixed, thanks. [rb18-d.dev.rhcloud.com 53ba40109eb470726200002e]\> cat $OPENSHIFT_LOG_DIR/ruby.log [Mon Jul 07 02:37:23 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:openshift_t:s0:c0,c1001 [Mon Jul 07 02:37:23 2014] [notice] Digest: generating secret for digest authentication ... [Mon Jul 07 02:37:23 2014] [notice] Digest: done [Mon Jul 07 02:37:23 2014] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations - - - [07/Jul/2014:02:37:25 -0400] "HEAD / HTTP/1.1" 200 - "-" "-" - - - [07/Jul/2014:02:37:26 -0400] "HEAD / HTTP/1.1" 200 - "-" "-"