Created attachment 573493 [details] broker log Description of problem: Tried to create a non-scalable jenkins app $ curl -k -X POST -H 'Accept: application/xml' -d name=myapp -d cartridge=jenkins-1.4 --user cgole:foo https://ip/broker/rest/domains/cgole/applications <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/cgole2xx/applications">POST /broker/rest/domains/cgole2xx/applications</a></em>.<p> Reason: <strong>Error reading from remote server</strong></p></p> <hr> Attaching broker logs - Version-Release number of selected component (if applicable): devenv_1677 rhc-0.89.7-1.el6_2.noarch broker-0.89.4-1.el6_2.noarch c--10gen-mms-agent-0.1-1.7.1-1.el6_2.noarch c--jenkins-1.4-0.89.2-1.el6_2.noarch How reproducible: always Steps to Reproduce: 1. Create a jenkins app. curl -k -X POST -H 'Accept: application/xml' -d name=myapp -d cartridge=jenkins-1.4 --user cgole:foo https://ip/broker/rest/domains/cgole/applications Actual results: Fail to create jenkins app. I am able to create a php app using the same curl command on the same instance and that was successful. Expected results: Jenkins app should be created successfully/. Additional info:
Can't reproduce on devenv_1679. $ curl -k -u 'rmillner:none' -X POST -H 'Accept: application/xml' -d name=myapp -d cartridge=jenkins-1.4 https://184.73.41.95/broker/rest/domains/rmillner0007/applications <?xml version="1.0" encoding="UTF-8"?> <response> <status>created</status> <type>application</type> <version>1.0</version> ... </response> $ curl -k -u 'rmillner:none' -X POST -H 'Accept: application/xml' -d name=myrealapp -d cartridge=php-5.3 https://184.73.41.95/broker/rest/domains/rmillner0007/applications <?xml version="1.0" encoding="UTF-8"?> <response> <status>created</status> <type>application</type> <version>1.0</version> ... </response>
Verified with the CLI tools. $ rhc app create -p none -a myapp -t php-5.3 --enable-jenkins Creating application: jenkins in rmillner0007 Now your new domain name is being propagated worldwide (this might take a minute)... ... Successfully created application: myapp $ cd myapp; echo "" >> README ; git commit -a -m 'foo'; git push ... remote: SUCCESS remote: New build has been deployed. To ssh://04163c2cfae04e26b2badde458a9d569.rhcloud.com/~/git/myapp.git/ 62b0fb8..7d8e603 master -> master
Verified it on devenv-stage_154, it works.