-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails when creating a scalable app #1
Comments
Based on the error, looks like the incorrect mysql db host was entered. For the correct parameters, please ssh onto the gear (rhc ssh appName), and run 'env | grep MYSQL' and copy/paste the values for: When using the mysql db cartridge, a default db is created with (value of) $OPENSHIFT_APP_NAME |
Copy/Paste these values into the deploy script? |
Sorry for the delay on response. Working on reproducing then, workaround |
I think it's something to do with the ${OPENSHIFT_MYSQL_DB_SOCKET} This env is unset for me in my scalable app, but set if I create an app without the -s tag On 13 Aug 2013, at 18:08, Nam Duong [email protected] wrote:
|
Yes, the deploy hook needs to be updated as it didn't take into account scaling. I changed 2 lines to get it to deploy:
|
After some testing, looks like this quickstart wasn't designed for scalable applications. Once the app scales up, it triggers the deploy hook on the second gear and errors out. Can you enter a bug here?: https://bugzilla.redhat.com/enter_bug.cgi?product=OpenShift%20Online |
Done https://bugzilla.redhat.com/show_bug.cgi?id=996616 On 13 Aug 2013, at 21:55, Nam Duong [email protected] wrote:
|
Thanks for your help. I'm not sure how I can fix this - the unset mysql socket in the scalable app seems to be the main problem. On 13 Aug 2013, at 21:55, Nam Duong [email protected] wrote:
|
If creating an unscalable app, this quickstart works perfectly, but if creating an app with the -s (scalability) flag, this process fails when doing the git push command
The text was updated successfully, but these errors were encountered: