Red Hat Bugzilla – Bug 985547
fedena installation error
Last modified: 2015-05-14 19:24:12 EDT
Description of problem:
cannot install fedena
Version-Release number of selected component (if applicable):
How reproducible: during installation of this instant app
Steps to Reproduce:
Maintenance in progress
The OpenShift Online service is temporarily unavailable while we perform server maintenance. Please check the status page for updates.
This should now be resolved.
Test on PROD and devenv-stage_448, I cannot create a Fedena quickstarts via website. It will take more time to create and then return "Application creation is taking longer than expected. Please wait a few minutes, then refresh this page."
After a while, the application will disapper.
Depending on the complexity of fedena it is probably hitting the deployment timeout limit.
Could you explain how you are installing this?
If it is timing out when you create the application with '--from-code' flag, you can try creating an app, then replacing the code.
I consulted http://manichandrasekar.blogspot.in/2013/07/installing-fedena-on-openshift.html, which is slightly out of date, but should be instructive all the same.
The main difference between the instructions above and my procedure below is the removal of 'config.ru', which gets in the way during the process.
$ rhc app create fedena ruby-1.8 mysql-5.1
Cartridges: ruby-1.8, mysql-5.1
Gear Size: default
Creating application 'fedena' ... done
MySQL 5.1 database added. Please make note of these credentials:
Run 'rhc show-app fedena' for more details about your app.
$ cd fedena
$ git remote add upstream -m master https://github.com/maninc/fedena.git
$ git pull -s recursive -X theirs upstream master
warning: no common commits
remote: Counting objects: 4465, done.
remote: Compressing objects: 100% (2722/2722), done.
remote: Total 4465 (delta 1535), reused 4456 (delta 1533)
Receiving objects: 100% (4465/4465), 5.31 MiB | 1.39 MiB/s, done.
Resolving deltas: 100% (1535/1535), done.
$ git rm config.ru
$ git commit -m 'no config.ru'
$ git push
remote: Starting Ruby cartridge
8942ed8..d79d2a6 master -> master
The initial push takes quite some time, since there is a lot of dependencies Bundler needs to resolve, and then a lot of gems to install. There is also migration to perform.
Once all of this is done, though, the application should be accessible. (There seems to be application errors in some functionalities, but they appear purely application errors, not OpenShift bugs.)
Try this, and let us know if we can be of further help.
Test on PROD, be able to create a fedena application successfully using rhc following the step above all.
But still fail to create on via web console. It will take more time to create and then return "Application creation is taking longer than expected. Please wait a few minutes, then refresh this page."
After a while, the application will disappear.
I apologize. I didn't see https://www.openshift.com/quickstarts/fedena.
The application's dependency is too large to fit within the current timeout used by the console (and its equivalent '--from-code' via command line).
I'll comment on the quickstart page.
I'm closing this as a duplicate of Bug 963794. See https://bugzilla.redhat.com/show_bug.cgi?id=963794#c4.
*** This bug has been marked as a duplicate of bug 963794 ***