Description of problem: Create a scalable ruby app immediately after creating domain. Version-Release number of selected component (if applicable): rhc-cartridge-rack-1.1-0.88.3-1.el6_2.noarch rhc-cartridge-haproxy-1.4-0.6.6-1.el6_2.noarch rubygem-stickshift-node-0.6.9-1.el6_2.noarch rubygem-stickshift-common-0.6.4-1.el6_2.noarch stickshift-abstract-0.6.7-1.el6_2.noarch rubygem-stickshift-controller-0.6.8-1.el6_2.noarch How reproducible: Sometimes Steps to Reproduce: 1.Create domain $ rhc domain create -n jizhaotest1 -d 2.Create a scalable ruby app immediately using REST API $ curl -k -H "Accept: application/xml" --user "jizhao+3:pass" https://ec2-50-17-165-16.compute-1.amazonaws.com/broker/rest/domains/jizhaotest1/applications -X POST -d name=app1 -d cartridge=ruby-1.8 -d scale=true 3. Actual results: Sometimes the app is unavailable. Console output: <------------------output----------------> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>502 Proxy Error</title> </head><body> <h1>Proxy Error</h1> <p>The proxy server received an invalid response from an upstream server.<br /> The proxy server could not handle the request <em><a href="/broker/rest/domains/jizhaotest1/applications">POST /broker/rest/domains/jizhaotest1/applications</a></em>.<p> Reason: <strong>Error reading from remote server</strong></p></p> <hr> <address>Apache/2.2.15 (Red Hat) Server at ec2-50-17-165-16.compute-1.amazonaws.com Port 443</address> </body></html> <----------------------------------------> Expected results: The app should be created without error. Additional info:
Verified on devenv_1662.