Created
August 20, 2013 22:13
-
-
Save stevepereira/6288036 to your computer and use it in GitHub Desktop.
I have had this work in the past, but I've recently Berkshelfed all my recipes and I can't figure out why it doesn't work now.
This file contains 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
[2013-08-20T22:07:58+00:00] INFO: Processing directory[/opt/logstash/beaver] action create (logstash::beaver line 61) | |
[2013-08-20T22:07:58+00:00] INFO: directory[/opt/logstash/beaver] created directory /opt/logstash/beaver | |
[2013-08-20T22:07:58+00:00] INFO: directory[/opt/logstash/beaver] owner changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: directory[/opt/logstash/beaver] group changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: Processing directory[/opt/logstash/beaver/etc] action create (logstash::beaver line 72) | |
[2013-08-20T22:07:58+00:00] INFO: directory[/opt/logstash/beaver/etc] created directory /opt/logstash/beaver/etc | |
[2013-08-20T22:07:58+00:00] INFO: directory[/opt/logstash/beaver/etc] owner changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: directory[/opt/logstash/beaver/etc] group changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: Processing directory[/var/log/logstash] action create (logstash::beaver line 72) | |
[2013-08-20T22:07:58+00:00] INFO: directory[/var/log/logstash] created directory /var/log/logstash | |
[2013-08-20T22:07:58+00:00] INFO: directory[/var/log/logstash] owner changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: directory[/var/log/logstash] group changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: Processing directory[/var/run/logstash] action create (logstash::beaver line 72) | |
[2013-08-20T22:07:58+00:00] INFO: directory[/var/run/logstash] created directory /var/run/logstash | |
[2013-08-20T22:07:58+00:00] INFO: directory[/var/run/logstash] owner changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: directory[/var/run/logstash] group changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: Processing file[/var/log/logstash/logstash_beaver.log] action touch (logstash::beaver line 81) | |
[2013-08-20T22:07:58+00:00] INFO: entered create | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/log/logstash/logstash_beaver.log] owner changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/log/logstash/logstash_beaver.log] group changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/log/logstash/logstash_beaver.log] mode changed to 640 | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/log/logstash/logstash_beaver.log] created file /var/log/logstash/logstash_beaver.log | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/log/logstash/logstash_beaver.log] updated atime and mtime to 2013-08-20 22:07:58 +0000 | |
[2013-08-20T22:07:58+00:00] INFO: Processing file[/var/run/logstash/logstash_beaver.pid] action touch (logstash::beaver line 81) | |
[2013-08-20T22:07:58+00:00] INFO: entered create | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/run/logstash/logstash_beaver.pid] owner changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/run/logstash/logstash_beaver.pid] group changed to 997 | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/run/logstash/logstash_beaver.pid] mode changed to 640 | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/run/logstash/logstash_beaver.pid] created file /var/run/logstash/logstash_beaver.pid | |
[2013-08-20T22:07:58+00:00] INFO: file[/var/run/logstash/logstash_beaver.pid] updated atime and mtime to 2013-08-20 22:07:58 +0000 | |
[2013-08-20T22:07:58+00:00] INFO: Processing python_pip[beaver==22] action install (logstash::beaver line 89) | |
[2013-08-20T22:07:58+00:00] INFO: Installing python_pip[beaver==22] version latest | |
[2013-08-20T22:08:26+00:00] INFO: Processing template[/opt/logstash/beaver/etc/beaver.conf] action create (logstash::beaver line 156) | |
[2013-08-20T22:08:26+00:00] DEBUG: Current content's checksum: | |
[2013-08-20T22:08:26+00:00] DEBUG: Rendered content's checksum: db3aba3623211274fce5f662e7749daece99180ae80f09bc53a76273d452b037 | |
[2013-08-20T22:08:27+00:00] INFO: template[/opt/logstash/beaver/etc/beaver.conf] updated content | |
[2013-08-20T22:08:27+00:00] INFO: template[/opt/logstash/beaver/etc/beaver.conf] owner changed to 997 | |
[2013-08-20T22:08:27+00:00] INFO: template[/opt/logstash/beaver/etc/beaver.conf] group changed to 997 | |
[2013-08-20T22:08:27+00:00] INFO: template[/opt/logstash/beaver/etc/beaver.conf] mode changed to 640 | |
[2013-08-20T22:08:27+00:00] INFO: Processing service[logstash_beaver] action enable (logstash::beaver line 207) | |
[2013-08-20T22:08:27+00:00] DEBUG: service[logstash_beaver] supports status, running | |
[2013-08-20T22:08:27+00:00] DEBUG: Executing /usr/sbin/update-rc.d -f logstash_beaver remove | |
[2013-08-20T22:08:27+00:00] DEBUG: ---- Begin output of /usr/sbin/update-rc.d -f logstash_beaver remove ---- | |
[2013-08-20T22:08:27+00:00] DEBUG: STDOUT: Removing any system startup links for /etc/init.d/logstash_beaver ... | |
[2013-08-20T22:08:27+00:00] DEBUG: STDERR: | |
[2013-08-20T22:08:27+00:00] DEBUG: ---- End output of /usr/sbin/update-rc.d -f logstash_beaver remove ---- | |
[2013-08-20T22:08:27+00:00] DEBUG: Ran /usr/sbin/update-rc.d -f logstash_beaver remove returned 0 | |
[2013-08-20T22:08:27+00:00] DEBUG: Executing /usr/sbin/update-rc.d logstash_beaver defaults | |
[2013-08-20T22:08:27+00:00] DEBUG: ---- Begin output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
[2013-08-20T22:08:27+00:00] DEBUG: STDOUT: | |
[2013-08-20T22:08:27+00:00] DEBUG: STDERR: update-rc.d: /etc/init.d/logstash_beaver: file does not exist | |
[2013-08-20T22:08:27+00:00] DEBUG: ---- End output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
[2013-08-20T22:08:27+00:00] DEBUG: Ran /usr/sbin/update-rc.d logstash_beaver defaults returned 1 | |
================================================================================ | |
Error executing action `enable` on resource 'service[logstash_beaver]' | |
================================================================================ | |
Chef::Exceptions::Exec | |
---------------------- | |
/usr/sbin/update-rc.d logstash_beaver defaults returned 1, expected 0 | |
---- Begin output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
STDOUT: STDERR: update-rc.d: /etc/init.d/logstash_beaver: file does not exist | |
---- End output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
Resource Declaration: | |
--------------------- | |
# In /etc/chef/chef-solo-1/cookbooks/logstash/recipes/beaver.rb | |
207: service "logstash_beaver" do | |
208: supports :restart => true, :reload => false, :status => true | |
209: action [:enable, :start] | |
210: end | |
211: | |
Compiled Resource: | |
------------------ | |
# Declared in /etc/chef/chef-solo-1/cookbooks/logstash/recipes/beaver.rb:207:in `from_file' | |
service("logstash_beaver") do | |
action [:enable, :start] | |
supports {:restart=>true, :reload=>false, :status=>true} | |
retries 0 | |
retry_delay 2 | |
service_name "logstash_beaver" | |
pattern "logstash_beaver" | |
startup_type :automatic | |
cookbook_name :logstash | |
recipe_name "beaver" | |
end | |
[2013-08-20T22:08:27+00:00] INFO: Running queued delayed notifications before re-raising exception | |
[2013-08-20T22:08:27+00:00] INFO: ark[elasticsearch] sending start action to service[elasticsearch] (delayed) | |
[2013-08-20T22:08:27+00:00] INFO: Processing service[elasticsearch] action start (elasticsearch::default line 63) | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] supports status, running | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 0, action stop, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 1, action stop, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 2, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 3, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 4, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 5, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 6, action stop, priority 20 | |
[2013-08-20T22:08:27+00:00] INFO: service[elasticsearch] started | |
[2013-08-20T22:08:27+00:00] INFO: ark[elasticsearch] sending restart action to service[elasticsearch] (delayed) | |
[2013-08-20T22:08:27+00:00] INFO: Processing service[elasticsearch] action restart (elasticsearch::default line 63) | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] supports status, running | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] is running | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 0, action stop, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 1, action stop, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 2, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 3, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 4, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 5, action start, priority 20 | |
[2013-08-20T22:08:27+00:00] DEBUG: service[elasticsearch] runlevel 6, action stop, priority 20 | |
[2013-08-20T22:09:11+00:00] INFO: service[elasticsearch] restarted | |
[2013-08-20T22:09:11+00:00] INFO: template[/opt/logstash/beaver/etc/beaver.conf] sending restart action to service[logstash_beaver] (delayed) | |
[2013-08-20T22:09:11+00:00] INFO: Processing service[logstash_beaver] action restart (logstash::beaver line 207) | |
[2013-08-20T22:09:11+00:00] DEBUG: service[logstash_beaver] supports status, running | |
================================================================================ | |
Error executing action `restart` on resource 'service[logstash_beaver]' | |
================================================================================ | |
Errno::ENOENT | |
------------- | |
No such file or directory - /etc/init.d/logstash_beaver restart | |
Resource Declaration: | |
--------------------- | |
# In /etc/chef/chef-solo-1/cookbooks/logstash/recipes/beaver.rb | |
207: service "logstash_beaver" do | |
208: supports :restart => true, :reload => false, :status => true | |
209: action [:enable, :start] | |
210: end | |
211: | |
Compiled Resource: | |
------------------ | |
# Declared in /etc/chef/chef-solo-1/cookbooks/logstash/recipes/beaver.rb:207:in `from_file' | |
service("logstash_beaver") do | |
action [:enable, :start] | |
supports {:restart=>true, :reload=>false, :status=>true} | |
retries 0 | |
retry_delay 2 | |
service_name "logstash_beaver" | |
pattern "logstash_beaver" | |
startup_type :automatic | |
cookbook_name :logstash | |
recipe_name "beaver" | |
end | |
[2013-08-20T22:09:12+00:00] DEBUG: Re-raising exception: Chef::Exceptions::MultipleFailures - Multiple failures occurred: | |
* Chef::Exceptions::Exec occurred in chef run: service[logstash_beaver] (logstash::beaver line 207) had an error: Chef::Exceptions::Exec: /usr/sbin/update-rc.d logstash_beaver defaults returned 1, expected 0 | |
---- Begin output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
STDOUT: STDERR: update-rc.d: /etc/init.d/logstash_beaver: file does not exist | |
---- End output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
* Errno::ENOENT occurred in delayed notification: service[logstash_beaver] (logstash::beaver line 207) had an error: Errno::ENOENT: No such file or directory - /etc/init.d/logstash_beaver restart | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/command.rb:128:in `handle_command_failures' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/command.rb:75:in `run_command' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider/service/debian.rb:118:in `enable_service' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider/service.rb:66:in `block in action_enable' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/why_run.rb:52:in `call' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/why_run.rb:52:in `add_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider.rb:151:in `converge_by' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider/service.rb:65:in `action_enable' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider.rb:114:in `run_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource.rb:603:in `run_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:50:in `run_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:82:in `block (2 levels) in converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:82:in `each' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:82:in `block in converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection.rb:94:in `block in execute_each_resource' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:81:in `converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/client.rb:404:in `converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/client.rb:469:in `do_run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/client.rb:200:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application.rb:190:in `run_chef_client' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application/solo.rb:239:in `block in run_application' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application/solo.rb:231:in `loop' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application/solo.rb:231:in `run_application' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application.rb:73:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/bin/chef-solo:25:in `<top (required)>' | |
/usr/bin/chef-solo:23:in `load' | |
/usr/bin/chef-solo:23:in `<main>' | |
[2013-08-20T22:09:12+00:00] ERROR: Running exception handlers | |
[2013-08-20T22:09:12+00:00] DEBUG: Elapsed_time Cookbook | |
[2013-08-20T22:09:12+00:00] DEBUG: ------------ ------------- | |
[2013-08-20T22:09:12+00:00] DEBUG: 68.106139 elasticsearch | |
[2013-08-20T22:09:12+00:00] DEBUG: 50.510495 java | |
[2013-08-20T22:09:12+00:00] DEBUG: 38.437993 redisio | |
[2013-08-20T22:09:12+00:00] DEBUG: 29.219220 logstash | |
[2013-08-20T22:09:12+00:00] DEBUG: 22.006194 python | |
[2013-08-20T22:09:12+00:00] DEBUG: 14.553360 vim | |
[2013-08-20T22:09:12+00:00] DEBUG: 13.414469 ark | |
[2013-08-20T22:09:12+00:00] DEBUG: 7.060035 git | |
[2013-08-20T22:09:12+00:00] DEBUG: 6.415692 apt | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.586029 ack | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.541295 wave-base | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.546642 tmux | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.065381 htop | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.242529 ulimit | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.131445 build-essential | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.026432 bash-completion | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.019977 logrotate | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.002362 wave-profiler | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.001506 chef_handler | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 erlang | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 rabbitmq | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 wave-logstash | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 kibana | |
[2013-08-20T22:09:12+00:00] DEBUG: | |
[2013-08-20T22:09:12+00:00] DEBUG: Elapsed_time Recipe | |
[2013-08-20T22:09:12+00:00] DEBUG: ------------ ------------- | |
[2013-08-20T22:09:12+00:00] DEBUG: 54.120925 elasticsearch::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 50.381512 java::openjdk | |
[2013-08-20T22:09:12+00:00] DEBUG: 37.537659 redisio:: | |
[2013-08-20T22:09:12+00:00] DEBUG: 29.128515 logstash::beaver | |
[2013-08-20T22:09:12+00:00] DEBUG: 14.553360 vim::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 14.258460 python::package | |
[2013-08-20T22:09:12+00:00] DEBUG: 13.414469 ark::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 7.060035 git::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 6.831431 elasticsearch::plugins | |
[2013-08-20T22:09:12+00:00] DEBUG: 6.415692 apt::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 5.631638 python::pip | |
[2013-08-20T22:09:12+00:00] DEBUG: 4.900762 elasticsearch::nginx | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.586029 ack::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.541295 wave-base::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.353309 tmux::package | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.253021 elasticsearch::curl | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.116095 python::virtualenv | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.065381 htop::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.835094 redisio::install | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.242529 ulimit::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.193333 tmux::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.131445 build-essential::debian | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.127472 java::set_java_home | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.090705 logstash::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.065240 redisio::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.026432 bash-completion::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.019977 logrotate::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.002362 wave-profiler::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.001511 java::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.001506 chef_handler::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 erlang::package | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 rabbitmq::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 logstash::server | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 wave-logstash::default | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 kibana::default | |
[2013-08-20T22:09:12+00:00] DEBUG: | |
[2013-08-20T22:09:12+00:00] DEBUG: Elapsed_time Resource | |
[2013-08-20T22:09:12+00:00] DEBUG: ------------ ------------- | |
[2013-08-20T22:09:12+00:00] DEBUG: 48.758392 package[openjdk-6-jdk] | |
[2013-08-20T22:09:12+00:00] DEBUG: 44.529358 service[elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 35.274064 execute[cd /var/chef/cache/redis-2.6.14 && make clean && make] | |
[2013-08-20T22:09:12+00:00] DEBUG: 28.521295 python_pip[beaver==22] | |
[2013-08-20T22:09:12+00:00] DEBUG: 14.553360 package[vim] | |
[2013-08-20T22:09:12+00:00] DEBUG: 14.236720 package[python-dev] | |
[2013-08-20T22:09:12+00:00] DEBUG: 8.603378 ark[elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 5.727023 package[libtool] | |
[2013-08-20T22:09:12+00:00] DEBUG: 5.218919 package[autogen] | |
[2013-08-20T22:09:12+00:00] DEBUG: 4.091623 execute[apt-get-update] | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.584235 package[nginx] | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.566027 package[ack] | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.498618 package[expect] | |
[2013-08-20T22:09:12+00:00] DEBUG: 3.177506 ruby_block[Install plugin: elasticsearch/elasticsearch-cloud-aws] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.407802 package[unzip] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.353309 package[tmux] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.310915 package[update-notifier-common] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.253021 package[curl] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.116095 python_pip[virtualenv] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.113474 remote_file[/var/chef/cache/redis-2.6.14.tar.gz] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.095853 execute[install-pip] | |
[2013-08-20T22:09:12+00:00] DEBUG: 2.065381 package[htop] | |
[2013-08-20T22:09:12+00:00] DEBUG: 1.919588 ruby_block[Install plugin: mobz/elasticsearch-head] | |
[2013-08-20T22:09:12+00:00] DEBUG: 1.918219 execute[install-setuptools] | |
[2013-08-20T22:09:12+00:00] DEBUG: 1.728695 ruby_block[Install plugin: karmi/elasticsearch-paramedic] | |
[2013-08-20T22:09:12+00:00] DEBUG: 1.587027 package[default-jre-headless] | |
[2013-08-20T22:09:12+00:00] DEBUG: 1.071172 service[nginx] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.937737 remote_file[/var/chef/cache/ez_setup.py] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.755753 redisio_install[redis-servers] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.679830 remote_file[/var/chef/cache/get-pip.py] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.262163 template[/opt/logstash/beaver/etc/beaver.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.259067 template[/etc/init.d/elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.242529 template[/etc/pam.d/su] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.193333 template[/etc/tmux.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.181829 template[elasticsearch.yml] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.163240 template[elasticsearch-env.sh] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.157945 template[nginx.conf.erb] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.156196 template[logging.yml] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.150407 file[/var/run/logstash/logstash_beaver.pid] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.125544 file[/etc/profile.d/jdk.sh] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.123923 file[/var/log/logstash/logstash_beaver.log] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.104168 file[/etc/security/limits.d/10-elasticsearch.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.085649 execute[cd /var/chef/cache/redis-2.6.14 && make install] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.079341 service[redis6379] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.064472 execute[cd /var/chef/cache ; mkdir -p 'redis-2.6.14' ; tar zxf 'redis-2.6.14.tar.gz' --strip-components=1 -C 'redis-2.6.14'] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.059359 group[www-data] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.054143 group[elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.053302 group[logstash] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.036094 bash[update-java-alternatives] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.029867 user[logstash] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.028894 service[logstash_beaver] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.028745 package[flex] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.027657 user[elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.026432 package[bash-completion] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.026426 package[binutils-doc] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.026094 package[build-essential] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.026008 user[www-data] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.024519 package[bison] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.023838 package[tar] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.021793 package[make] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.021761 package[strace] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.021740 package[python] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.020916 package[telnet] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.020001 execute[create symlink] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.019977 package[logrotate] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.019898 package[autoconf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.019477 bash[remove the elasticsearch user home] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.019035 package[rsync] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.007537 directory[/opt/logstash] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.006069 directory[/data/elasticsearch/conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.005974 directory[/var/cache/local] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.005931 directory[/opt/logstash/beaver] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.005701 directory[/opt/logstash/beaver/etc] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.005641 directory[/usr/local/elasticsearch-0.90.2/plugins/] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.005136 directory[/var/run/logstash] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.004654 directory[/var/cache/local/preseeding] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.004104 directory[/usr/local/var/run/elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.002043 directory[/var/log/nginx] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.001732 chef_gem[chef-handler-profiler] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.001506 remote_directory[/var/chef/handlers] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.001186 directory[/etc/profile.d] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000746 execute[apt-get autoclean] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000742 ruby_block[set-env-java-home] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000682 execute[apt-get autoremove] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000643 execute[apt-get update] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000631 chef_handler[Chef::Handler::Profiler] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000596 package[sun-java6-jre] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000592 log[increase limits for the elasticsearch user] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000547 bash[enable user limits] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000501 package[sun-java6-jdk] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000498 execute[apt-get-update-build-essentials] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000454 execute[apt-get-update-periodic] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000414 package[sun-java6-bin] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 cookbook_file[logs.tar.gz] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/data/log/elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 package[git] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/data/elasticsearch] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/etc/init.d/logstash_beaver] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/etc/logrotate.d/logstash_beaver] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 package[erlang-nox] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 package[erlang-dev] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 package[util-linux] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 remote_file[/var/chef/cache/rabbitmq-server_3.0.4-1_all.deb] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 dpkg_package[/var/chef/cache/rabbitmq-server_3.0.4-1_all.deb] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/var/lib/rabbitmq/mnesia] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 service[rabbitmq-server] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/etc/rabbitmq/rabbitmq-env.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/etc/rabbitmq/rabbitmq.config] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server/bin] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server/etc] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server/lib] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server/log] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server/tmp] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 remote_file[/opt/logstash/server/lib/logstash-1.1.9.jar] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 link[/opt/logstash/server/lib/logstash.jar] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server/etc/conf.d] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/logstash/server/etc/patterns] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/opt/logstash/server/etc/logstash.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/etc/init/logstash_server.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 service[logstash_server] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/etc/logrotate.d/logstash_server] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/data/log] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/data/log/logstash] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/data/logstash] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/data/logstash/etc] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/var/log/logstash] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 git[/data/logstash/source] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 cookbook_file[redis-in-el-out.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 cookbook_file[haproxy-in-redis-out.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 cookbook_file[beaver.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 group[kibana] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 user[kibana] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 directory[/opt/kibana] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 git[/opt/kibana] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 package[libcurl4-gnutls-dev] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 package[ruby1.9.1-full] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 gem_package[bundler] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 bash[kibana bundle install] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 service[kibana] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/etc/init/kibana.conf] | |
[2013-08-20T22:09:12+00:00] DEBUG: 0.000000 template[/opt/kibana/KibanaConfig.rb] | |
[2013-08-20T22:09:12+00:00] DEBUG: | |
[2013-08-20T22:09:12+00:00] ERROR: Exception handlers complete | |
[2013-08-20T22:09:12+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
[2013-08-20T22:09:12+00:00] DEBUG: Chef::Exceptions::MultipleFailures: Chef::Exceptions::MultipleFailures | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/command.rb:128:in `handle_command_failures' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/command.rb:75:in `run_command' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider/service/debian.rb:118:in `enable_service' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider/service.rb:66:in `block in action_enable' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/why_run.rb:52:in `call' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/mixin/why_run.rb:52:in `add_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider.rb:151:in `converge_by' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider/service.rb:65:in `action_enable' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider.rb:114:in `run_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource.rb:603:in `run_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:50:in `run_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:82:in `block (2 levels) in converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:82:in `each' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:82:in `block in converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection.rb:94:in `block in execute_each_resource' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/runner.rb:81:in `converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/client.rb:404:in `converge' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/client.rb:469:in `do_run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/client.rb:200:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application.rb:190:in `run_chef_client' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application/solo.rb:239:in `block in run_application' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application/solo.rb:231:in `loop' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application/solo.rb:231:in `run_application' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/application.rb:73:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/bin/chef-solo:25:in `<top (required)>' | |
/usr/bin/chef-solo:23:in `load' | |
/usr/bin/chef-solo:23:in `<main>' | |
[2013-08-20T22:09:12+00:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred: | |
* Chef::Exceptions::Exec occurred in chef run: service[logstash_beaver] (logstash::beaver line 207) had an error: Chef::Exceptions::Exec: /usr/sbin/update-rc.d logstash_beaver defaults returned 1, expected 0 | |
---- Begin output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
STDOUT: STDERR: update-rc.d: /etc/init.d/logstash_beaver: file does not exist | |
---- End output of /usr/sbin/update-rc.d logstash_beaver defaults ---- | |
* Errno::ENOENT occurred in delayed notification: service[logstash_beaver] (logstash::beaver line 207) had an error: Errno::ENOENT: No such file or directory - /etc/init.d/logstash_beaver restart | |
Chef never successfully completed! Any errors should be visible in the | |
output above. Please fix your recipes so that they properly complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment