Skip to content

Instantly share code, notes, and snippets.

@Stromweld
Created May 11, 2017 20:02
Show Gist options
  • Save Stromweld/4415c66e1186b8449a576837d485beab to your computer and use it in GitHub Desktop.
Save Stromweld/4415c66e1186b8449a576837d485beab to your computer and use it in GitHub Desktop.
chef bootstrap error
172.21.11.166 Recipe: timezone_iii::rhel7
172.21.11.166 * execute[tzdata-update] action run (skipped due to only_if)
172.21.11.166 Recipe: tuned-nativex::apply_profile
172.21.11.166 * execute[apply_tuned_profile] action run (skipped due to not_if)
172.21.11.166 Recipe: snmp::default
172.21.11.166 * service[snmpd] action restart
172.21.11.166 - restart service service[snmpd]
172.21.11.166 Recipe: sshd::default
172.21.11.166 * service[sshd] action restart
172.21.11.166 - restart service service[sshd]
172.21.11.166 Recipe: ad-nativex::joindomain
172.21.11.166 * reboot[adjoin] action request_reboot[2017-05-11T14:03:52-05:00] WARN: Reboot requested:'adjoin'
172.21.11.166
172.21.11.166 - request a system reboot to occur if the run succeeds
172.21.11.166 * service[sssd] action restart
172.21.11.166 - restart service service[sssd]
172.21.11.166 Recipe: chef-client::systemd_service
172.21.11.166 * service[chef-client] action restart
172.21.11.166 - restart service service[chef-client]
172.21.11.166 Recipe: postfix-nativex::aliases
172.21.11.166 * execute[update-postfix-aliases] action run
172.21.11.166 - execute newaliases
172.21.11.166 Recipe: mlocate-nativex::default
172.21.11.166 * execute[updatedb] action run
172.21.11.166 - execute updatedb
172.21.11.166 Recipe: collectd_ii::_service
172.21.11.166 * service[collectd] action restart
172.21.11.166 - restart service service[collectd]
172.21.11.166 Recipe: autopatch_ii::firstrun_patches
172.21.11.166 * reboot[firstrun_patches] action request_reboot[2017-05-11T14:03:55-05:00] WARN: Reboot requested:'firstrun_patches'
172.21.11.166
172.21.11.166 - request a system reboot to occur if the run succeeds
172.21.11.166
172.21.11.166 Running handlers:
172.21.11.166 Running handlers complete
172.21.11.166 Chef Client finished, 164/264 resources updated in 13 minutes 16 seconds
172.21.11.166 [2017-05-11T14:03:56-05:00] WARN: Rebooting server at a recipe's request. Details: {:delay_mins=>1, :reason=>"autopatch_ii::firstrun_patches requested reboot", :timestamp=>2017-05-11 14:03:55 -0500, :requested_by=>"firstrun_patches"}
172.21.11.166
172.21.11.166 Broadcast message from root@paw2al-spcwlk01 (Thu 2017-05-11 14:03:56 CDT):
172.21.11.166
172.21.11.166 autopatch_ii::firstrun_patches requested reboot
172.21.11.166 The system is going down for reboot at Thu 2017-05-11 14:04:56 CDT!
172.21.11.166
172.21.11.166
172.21.11.166 Running handlers:
172.21.11.166 [2017-05-11T14:03:56-05:00] ERROR: Running exception handlers
172.21.11.166 Running handlers complete
172.21.11.166 [2017-05-11T14:03:56-05:00] ERROR: Exception handlers complete
172.21.11.166 Chef Client failed. 164 resources updated in 13 minutes 16 seconds
172.21.11.166 [2017-05-11T14:03:56-05:00] ERROR: Failed to post reporting data to server (HTTP 404), saving to /var/chef/cache/failed-reporting-data.json
172.21.11.166 [2017-05-11T14:03:56-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
172.21.11.166 [2017-05-11T14:03:56-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
172.21.11.166 [2017-05-11T14:03:56-05:00] ERROR: Rebooting server at a recipe's request. Details: {:delay_mins=>1, :reason=>"autopatch_ii::firstrun_patches requested reboot", :timestamp=>2017-05-11 14:03:55 -0500, :requested_by=>"firstrun_patches"}
172.21.11.166 [2017-05-11T14:03:56-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 35)
@Stromweld
Copy link
Author

Here's the stack trace:

Generated at 2017-05-11 14:03:56 -0500
Chef::Exceptions::Reboot: Rebooting server at a recipe's request. Details: {:delay_mins=>1, :reason=>"autopatch_ii::firstrun_patches requested reboot", :timestamp=>2017-05-11 14:03:55 -0500, :requested_by=>"firstrun_patches"}
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/platform/rebooter.rb:54:in reboot!' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/platform/rebooter.rb:60:in reboot_if_needed!'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/client.rb:308:in run' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application.rb:291:in block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application.rb:279:in fork' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application.rb:279:in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application.rb:244:in block in run_chef_client' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/local_mode.rb:44:in with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application.rb:232:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application/client.rb:464:in sleep_then_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application/client.rb:451:in block in interval_run_chef_client' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application/client.rb:450:in loop'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application/client.rb:450:in interval_run_chef_client' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application/client.rb:434:in run_application'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib/chef/application.rb:59:in run' /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/bin/chef-client:26:in <top (required)>'
/bin/chef-client:58:in load' /bin/chef-client:58:in

'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment