192.168.204.75
192.168.204.75 NoMethodError
192.168.204.75 -------------
192.168.204.75 undefined method `[]' for nil:NilClass
192.168.204.75
192.168.204.75 Cookbook Trace:
192.168.204.75 ---------------
192.168.204.75 /var/chef/cache/cookbooks/datadog/recipes/mysql.rb:24:in `block in from_file'
192.168.204.75 /var/chef/cache/cookbooks/datadog/recipes/mysql.rb:23:in `from_file'
192.168.204.75 /var/chef/cache/cookbooks/keas-datadog/recipes/mysql.rb:3:in `from_file'
192.168.204.75 /var/chef/cache/cookbooks/keas-percona/recipes/default.rb:19:in `from_file'
192.168.204.75
192.168.204.75 Relevant File Content:
192.168.204.75 ----------------------
192.168.204.75 /var/chef/cache/cookbooks/datadog/recipes/mysql.rb:
192.168.204.75
192.168.204.75 17: # "replication: 0",
192.168.204.75 18: # "galera_cluster: 1"
192.168.204.75 19: # ]
192.168.204.75 20: # },
192.168.204.75 21: # ]
192.168.204.75 22:
192.168.204.75 23: datadog_monitor 'mysql' do
192.168.204.75 24>> instances node['datadog']['mysql']['instances']
192.168.204.75 25: end
192.168.204.75 26:
192.168.204.75 27:
192.168.204.75 28:
192.168.204.75
192.168.204.75
192.168.204.75 Running handlers:
192.168.204.75 [2014-11-20T15:50:04+05:30] ERROR: Running exception handlers
192.168.204.75 Running handlers complete
192.168.204.75 [2014-11-20T15:50:04+05:30] ERROR: Exception handlers complete
192.168.204.75 [2014-11-20T15:50:04+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
192.168.204.75 Chef Client failed. 0 resources updated in 2.890363666 seconds
192.168.204.75 [2014-11-20T15:50:04+05:30] ERROR: undefined method `[]' for nil:NilClass
192.168.204.75 [2014-11-20T15:50:04+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsucce
sfully (exit code 1)