| Summary: | Can not access Openshift website on build devenv_1600 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Yujie Zhang <yujzhang> | ||||
| Component: | Website | Assignee: | Clayton Coleman <ccoleman> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 2.x | CC: | szhou, xtian | ||||
| Target Milestone: | --- | Keywords: | Regression, TestBlocker | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-04-13 18:31:24 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
This bug does not exist on devenv_1596, it is a regression bug. Addition of Node.js to the system changed the Javascript runtime that Rails uses (via ExecJS) to compile .coffee files down to .js. [root@ip-10-34-133-24 ~]# ruby -rubygems -e "require 'execjs'; puts ExecJS::Runtimes.autodetect.inspect" #<ExecJS::ExternalRuntime:0x7f40454c7ac0 @runner_path="/usr/lib/ruby/gems/1.8/gems/execjs-1.2.6/lib/execjs/support/node_runner.js", @test_match=nil, @command=["nodejs", "node"], @binary="/usr/bin/node", @encoding=nil, @test_args=nil, @name="Node.js (V8)"> Fix will be to set ENV['EXECJS_RUNTIME'] for the site startup or to remove JS and fix the issue with node where it doesn't have enough memory. Fixed by setting EXECJS_RUNTIME to SpiderMonkey (what we package as part of 'js'). Opened bug 789461 to cover future investigation into V8 problem. (In reply to comment #2) Testing this bug on rhc-site-0.86.1-1.git.341.d96e1be.el6.noarch,it is fixed now. |
Created attachment 560849 [details] CompilationError Description of problem: Can not access Openshift website. Version-Release number of selected component (if applicable): devenv_1600 How reproducible:always Steps to Reproduce: 1.Try to go to openshift website 2. 3. Actual results: The website can not be acccessible, the following error came out: Barista::CompilationError CoffeeScript encountered an error compiling /var/www/libra/site/app/coffeescripts/form.coffee: FATAL ERROR: v8::Context::New() V8 is no longer usable Rails.root: /var/www/libra/site Details see in attachment. Expected results: The website should be accessed sucessfully. Additional info: