Created
March 25, 2014 20:57
-
-
Save slyness/9771150 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ================================================================================ | |
| Recipe Compile Error in /var/chef/cache/cookbooks/echelon/recipes/dashboard.rb | |
| ================================================================================ | |
| NoMethodError | |
| ------------- | |
| undefined method `[]' for nil:NilClass | |
| Cookbook Trace: | |
| --------------- | |
| /var/chef/cache/cookbooks/echelon/recipes/_discover_graphite.rb:26:in `from_file' | |
| /var/chef/cache/cookbooks/echelon/recipes/dashboard.rb:12:in `from_file' | |
| Relevant File Content: | |
| ---------------------- | |
| /var/chef/cache/cookbooks/echelon/recipes/_discover_graphite.rb: | |
| 19: | |
| 20: unless graphite_node.nil? | |
| 21: local_ipv4 = Discovery.ipaddress(:remote_node => graphite_node, | |
| 22: :node => node, | |
| 23: :type => :local) | |
| 24: | |
| 25: node.override["echelon"]["graphite"]["host"] = local_ipv4 | |
| 26>> node.override["echelon"]["graphite"]["port"] = graphite_node["echelon"]["graphite"]["port"] | |
| 27: end | |
| 28: | |
| [2014-03-25T12:57:44-07:00] ERROR: Running exception handlers | |
| [2014-03-25T12:57:44-07:00] ERROR: Exception handlers complete | |
| [2014-03-25T12:57:44-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
| Chef Client failed. 0 resources updated | |
| [2014-03-25T12:57:44-07:00] INFO: Sending resource update report (run-id: 4f10ba9b-b1c4-4029-9a92-5b833e858539) | |
| [2014-03-25T12:57:45-07:00] ERROR: undefined method `[]' for nil:NilClass | |
| [2014-03-25T12:57:45-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment