chef converge fails for windows...(chef-client does not restart after reboot) logon session doesnot exist

-1
I, [2018-07-19T10:32:35.433899 #6652]  INFO -- slavewindows-windows-2016-stable:   * reboot[reboot] action reboot_now[2018-07-19T14:32:33+00:00] WARN: Rebooting system immediately, requested by 'reboot'
I, [2018-07-19T10:32:35.465256 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:33+00:00] WARN: Rebooting system immediately, requested by 'reboot'
I, [2018-07-19T10:32:36.030764 #6652]  INFO -- slavewindows-windows-2016-stable: 
I, [2018-07-19T10:32:36.049438 #6652]  INFO -- slavewindows-windows-2016-stable: 
I, [2018-07-19T10:32:36.077686 #6652]  INFO -- slavewindows-windows-2016-stable:     Running handlers:
I, [2018-07-19T10:32:36.116690 #6652]  INFO -- slavewindows-windows-2016-stable:     Running handlers complete
I, [2018-07-19T10:32:36.152941 #6652]  INFO -- slavewindows-windows-2016-stable:     Chef Client finished, 259/318 resources updated in 16 minutes 32 seconds
I, [2018-07-19T10:32:36.202984 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] WARN: Rebooting server at a recipe's request. Details: {:delay_mins=>1, :reason=>"Need to reboot when the run completes successfully.", :timestamp=>2018-07-19 14:32:33 +0000, :requested_by=>"reboot"}
I, [2018-07-19T10:32:36.242536 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] WARN: Rebooting server at a recipe's request. Details: {:delay_mins=>1, :reason=>"Need to reboot when the run completes successfully.", :timestamp=>2018-07-19 14:32:33 +0000, :requested_by=>"reboot"}
I, [2018-07-19T10:32:36.271714 #6652]  INFO -- slavewindows-windows-2016-stable: 
I, [2018-07-19T10:32:36.311217 #6652]  INFO -- slavewindows-windows-2016-stable:     Running handlers:
I, [2018-07-19T10:32:36.349422 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] ERROR: Running exception handlers
I, [2018-07-19T10:32:36.383028 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] ERROR: Running exception handlers
I, [2018-07-19T10:32:36.441152 #6652]  INFO -- slavewindows-windows-2016-stable:     Running handlers complete
I, [2018-07-19T10:32:36.481203 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] ERROR: Exception handlers complete
I, [2018-07-19T10:32:36.510470 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] ERROR: Exception handlers complete
I, [2018-07-19T10:32:36.554441 #6652]  INFO -- slavewindows-windows-2016-stable:     Chef Client failed. 259 resources updated in 16 minutes 33 seconds
I, [2018-07-19T10:32:36.609801 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] FATAL: Stacktrace dumped to C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
I, [2018-07-19T10:32:36.663545 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] FATAL: Stacktrace dumped to C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
I, [2018-07-19T10:32:36.699339 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
I, [2018-07-19T10:32:36.727400 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
I, [2018-07-19T10:32:36.770383 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] FATAL: Chef::Exceptions::Reboot: Rebooting server at a recipe's request. Details: {:delay_mins=>1, :reason=>"Need to reboot when the run completes successfully.", :timestamp=>2018-07-19 14:32:33 +0000, :requested_by=>"reboot"}
I, [2018-07-19T10:32:36.809944 #6652]  INFO -- slavewindows-windows-2016-stable: [2018-07-19T14:32:35+00:00] FATAL: Chef::Exceptions::Reboot: Rebooting server at a recipe's request. Details: {:delay_mins=>1, :reason=>"Need to reboot when the run completes successfully.", :timestamp=>2018-07-19 14:32:33 +0000, :requested_by=>"reboot"}
W, [2018-07-19T10:32:36.983421 #6652]  WARN -- slavewindows-windows-2016-stable: C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/packagecloud/resources/repo.rb:10:in `class_from_file' : C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/packagecloud/resources/repo.rb:10: warning: constant ::Fixnum is deprecated
W, [2018-07-19T10:32:36.984110 #6652]  WARN -- slavewindows-windows-2016-stable:  (StructuredWarnings::BuiltInWarning)
W, [2018-07-19T10:32:36.984588 #6652]  WARN -- slavewindows-windows-2016-stable:  (StructuredWarnings::BuiltInWarning)
W, [2018-07-19T10:32:36.984828 #6652]  WARN -- slavewindows-windows-2016-stable:  (StructuredWarnings::BuiltInWarning)
W, [2018-07-19T10:32:36.985048 #6652]  WARN -- slavewindows-windows-2016-stable:  (StructuredWarnings::BuiltInWarning)
W, [2018-07-19T10:35:30.123013 #6652]  WARN -- slavewindows-windows-2016-stable: A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)
At line:72 char:1
windows
chef
chef-recipe
cookbook
test-kitchen
asked on Stack Overflow Jul 19, 2018 by paddy • edited Jul 19, 2018 by James Z

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0