Skip to content

Instantly share code, notes, and snippets.

@justizin
Created July 22, 2014 23:28
Show Gist options
  • Save justizin/679f72f5cbc12ae79b32 to your computer and use it in GitHub Desktop.
Save justizin/679f72f5cbc12ae79b32 to your computer and use it in GitHub Desktop.
chef-ganglia fail on new node
54.176.158.150 ================================================================================
54.176.158.150 Error executing action `create` on resource 'directory[/var/lib/ganglia-web/dwoo/compiled]'
54.176.158.150 ================================================================================
54.176.158.150
54.176.158.150
54.176.158.150 Chef::Exceptions::EnclosingDirectoryDoesNotExist
54.176.158.150 ------------------------------------------------
54.176.158.150 Parent directory /var/lib/ganglia-web/dwoo does not exist, cannot create /var/lib/ganglia-web/dwoo/compiled
54.176.158.150
54.176.158.150
54.176.158.150 Resource Declaration:
54.176.158.150 ---------------------
54.176.158.150 # In /var/chef/cache/cookbooks/hipmunk-graphs/recipes/collector.rb
54.176.158.150
54.176.158.150 68: directory '/var/lib/ganglia-web/dwoo/compiled' do
54.176.158.150 69: action :create
54.176.158.150 70: owner 'www-data'
54.176.158.150 71: end
54.176.158.150 72:
54.176.158.150
54.176.158.150
54.176.158.150
54.176.158.150 Compiled Resource:
54.176.158.150 ------------------
54.176.158.150 # Declared in /var/chef/cache/cookbooks/hipmunk-graphs/recipes/collector.rb:68:in `from_file'
54.176.158.150
54.176.158.150 directory("/var/lib/ganglia-web/dwoo/compiled") do
54.176.158.150 provider Chef::Provider::Directory
54.176.158.150 action [:create]
54.176.158.150 retries 0
54.176.158.150 retry_delay 2
54.176.158.150 path "/var/lib/ganglia-web/dwoo/compiled"
54.176.158.150 cookbook_name "hipmunk-graphs"
54.176.158.150 recipe_name "collector"
54.176.158.150 owner "www-data"
54.176.158.150 end
54.176.158.150
54.176.158.150
54.176.158.150
54.176.158.150 Recipe: ganglia::gmetad
54.176.158.150 * service[gmetad] action restart
54.176.158.150 - restart service service[gmetad]
54.176.158.150
54.176.158.150
54.176.158.150 Running handlers:
54.176.158.150 [2014-07-22T23:24:09+00:00] ERROR: Running exception handlers
54.176.158.150 Running handlers complete
54.176.158.150
54.176.158.150 [2014-07-22T23:24:09+00:00] ERROR: Exception handlers complete
54.176.158.150 [2014-07-22T23:24:09+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
54.176.158.150 Chef Client failed. 19 resources updated in 197.386774408 seconds
54.176.158.150 [2014-07-22T23:24:09+00:00] ERROR: directory[/var/lib/ganglia-web/dwoo/compiled] (hipmunk-graphs::collector line 68) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /var/lib/ganglia-web/dwoo does not exist, cannot create /var/lib/ganglia-web/dwoo/compiled
54.176.158.150 [2014-07-22T23:24:09+00: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