Bug 1024304 - Redmine with ruby-1.9/ruby-1.8 and mysql-5.1 returns 503 after migration.
Summary: Redmine with ruby-1.9/ruby-1.8 and mysql-5.1 returns 503 after migration.
Keywords:
Status: CLOSED DUPLICATE of bug 1021472
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-29 11:16 UTC by Yujie Zhang
Modified: 2015-05-14 23:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-30 19:24:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
full log file (98.29 KB, text/plain)
2013-10-29 11:16 UTC, Yujie Zhang
no flags Details
platform.log (1.67 MB, text/x-log)
2013-10-30 09:21 UTC, Wei Sun
no flags Details
ugrade.log (33.12 KB, text/x-log)
2013-10-30 09:22 UTC, Wei Sun
no flags Details

Description Yujie Zhang 2013-10-29 11:16:32 UTC
Created attachment 817054 [details]
full log file

Description of problem:

Create rubyonrails and redmine application with ruby-1.9 and mysql-5.1 cartridges on old env, after migration, the rubyonrails and redmine application return 503 error, found the following result for rubyonrails applications:

"upgrade_script_ruby": {
                "status": "incomplete",
                "errors": [
                   
                ],

"start_gear": {
                "status": "complete",
                "errors": [
                   
                ],
                "context": {
                    "warning": "Start gear failed with an exception: Failed to execute: 'control start' for /var/lib/openshift/526f55f145ed468e39000036/ruby"
                }
            },
            "validate_gear": {
                "status": "complete",
                "errors": [
                   
                ],
                "context": {
                    "preupgrade_state": "started",
                    "postupgrade_response_code": "503",
                    "postupgrade_status": "Cart status for ruby [PROBLEM]: CLIENT_RESULT: Application is either stopped or inaccessible\n\nCart status for mysql [OK]: CLIENT_RESULT: MySQL is running\n\n"
                }
            }
        },

Version-Release number of selected component (if applicable):
devenv_3960

How reproducible:
always

Steps to Reproduce:
1.Create rubyonrails or redmine application on devenv-stage_528
2.Migrate to devenv_3960
3.Check the rubyonrails and redmine application

Actual results:

The rubyonrails and redmine application both return 503 error, full log please see in attachment.

Expected results:

The rubyonrails and redmine application should work correctly after migration.

Additional info:

Comment 1 Michal Fojtik 2013-10-29 12:38:24 UTC
Hi,

Could you also please provide the /var/log/openshift/node/platform.log? I guess the 'start' operation failure will be logged there.

Comment 2 Wei Sun 2013-10-30 09:21:44 UTC
Created attachment 817352 [details]
platform.log

Tried this bug on devenv_3966 which is upgraded from devenv-stage_528.

For rubyonrails quickstart,after migration,could access the app's url.

For redmine with ruby-1.9/ruby-1.8,after migration ,still could not access the app's url.

Comment 3 Wei Sun 2013-10-30 09:22:48 UTC
Created attachment 817353 [details]
ugrade.log

Comment 4 Dan McPherson 2013-10-30 19:24:20 UTC

*** This bug has been marked as a duplicate of bug 1021472 ***


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