Application scaling do not work in OpenShift Enterprise

Solution Unverified - Updated -

Issue

  • An auto-scaling app creates new gears as expected under load, but the new gears remain in status 'DOWN' and never start processing requests.

  • This is seen in the logs:

September 27 12:41:18 DEBUG Shell command '/sbin/runuser -m -s /bin/sh 5245acc362432a0b1000010a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c505' /bin/sh -c \"/var/lib/openshift/5245acc362432a0b1000010a/haproxy/hooks/set-gear-endpoints myapp mydomain 5245acc362432a0b1000010a \'5245acc362432a0b1000010a\'\=\'5245acc362432a0b1000010a@::1:ruby\;myapp-mydomain.my.tld.com\'\ \'5245b54362432a0b1000012b\'\=\'5245b54362432a0b1000012b@::1:ruby\;5245b54362432a0b1000012b-mydomain.my.tld.com\'\""' ran. rc=22 out=
September 27 12:41:18 INFO ERROR: (22)

Environment

  • OpenShift Enterprise 1.2
  • OpenShift Enterprise 2.x

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.