Haproxy page is seen randomly on OpenShift Enterprise

Solution Verified - Updated -

Issue

  • After upgrading to 1.2 and implementing scaling, the site occasionally shows the haproxy page instead of the application.
  • This seems to be random.
  • Ruby 1.9 Passenger is not starting properly.
  • When accessing the application below error is seen in Ruby logs :
Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations
/opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
        from /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `new'
  • Issue seems to be related with the bug : bug https://bugzilla.redhat.com/show_bug.cgi?id=984867

Environment

  • OpenShift Enterprise
    • 1.2
    • 2.x
  • Ruby on Rails 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.