Hopsworks Karamel installation problems

Hi all,

I tried to install Hopsworks version 1.0 and 1.2 but I had problems on SO: Centos 7.6, Ubuntu 18.04 and Ubuntu 16.0.

Below the errors:

On Hopsworks 1.0, the installation stops at the first cookbook task installation services:

Generated at 2020-04-20 14:26:05 +0000
ArgumentError: Validation map has unknown check: description
/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/mixin/params_validate.rb:109:in block (2 levels) in validate' /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/mixin/params_validate.rb:104:in each’
/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/mixin/params_validate.rb:104:in block in validate' /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/mixin/params_validate.rb:94:in each’
/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/mixin/params_validate.rb:94:in validate' /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/property.rb:473:in validate’
/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/property.rb:677:in `coerce_and_validate’
/opt/chefdk/embedded/lib/ruby/gems/2.

On Hopsworks 1.2, the installation stops on hopswork_install task (cookbook sudo), this is the error:

  • directory[/srv/hops/certs-dir/intermediate/private] action create (up to date) * template[/srv/hops/certs-dir/openssl-ca.cnf] action create (up to date) * template[/srv/hops/certs-dir/intermediate/openssl-intermediate.cnf] action create (up to date) * kagent_sudoers[ndb_backup] action add ESC[0m ================================================================================ESC[0m ESC[31mError executing action add on resource 'kagent_sudoers[ndb_backup]‘ESC[0m ================================================================================ESC[0m
    ESC[0m NoMethodErrorESC[0m -------------ESC[0m undefined method users' for Custom resource sudo from cookbook sudoESC[0m ESC[0m Cookbook Trace:ESC[0m ---------------ESC[0m /tmp/chef-solo/cookbooks/kagent/providers/sudoers.rb:20:in block (2 levels) in class_from_file’ ESC[0m /tmp/chef-solo/cookbooks/kagent/providers/sudoers.rb:18:in `block in class_from_file’ESC[0m
    ESC[0m Resource Declaration:ESC[0m ---------------------ESC[0m # In /tmp/chef-solo/cookbooks/hopsworks/recipes/install.rb ESC[0m ESC[0m 588: kagent_sudoers “ndb_backup” do ESC[0m 589: user node[‘glassfish’][‘user’] ESC[0m 590: group node[‘ndb’][‘group’] ESC[0m 591: script_name “ndb_backup.sh” ESC[0m 592: template “ndb_backup.sh.erb” ESC[0m 593: run_as node[‘ndb’][‘user’] ESC[0m 594: end ESC[0m 595: ESC[0m ESC[0m Compiled Resource:ESC[0m

Thanks really a lot for the support,
Antony

Hi Antony. What platform (on-premise, GCP, AWS, Azure) are you installing on?
There is this script which wraps Karamel and makes it easier to use, you could try it - it will install from the daily-build:
https://hopsworks.readthedocs.io/en/latest/getting_started/installation_guide/platforms/baremetal.html