Install OOD Dashboard Failed

Dear All,

I am new to OOD, tried to install the dashboard but failed with the error message as followings, could someone help me? Thank you in advance,

[h9000@h9000 dashboard]$ RAILS_ENV=production scl enable rh-git29 rh-nodejs6 rh-ruby24 -- bin/setup
cd /home/hal9000/dashboard

== Building Dashboard App ==
RAILS_ENV               = production
RAILS_RELATIVE_URL_ROOT = /pun/sys/dashboard

== Compiling assets ==
bin/rake assets:clobber
rake aborted!
Psych::SyntaxError: (<unknown>): did not find expected '-' indicator while parsing a block collection at line 18 column 5
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:31:in `block (2 levels) in load_file'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:30:in `any?'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:30:in `block in load_file'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:29:in `each'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:29:in `load_file'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_appkit-1.0.3/lib/ood_appkit/configuration.rb:128:in `parse_clusters'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_appkit-1.0.3/lib/ood_appkit/configuration.rb:18:in `clusters'
/home/hal9000/dashboard/lib/tasks/test.rake:7:in `block (2 levels) in <top (required)>'
/home/hal9000/dashboard/lib/tasks/test.rake:2:in `block in <top (required)>'
/home/hal9000/dashboard/lib/tasks/test.rake:1:in `<top (required)>'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `load'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `block in run_tasks_blocks'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `each'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `run_tasks_blocks'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/application.rb:452:in `run_tasks_blocks'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:453:in `load_tasks'
/home/hal9000/dashboard/Rakefile:6:in `<top (required)>'
(See full trace by running task with --trace)
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/file_utils.rb:66:in `block in create_shell_runner': Command failed with status (1): [bin/rake assets:clobber...] (RuntimeError)
	from /opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/file_utils.rb:56:in `sh'
	from bin/setup:52:in `block in <main>'
	from /opt/rh/rh-ruby24/root/usr/share/ruby/fileutils.rb:120:in `chdir'
	from /opt/rh/rh-ruby24/root/usr/share/ruby/fileutils.rb:120:in `cd'
	from /opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/file_utils_ext.rb:37:in `chdir'
	from bin/setup:36:in `<main>'

What OS are you installing this on? Why installing from source instead of using the rpm?

Also you can do this now:

RAILS_ENV=production scl enable ondemand -- bin/setup

But that is equivalent to what you have above.

We can close the ticket on Github if you like, but in either case, it seems to be a problem with the yml of the cluster config you’re providing. You seem to have some problem with a file in your /etc/ood/config/clusters.d/ directory, like it’s not valid yml, probably something to do with an array given it’s complainin about a dash, but the problem is on line 18, column 5.

Aside from that, that’s a strange install directory, your own home. If you’ve enabled development you should clone things to ~/ondemand/dev and symlink /var/www/ood/apps/dev/hal9000/gateway/ to it.

Like this:

jeff@d6ee3ed6b322 /]$ ls /var/www/ood/apps/dev/jeff/ -l
total 0
lrwxrwxrwx. 1 root root 23 Sep  6 19:30 gateway -> /home/jeff/ondemand/dev

@superdavidxp Did you find your issue in your cluster config? Did you make any headway on your installation? Let us know if we can be of further assistance.

Hi,
Thank you so much for your guidance, I have found the error format within my yml file.
Best,
Dawei