Inalid yaml file; Invalid attributes, all used attributes must be defined in metadata.rb

Hi !
I am getting the errors below after running hopsworks-installer.sh. I did not change anything in metadata.rb or any other files from Karamel-chef. Anyone knows the reason behind the errors below?

INFO [2020-10-15 12:38:50,659] org.eclipse.jetty.server.handler.ContextHandler: Started i.d.j.MutableServletContextHandler@3be8821f{/admin,null,AVAILABLE}
INFO [2020-10-15 12:38:50,665] org.eclipse.jetty.server.ServerConnector: Started karamel-core@d8305c2{HTTP/1.1}{0.0.0.0:9090}
INFO [2020-10-15 12:38:52,783] se.kth.karamel.client.api.CookbookCacheIml: 0-level cookbooks for Hops is 1
ERROR [2020-10-15 12:38:53,007] se.kth.karamel.webservice.KaramelServiceApplication: Inalid yaml file; Invalid attributes, all used attributes must be defined in metadata.rb files: [hops/tls/enabled, hops/tls/crl_fetcher_interval, elastic/opendistro_security/epipe/username, hops/rmappsecurity/actor_class, hopsworks/application_certificate_validity_period, elastic/opendistro_security/admin/username, hopsworks/kagent_liveness/threshold, elastic/opendistro_security/audit/enable_transport, hopsworks/requests_verify, hops/tls/crl_fetcher_class, elastic/opendistro_security/elastic_exporter/username, elastic/opendistro_security/audit/enable_rest, hops/yarn/pcores-vcores-multiplier, mysql/password, hops/yarn/cgroups_strict_resource_usage, hopsworks/featurestore_online, hopsworks/admin/password, hops/yarn/detect-hardware-capabilities, hopsworks/admin/user, elastic/opendistro_security/logstash/password, hops/tls/crl_enabled, hops/yarn/system-reserved-memory-mb, hopsworks/encryption_password, elastic/opendistro_security/epipe/password, alertmanager/email/to, elastic/opendistro_security/jwt/exp_ms, install/dir, prometheus/retention_time, alertmanager/email/smtp_host, elastic/opendistro_security/kibana/password, alertmanager/email/from, hopsworks/master/password, ndb/NoOfReplicas, elastic/opendistro_security/kibana/username, hive2/mysql_password, install/kubernetes, hopsworks/kagent_liveness/enabled, hopsworks/https/port, ndb/DataMemory, elastic/opendistro_security/admin/password, install/cloud, elastic/opendistro_security/logstash/username, elastic/opendistro_security/elastic_exporter/password]
INFO [2020-10-15 12:38:53,012] org.eclipse.jetty.server.ServerConnector: Stopped karamel-core@d8305c2{HTTP/1.1}{0.0.0.0:9090}
INFO [2020-10-15 12:38:53,013] org.eclipse.jetty.server.handler.ContextHandler: Stopped i.d.j.MutableServletContextHandler@3be8821f{/admin,null,UNAVAILABLE}
INFO [2020-10-15 12:38:53,013] org.eclipse.jetty.server.handler.ContextHandler: Stopped i.d.j.MutableServletContextHandler@437e951d{/,null,UNAVAILABLE}

@edmund - Karamel is trying to reach GitHub to validate your cluster definition. You should configure a proxy with the installer script.

@Fabio But when I am testing the following access to GitHub, they are reachable:
$ nc -zv github.com 80
Connection to github.com 80 port [tcp/http] succeeded!
$ nc -zv github.com 443
Connection to github.com 443 port [tcp/https] succeeded!

1 Like

I met the same problem.Have you solve it ?