Created
August 7, 2013 14:03
-
-
Save hughsaunders/6174303 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
[2013-08-07T13:00:03+00:00] INFO: runit_service[git-daemon] configured | |
[2013-08-07T13:00:03+00:00] INFO: Processing service[git-daemon] action nothing (dynamically defined) | |
[2013-08-07T13:00:03+00:00] INFO: Processing runit_service[git-daemon] action enable (swift-private-cloud::admin-server line 32) | |
[2013-08-07T13:00:03+00:00] INFO: Processing directory[/etc/sv/git-daemon] action create (dynamically defined) | |
[2013-08-07T13:00:03+00:00] INFO: Processing template[/etc/sv/git-daemon/run] action create (dynamically defined) | |
[2013-08-07T13:00:04+00:00] INFO: template[/etc/sv/git-daemon/run] backed up to /var/chef/backup/etc/sv/git-daemon/run.chef-20130807130004 | |
[2013-08-07T13:00:04+00:00] INFO: template[/etc/sv/git-daemon/run] updated content | |
[2013-08-07T13:00:04+00:00] INFO: template[/etc/sv/git-daemon/run] mode changed to 755 | |
[2013-08-07T13:00:04+00:00] INFO: Processing directory[/etc/sv/git-daemon/log] action create (dynamically defined) | |
[2013-08-07T13:00:04+00:00] INFO: Processing directory[/etc/sv/git-daemon/log/main] action create (dynamically defined) | |
[2013-08-07T13:00:04+00:00] INFO: directory[/etc/sv/git-daemon/log/main] created directory /etc/sv/git-daemon/log/main | |
[2013-08-07T13:00:04+00:00] INFO: directory[/etc/sv/git-daemon/log/main] mode changed to 755 | |
[2013-08-07T13:00:04+00:00] INFO: Processing template[/etc/sv/git-daemon/log/run] action create (dynamically defined) | |
[2013-08-07T13:00:04+00:00] INFO: Processing template[/etc/sv/git-daemon/log/config] action create (dynamically defined) | |
[2013-08-07T13:00:04+00:00] INFO: template[/etc/sv/git-daemon/log/config] updated content | |
[2013-08-07T13:00:04+00:00] INFO: template[/etc/sv/git-daemon/log/config] mode changed to 644 | |
[2013-08-07T13:00:04+00:00] INFO: Processing link[/etc/init.d/git-daemon] action create (dynamically defined) | |
[2013-08-07T13:00:04+00:00] INFO: runit_service[git-daemon] configured | |
================================================================================ | |
Error executing action `enable` on resource 'runit_service[git-daemon]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /usr/bin/sv restart /etc/service/git-daemon ---- | |
STDOUT: warning: /etc/service/git-daemon: unable to open supervise/ok: file does not exist | |
STDERR: | |
---- End output of /usr/bin/sv restart /etc/service/git-daemon ---- | |
Ran /usr/bin/sv restart /etc/service/git-daemon returned 1 | |
Cookbook Trace: | |
--------------- | |
/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:182:in `restart_service' | |
/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:96:in `action_enable' | |
Resource Declaration: | |
--------------------- | |
# In /var/chef/cache/cookbooks/swift-private-cloud/recipes/admin-server.rb | |
32: runit_service "git-daemon" do | |
33: sv_templates true | |
34: options({:base_path => node["git"]["server"]["base_path"]}) | |
35: only_if { platform_family?("debian") } | |
36: end | |
37: | |
Compiled Resource: | |
------------------ | |
# Declared in /var/chef/cache/cookbooks/swift-private-cloud/recipes/admin-server.rb:32:in `from_file' | |
runit_service("git-daemon") do | |
provider Chef::Provider::Service::Runit | |
action :enable | |
supports {:restart=>true, :reload=>true, :status=>true} | |
retries 0 | |
retry_delay 2 | |
service_name "git-daemon" | |
enabled true | |
pattern "git-daemon" | |
status_command "/usr/bin/sv status /etc/service" | |
startup_type :automatic | |
sv_bin "/usr/bin/sv" | |
sv_dir "/etc/sv" | |
service_dir "/etc/service" | |
lsb_init_dir "/etc/init.d" | |
options {:base_path=>"/srv/git"} | |
log true | |
restart_on_update true | |
run_template_name "git-daemon" | |
log_template_name "git-daemon" | |
finish_script_template_name "git-daemon" | |
sv_templates true | |
service_mirror # Declared in | |
service("git-daemon") do | |
provider Chef::Provider::Service::Simple | |
action [:nothing] | |
supports {:restart=>true, :reload=>true, :status=>true} | |
retries 0 | |
retry_delay 2 | |
service_name "git-daemon" | |
pattern "git-daemon" | |
start_command "/usr/bin/sv start /etc/service/git-daemon" | |
stop_command "/usr/bin/sv stop /etc/service/git-daemon" | |
status_command "/usr/bin/sv status /etc/service/git-daemon" | |
restart_command "/usr/bin/sv restart /etc/service/git-daemon" | |
startup_type :automatic | |
end | |
cookbook_name "swift-private-cloud" | |
recipe_name "admin-server" | |
only_if { #code block } | |
end | |
[2013-08-07T13:00:04+00:00] INFO: Running queued delayed notifications before re-raising exception | |
[2013-08-07T13:00:04+00:00] INFO: template[/etc/ntp.conf] sending restart action to service[ntp] (delayed) | |
[2013-08-07T13:00:04+00:00] INFO: Processing service[ntp] action restart (ntp::default line 33) | |
[2013-08-07T13:00:06+00:00] INFO: service[ntp] restarted | |
[2013-08-07T13:00:06+00:00] INFO: template[/etc/cron.d/swift_ring_check] sending reload action to service[swift-common-cron] (delayed) | |
[2013-08-07T13:00:06+00:00] INFO: Processing service[swift-common-cron] action reload (swift-private-cloud::common line 38) | |
[2013-08-07T13:00:06+00:00] INFO: template[/etc/exim4/update-exim4.conf.conf] sending run action to execute[update-exim-config] (delayed) | |
[2013-08-07T13:00:06+00:00] INFO: Processing execute[update-exim-config] action run (swift-private-cloud::mail line 40) | |
[2013-08-07T13:00:07+00:00] INFO: execute[update-exim-config] ran successfully | |
[2013-08-07T13:00:07+00:00] INFO: template[/etc/snmp/snmp.conf] sending restart action to service[snmpd] (delayed) | |
[2013-08-07T13:00:07+00:00] INFO: Processing service[snmpd] action restart (swift-private-cloud::snmp line 24) | |
[2013-08-07T13:00:09+00:00] INFO: service[snmpd] restarted | |
[2013-08-07T13:00:09+00:00] INFO: template[/etc/syslog-ng/conf.d/swift-ng.conf] sending reload action to service[syslog-ng] (delayed) | |
[2013-08-07T13:00:09+00:00] INFO: Processing service[syslog-ng] action reload (swift-private-cloud::logging line 31) | |
[2013-08-07T13:00:09+00:00] INFO: service[syslog-ng] reloaded | |
[2013-08-07T13:00:09+00:00] INFO: execute[update-exim-config] sending restart action to service[exim4] (delayed) | |
[2013-08-07T13:00:09+00:00] INFO: Processing service[exim4] action restart (swift-private-cloud::mail line 30) | |
[2013-08-07T13:00:11+00:00] INFO: service[exim4] restarted | |
[2013-08-07T13:00:11+00:00] ERROR: Running exception handlers | |
[2013-08-07T13:00:12+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json | |
[2013-08-07T13:00:12+00:00] ERROR: Exception handlers complete | |
[2013-08-07T13:00:12+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
[2013-08-07T13:00:12+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: runit_service[git-daemon] (swift-private-cloud::admin-server line 32) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of /usr/bin/sv restart /etc/service/git-daemon ---- | |
STDOUT: warning: /etc/service/git-daemon: unable to open supervise/ok: file does not exist | |
STDERR: | |
---- End output of /usr/bin/sv restart /etc/service/git-daemon ---- | |
Ran /usr/bin/sv restart /etc/service/git-daemon returned 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment