Bug 876890
| Summary: | [US3046]App can not work well when creating a scalable app from a quickstart with initial git url added | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | joycezhang <jinzhang> | ||||
| Component: | Pod | Assignee: | Ram Ranganathan <ramr> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.x | CC: | ccoleman, mfisher, yujzhang | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-19 19:26:19 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
joycezhang
2012-11-15 08:55:53 UTC
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. |