Created attachment 645504 [details] Gears are down in Browser Description of problem: If try to create a scalable app from a created quickstart in community with initial git url added, the app can't shown correctly in browser and all gears are down. Version-Release number of selected component (if applicable): devenv_2476 rhc-1.1.7.gem How reproducible: always Steps to Reproduce: 1.Enable quickstarts on instance. 2.Create a quickstart as Admin And add git repo url:https://github.com/openshift/wordpress-example.git 3.Add this quickstart to search index in drupal by hitting /community/cron.php. 4.Go to web console and create an scalable app with this quickstarts. 5.Check the app can work well. Actual results: App can not work correctly in Browser as attached sceenshot. Expected results: It works correctly.If quickstart can't support scalable app, a notice should be shown to tell user that quickstart with git url can't support scalable app. Additional info: 1.It can work well with non-scalable app. 2.It can work well for scalable app for the quickstart without initial git url added.
This was never done with the old templates right? Do we support this scenario yet?
If it's not supported, if it's possible to disable the scaling item when creating app with initial git url added, or a friendly notice to tell user that it currently not supported yet? Thanks!
(In reply to comment #1) Tested this on INT(devenv_2484) today, the issue still exists, please disable the scale function when creating template app in case to confuse users.
Why can't an application be created with haproxy and another cart?
The issue here is with the wordpress quickstart -- its using the MYSQL socket file to connect to mysql. That works on non-scaled apps as mysql runs in the same gear as php. But on a scaled app, the mysql gear is different than the php or haproxy+php gear and so wordpress is unable to connect to mysql as its using the socket file. Would suggest trying another quickstart -- maybe one that just does web serving first and see if that works and then maybe try one w/ a db (mongo's probably a better bet as it always uses an IP based connection mechanism) and then check w/ mysql. Checking w/ a different quickstart ...
Works fine w/ the flask-example instead of wordpress and php cartridges, try using flask-example.git and python. https://$verifier_ip/app/console/application_types/custom?cartridges[]=python-2.6&initial_git_url=https://github.com/openshift/flask-example.git Will look at the wordpress example seperately to make it work w/ scaled applications -- can you file a separate bug on that please. Thanks. For the purposes of this bug -- it works for me w/ flask.
It works with flask-exambple.git for python afer testing on devenv_2497. I will open a bug seperately to track the issue for wordpress example. Thanks.
Bug 877849 is opened for tracking wordpress example. Thanks.