Bug 985547 - fedena installation error
Summary: fedena installation error
Keywords:
Status: CLOSED DUPLICATE of bug 963794
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Hiro Asari
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 17:53 UTC by bhavyakamboj
Modified: 2015-05-14 23:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-28 12:18:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description bhavyakamboj 2013-07-17 17:53:00 UTC
Description of problem:
cannot install fedena

Version-Release number of selected component (if applicable):
ruby 1.8
mysql 5.1

How reproducible: during installation of this instant app


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Maintenance in progress

The OpenShift Online service is temporarily unavailable while we perform server maintenance. Please check the status page for updates.

Comment 1 Clayton Coleman 2013-08-21 20:48:56 UTC
This should now be resolved.

Comment 2 Tian Feng 2013-08-22 08:03:39 UTC
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.

Comment 3 Clayton Coleman 2013-08-23 19:25:51 UTC
Depending on the complexity of fedena it is probably hitting the deployment timeout limit.

Comment 4 Hiro Asari 2013-08-27 16:02:45 UTC
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
Application Options
-------------------
  Namespace:  fooooooooooo
  Cartridges: ruby-1.8, mysql-5.1
  Gear Size:  default
  Scaling:    no

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
To ssh://521cc550b7a2d40d3a000001.rhcloud.com/~/git/fedena.git/
   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.

Comment 5 Tian Feng 2013-08-28 02:43:18 UTC
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.

Comment 6 Hiro Asari 2013-08-28 12:18:04 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.