Bug 1023901

Summary: Scalable ruby apps got 503 error when accessing and cannot be restart after migration
Product: OpenShift Online Reporter: Meng Bo <bmeng>
Component: ContainersAssignee: Paul Morie <pmorie>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: chunchen, dmcphers
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: 2013-10-30 20:05:38 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:
Attachments:
Description Flags
restart_failed_for_ruby none

Description Meng Bo 2013-10-28 09:46:48 UTC
Created attachment 816742 [details]
restart_failed_for_ruby

Description of problem:
Create scalable ruby apps on devenv-stage_528, upgrade server to latest devenv, and upgrade the gears. Check the scalable ruby apps after upgrade. The scalable ruby 1.8 and ruby 1.9 app return 503.

Version-Release number of selected component (if applicable):
devenv-stage_528 to devenv_3953

How reproducible:
always

Steps to Reproduce:
1. Create apps on devenv-stage ami
2. Upgrade server and migrate gears
3. Check the app status and access the app
4. Restart the app via rhc client

Actual results:
The app show as started state but the home page return 503 when accessing.

# rhc app restart ruby19s
Unable to complete the requested operation due to: Failed to correctly execute all parallel operations.
Reference ID: 1df3c75ff691550d73691b73102595bf


Expected results:
The app should be accessible after migration.

Additional info:
Find the following info in the upgrade_result log:

            "start_gear": {
                "context": {
                    "warning": "Start gear failed with an exception: Failed to execute: 'control start' for /var/lib/openshift/526e24553c574c882000001a/ruby"
                }, 
                "errors": [], 
                "status": "complete"
            }, 
            "stop_gear": {
                "context": {
                    "warning": "Stop gear failed with an exception: undefined method `values' for nil:NilClass"
                }, 
                "errors": [], 
                "status": "complete"
            }, 


Development log when restarting app attached.

Comment 1 chunchen 2013-10-29 10:24:16 UTC
It is also reproduced on INT(devenv_3957).

Comment 2 Dan McPherson 2013-10-30 20:05:38 UTC

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