Skip to content

Instantly share code, notes, and snippets.

@nmattam
Created February 17, 2017 17:33
Show Gist options
  • Save nmattam/4660e460eb0f40eb8c43c84c79e239db to your computer and use it in GitHub Desktop.
Save nmattam/4660e460eb0f40eb8c43c84c79e239db to your computer and use it in GitHub Desktop.
chef-client issue with 12.18.31
- suppressed sensitive resource
==> s_standalone: [2017-02-15T14:53:58+00:00] INFO: splunk_template[system/authentication.conf] owner changed to 501
==> s_standalone: [2017-02-15T14:53:58+00:00] INFO: splunk_template[system/authentication.conf] group changed to 501
==> s_standalone: [2017-02-15T14:53:58+00:00] INFO: splunk_template[system/authentication.conf] mode changed to 600
==> s_standalone:
==> s_standalone: - change mode from '' to '0600'
==> s_standalone:
==> s_standalone: - change owner from '' to 'splunk'
==> s_standalone:
==> s_standalone: - change group from '' to 'splunk'
==> s_standalone:
==> s_standalone: - restore selinux security context
==> s_standalone:
==> s_standalone: [2017-02-15T14:53:58+00:00] INFO: Running queued delayed notifications before re-raising exception
==> s_standalone: [2017-02-15T14:53:58+00:00] INFO: ruby_block[splunk-delayed-restart] sending restart action to service[splunk-restart] (delayed)
==> s_standalone: Recipe: cerner_splunk::_install
==> s_standalone:
==> s_standalone: * service[splunk-restart] action restart
==> s_standalone:
==> s_standalone: * service[splunk-restart]: No custom command for restart specified and unable to locate the init.d script!
==> s_standalone:
==> s_standalone:
==> s_standalone: ================================================================================
==> s_standalone:
==> s_standalone: Error executing action `restart` on resource 'service[splunk-restart]'
==> s_standalone:
==> s_standalone: ================================================================================
==> s_standalone:
==> s_standalone:
==> s_standalone:
==> s_standalone:
==> s_standalone: Chef::Exceptions::Service
==> s_standalone:
==> s_standalone: -------------------------
==> s_standalone:
==> s_standalone: service[splunk-restart]: No custom command for restart specified and unable to locate the init.d script!
==> s_standalone:
==> s_standalone: Resource Declaration:
==> s_standalone:
==> s_standalone: ---------------------
==> s_standalone:
==> s_standalone: # In /var/chef/cache/cookbooks/cerner_splunk/recipes/_install.rb
==> s_standalone:
==> s_standalone:
==> s_standalone:
==> s_standalone:
==> s_standalone:
==> s_standalone: 41: service 'splunk-restart' do
==> s_standalone:
==> s_standalone:
==> s_standalone: 42: service_name service
==> s_standalone:
==> s_standalone: 43: action :nothing
==> s_standalone: 44: supports status: true, restart: true
==> s_standalone: 45: only_if { ::File.exist? CernerSplunk.restart_marker_file }
==> s_standalone: 46: notifies :delete, 'file[splunk-marker]', :immediately
==> s_standalone: 47: end
==> s_standalone: 48:
==> s_standalone:
==> s_standalone: Compiled Resource:
==> s_standalone: ------------------
==> s_standalone: # Declared in /var/chef/cache/cookbooks/cerner_splunk/recipes/_install.rb:41:in `from_file'
==> s_standalone:
==> s_standalone: service("splunk-restart") do
==> s_standalone: action [:nothing]
==> s_standalone: supports {:status=>true, :restart=>true}
==> s_standalone: retries 0
==> s_standalone:
==> s_standalone: retry_delay 2
==> s_standalone:
==> s_standalone:
==> s_standalone: default_guard_interpreter :default
==> s_standalone:
==> s_standalone:
==> s_standalone: service_name "splunk"
==> s_standalone:
==> s_standalone:
==> s_standalone: pattern "splunk-restart"
==> s_standalone:
==> s_standalone:
==> s_standalone: declared_type :service
==> s_standalone:
==> s_standalone:
==> s_standalone: cookbook_name "cerner_splunk"
==> s_standalone:
==> s_standalone:
==> s_standalone: recipe_name "_install"
==> s_standalone:
==> s_standalone:
==> s_standalone: only_if { #code block }
==> s_standalone:
==> s_standalone: end
==> s_standalone:
==> s_standalone: Platform:
==> s_standalone: ---------
==> s_standalone: x86_64-linux
==> s_standalone:
==> s_standalone:
==> s_standalone:
==> s_standalone: Running handlers:
==> s_standalone: [2017-02-15T14:53:58+00:00] ERROR: Running exception handlers
==> s_standalone: Running handlers complete
==> s_standalone:
==> s_standalone: [2017-02-15T14:53:58+00:00] ERROR: Exception handlers complete
==> s_standalone: Chef Client failed. 23 resources updated in 41 seconds
==> s_standalone: [2017-02-15T14:53:58+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> s_standalone: [2017-02-15T14:53:58+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
==> s_standalone: [2017-02-15T14:53:58+00:00] ERROR: Chef::Exceptions::MultipleFailures
==> s_standalone: [2017-02-15T14:53:59+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
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