[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Javascript runtime error



Hi All,
Got my broker and node setup using centos, but after i create a district and attempt to add the node I get this error, 

[root broke[root@broker ~]# oo-admin-ctl-district -c add-node -n small_district -i node1.os.com
/usr/sbin/oo-admin-ctl-district:215:in `block in <main>': undefined method `casecmp' for nil:NilClass (NoMethodError)
        from /usr/sbin/oo-admin-ctl-district:178:in `block in collate_errors'
        from /usr/sbin/oo-admin-ctl-district:176:in `each'
        from /usr/sbin/oo-admin-ctl-district:176:in `collate_errors'
        from /usr/sbin/oo-admin-ctl-district:213:in `<main>'



Then after a some digging it looks like I'm missing a javascript runtime? Is this normal or did I miss a installation step?


[root broker ~]# oo-accept-broker
NOTICE: stderr output loading broker settings:
/opt/rh/ruby193/root/usr/share/gems/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `autodetectavailable runtimes. (ExecJS::RuntimeUnavailable)
        from /opt/rh/ruby193/root/usr/share/gems/gems/execjs-1.4.0/lib/execjs.rb:5:in `<module
        from /opt/rh/ruby193/root/usr/share/gems/gems/execjs-1.4.0/lib/execjs.rb:4:in `<top (r
        from /opt/rh/ruby193/root/usr/share/gems/gems/coffee-script-2.2.0/lib/coffee_script.rb
        from /opt/rh/ruby193/root/usr/share/gems/gems/coffee-script-2.2.0/lib/coffee_script.rb
FAIL: Error while loading broker settings.
#####

      puts broker_conf.get('AUTH_SALT')
      puts console_conf.get('SESSION_SECRET')
      puts broker_conf.get('ENABLE_USER_ACTION_LOG')
      puts OpenShift::AuthService.instance_variable_get('@oo_auth_provider')
      puts OpenShift::ApplicationContainerProxy.instance_variable_get('@proxy_provider')
      puts OpenShift::DnsService.instance_variable_get('@oo_dns_provider')
      puts Rails.application.config.auth[:trusted_header]
      puts broker_conf.get('USER_ACTION_LOG_FILE')
      puts broker_conf.get('SESSION_SECRET')
#####

#####
1 ERRORS

Jason


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]