-
Bug
-
Resolution: Done
-
Medium
-
Beijing Release
-
SDC Sprint 14, SDC Sprint 15, SDC Sprint 16
FE_2_setup_configuration.rb file requires now new variables that are missing in the environment files:
variables({ :dcae_discovery_url => node['Plugins']['DCAE']['dcae_discovery_url'], :dcae_source_url => node['Plugins']['DCAE']['dcae_source_url'], :workflow_discovery_url => node['Plugins']['WORKFLOW']['workflow_discovery_url'], :workflow_source_url => node['Plugins']['WORKFLOW']['workflow_source_url'] })
As the result, chef fails with error:
================================================================================
Recipe Compile Error in /root/chef-solo/cache/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
================================================================================
NoMethodError
-------------
undefined method `[]' for nil:NilClass
Cookbook Trace:
---------------
/root/chef-solo/cache/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb:28:in `block in from_file'
/root/chef-solo/cache/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb:19:in `from_file'
Relevant File Content:
----------------------
/root/chef-solo/cache/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb:
21: source "FE-plugins-configuration.yaml.erb"
22: owner "jetty"
23: group "jetty"
24: mode "0755"
25: variables({
26: :dcae_discovery_url => node['Plugins']['DCAE']['dcae_discovery_url'],
27: :dcae_source_url => node['Plugins']['DCAE']['dcae_source_url'],
28>> :workflow_discovery_url => node['Plugins']['WORKFLOW']['workflow_discovery_url'],
29: :workflow_source_url => node['Plugins']['WORKFLOW']['workflow_source_url']
30: })
31: end
32:
33:
34: template "onboarding-fe-config" do
35: path "#{jetty_base}/config/onboarding-fe/onboarding_configuration.yaml"
36: source "FE-onboarding-configuration.yaml.erb"
37: owner "jetty"
- clones
-
SDC-989 SDC healthcheck fails with message DCAE is Down
- Closed