Created
March 6, 2014 21:29
-
-
Save pnc/9400090 to your computer and use it in GitHub Desktop.
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
[2014-03-06T21:15:52+00:00] INFO: Forking chef instance to converge... | |
[2014-03-06T21:15:52+00:00] INFO: *** Chef 11.10.4 *** | |
[2014-03-06T21:15:52+00:00] INFO: Chef-client pid: 1478 | |
[2014-03-06T21:15:53+00:00] INFO: Setting the run_list to ["recipe[dashboard::default]"] from JSON | |
[2014-03-06T21:15:53+00:00] INFO: Run List is [recipe[dashboard::default]] | |
[2014-03-06T21:15:53+00:00] INFO: Run List expands to [dashboard::default] | |
[2014-03-06T21:15:53+00:00] INFO: Starting Chef Run for saucy | |
[2014-03-06T21:15:53+00:00] INFO: Running start handlers | |
[2014-03-06T21:15:53+00:00] INFO: Start handlers complete. | |
[2014-03-06T21:15:53+00:00] INFO: directory[/var/spool/rsyslog] owner changed to 0 | |
[2014-03-06T21:15:53+00:00] INFO: directory[/var/spool/rsyslog] group changed to 0 | |
[2014-03-06T21:15:53+00:00] INFO: template[/etc/rsyslog.conf] backed up to /var/chef/backup/etc/rsyslog.conf.chef-20140306211553.909143 | |
[2014-03-06T21:15:53+00:00] INFO: template[/etc/rsyslog.conf] updated file contents /etc/rsyslog.conf | |
[2014-03-06T21:15:53+00:00] INFO: template[/etc/rsyslog.d/50-default.conf] backed up to /var/chef/backup/etc/rsyslog.d/50-default.conf.chef-20140306211553.925931 | |
[2014-03-06T21:15:53+00:00] INFO: template[/etc/rsyslog.d/50-default.conf] updated file contents /etc/rsyslog.d/50-default.conf | |
[2014-03-06T21:15:53+00:00] INFO: template[/etc/rsyslog.d/50-default.conf] not queuing delayed action restart on service[rsyslog] (delayed), as it's already been queued | |
[2014-03-06T21:15:54+00:00] INFO: service[rsyslog] enabled | |
[2014-03-06T21:15:54+00:00] INFO: directory[/srv/rsyslog] created directory /srv/rsyslog | |
[2014-03-06T21:15:54+00:00] INFO: directory[/srv/rsyslog] owner changed to 0 | |
[2014-03-06T21:15:54+00:00] INFO: directory[/srv/rsyslog] group changed to 0 | |
[2014-03-06T21:15:54+00:00] INFO: directory[/srv/rsyslog] mode changed to 755 | |
[2014-03-06T21:15:54+00:00] INFO: template[/etc/rsyslog.d/35-server-per-host.conf] created file /etc/rsyslog.d/35-server-per-host.conf | |
[2014-03-06T21:15:54+00:00] INFO: template[/etc/rsyslog.d/35-server-per-host.conf] updated file contents /etc/rsyslog.d/35-server-per-host.conf | |
[2014-03-06T21:15:54+00:00] INFO: template[/etc/rsyslog.d/35-server-per-host.conf] owner changed to 0 | |
[2014-03-06T21:15:54+00:00] INFO: template[/etc/rsyslog.d/35-server-per-host.conf] group changed to 0 | |
[2014-03-06T21:15:54+00:00] INFO: template[/etc/rsyslog.d/35-server-per-host.conf] mode changed to 644 | |
[2014-03-06T21:15:54+00:00] INFO: template[/etc/rsyslog.d/35-server-per-host.conf] not queuing delayed action restart on service[rsyslog] (delayed), as it's already been queued | |
[2014-03-06T21:15:54+00:00] INFO: template[/etc/rsyslog.conf] sending restart action to service[rsyslog] (delayed) | |
================================================================================ | |
Error executing action `restart` on resource 'service[rsyslog]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /etc/init.d/rsyslog restart ---- | |
STDOUT: | |
STDERR: | |
---- End output of /etc/init.d/rsyslog restart ---- | |
Ran /etc/init.d/rsyslog restart returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/rsyslog/recipes/default.rb | |
82: service node['rsyslog']['service_name'] do | |
83: supports :restart => true, :reload => true, :status => true | |
84: action [:enable, :start] | |
85: end | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/rsyslog/recipes/default.rb:82:in `from_file' | |
service("rsyslog") do | |
action [:enable, :start] | |
updated true | |
supports {:restart=>true, :reload=>true, :status=>true} | |
retries 0 | |
retry_delay 2 | |
service_name "rsyslog" | |
enabled true | |
running true | |
pattern "rsyslog" | |
cookbook_name :rsyslog | |
recipe_name "default" | |
end | |
[2014-03-06T21:15:54+00:00] ERROR: Running exception handlers | |
[2014-03-06T21:15:54+00:00] ERROR: Exception handlers complete | |
[2014-03-06T21:15:54+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
[2014-03-06T21:15:54+00:00] ERROR: service[rsyslog] (rsyslog::default line 82) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of /etc/init.d/rsyslog restart ---- | |
STDOUT: | |
STDERR: | |
---- End output of /etc/init.d/rsyslog restart ---- | |
Ran /etc/init.d/rsyslog restart returned 1 | |
[2014-03-06T21:15:54+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) |
This is caused by the method to restart rsyslog.
This recipe is trying to restart rsyslog with /etc/init.d/rsyslog restart instead of service rsyslog restart.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you find the cause for that?
Thanks!