Bug 1292701
Summary: | Install mysqlclient in Django scalable application | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Jaspreet Kaur <jkaur> |
Component: | Containers | Assignee: | Vu Dinh <vdinh> |
Status: | CLOSED WONTFIX | QA Contact: | DeShuai Ma <dma> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 2.x | CC: | agrimm, aos-bugs, jkaur, jokerman, mmccomas, stijndewitt, vdinh |
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: | 2016-04-22 18:40:54 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: |
Description
Jaspreet Kaur
2015-12-18 06:58:30 UTC
Hello, There is a correct in my statement : When installing mysqlclient in scalable django application it fails while it works in non-scalable application Regards, Jaspreet Hello, Can we have an update on this please so as to inform the customer if it going to be considered or not ? Regards, Jaspreet Hi, We are still actively working to resolve this issue. We are narrowing down the cause for this and hopefully will come up with a fix soon. However, it's holiday season so the progress has been slow unfortunately as most of engineers are on PTO. We will give you more updates as soon as we get back from the break. Thanks, Vu Hi, Just want to post a quick update that we are still working on this issue. In the meantime, there is a possible workaround that customer can give a try if necessary. 1. First, create the scalable app with python-3.3 without mysql-5.5 cartridge: rhc app create <app-name> python-3.3 -s 2. Then, add django and mysqlclient to setup.py and the git push the change. Both django and mysqlclient should be installed properly. 3. Finally, add mysql-5.5 cartridge to the app: rhc cartridge add mysql-5.5 --app <app-name> Now, the app should have 2 gears, one for python and one for mysql as it should be. Let me know if this workaround is suitable for customer case. Thanks, Vu I had the same issue as the OP. Created a scalable app with Python 3.3 and MySQL 5.5 but mysqlclient would not install. I tried the workaround suggested by Vu Dinh and that works. Thanks Vu! Hi Stijn, Thanks for letting me know and you are welcome! Vu The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |