Bug 1025363

Summary: Admin Console returns a 503
Product: OKD Reporter: Wesley Hearn <whearn>
Component: PodAssignee: Luke Meyer <lmeyer>
Status: CLOSED WORKSFORME QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: agrimm, ccoleman, lmeyer
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: 2016-01-29 16:17:31 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
Stacktrace from the http error_log none

Description Wesley Hearn 2013-10-31 14:37:32 UTC
Created attachment 817933 [details]
Stacktrace from the http error_log

Description of problem: Admin console does not work in INT


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

How reproducible:
Always

Steps to Reproduce:
1. Deploy admin console
2. Set up routes
3. Try access the admin console

Actual results:
Get a 503 with a stack trace inside our http error_log

Expected results:
We should see the pretty admin console

Additional info:
See attached for the stacktrace

Comment 1 Luke Meyer 2013-10-31 16:42:47 UTC
Ruby appears to be choking at a very low level while initializing libv8 from therubyracer. This is used to compile JS assets, but I don't think it's even getting as far as trying to compile something, just loading the code.

Given I have no idea what causes this and can't reproduce in a devenv, my suggestion would be to do what we're going to have to do eventually anyway, and precompile the assets. Hopefully that will allow us to remove the asset pipeline from even needing to load in production mode.

Comment 2 Clayton Coleman 2013-10-31 17:33:09 UTC
We've seen this before, usually relates to therubyracer picking up the wrong runtim env.

Comment 3 Luke Meyer 2013-11-19 17:05:08 UTC
I thought this might be due to the admin-console having an unstated dependency that wouldn't get installed on a broker-only host. So, under OSE I installed a broker-only host. I removed v8, which I thought might be the thing missing Online (only needed by broker-utils via mongodb). I removed the rhc client.

Still I did not see this problem. admin-console requires therubyracer, which requires v8, both from SCL. So I don't think it's a dependency issue, unless something is quite different in Online.

Comment 4 Andy Grimm 2016-01-29 16:17:31 UTC
We haven't seen this issue in ages.  No need to keep tracking, I don't think.