You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2020-02-12T16:47:08+00:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2020-02-12T16:47:08+00:00] ERROR: Running exception handlers
Running handlers complete
[2020-02-12T16:47:08+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 14 seconds
[2020-02-12T16:47:08+00:00] INFO: Sending resource update report (run-id: 4078b534-1991-45d3-a697-48d8dd52e27b)
[2020-02-12T16:47:08+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
[2020-02-12T16:47:08+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2020-02-12T16:47:08+00:00] FATAL: SystemCallError: windows_service[wuauserv] (wsus-client::configure line 97) had an error: SystemCallError: The specified resource type cannot be found in the image file. - QueryServiceConfig: The specified resource type cannot be found in the image file.
Generated at 2020-02-12 16:47:08 +0000
SystemCallError: windows_service[wuauserv] (wsus-client::configure line 97) had an error: SystemCallError: The specified resource type cannot be found in the image file. - QueryServiceConfig: The specified resource type cannot be found in the image file.
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/ffi-win32-extensions-1.0.3/lib/ffi/win32/extensions.rb:64:in raise_windows_error' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1455:in get_config_info'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1063:in block in services' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1035:in upto'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1035:in services' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider/service/windows.rb:285:in current_delayed_start'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider/service/windows.rb:78:in load_current_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider.rb:165:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource.rb:578:in run_action' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:74:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in block in run_all_actions' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in each'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in run_all_actions' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:132:in block in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/resource_list.rb:94:in block in execute_each_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:85:in step' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:130:in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:720:in block in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:715:in catch' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:715:in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:754:in converge_and_save' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:286:in run'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:303:in run_with_graceful_exit_option' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:279:in block in run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/local_mode.rb:44:in with_server_connectivity' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:261:in run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application/client.rb:449:in run_application' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:66:in run'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/bin/chef-client:25:in <top (required)>' C:/opscode/chef/bin/chef-client:81:in load'
C:/opscode/chef/bin/chef-client:81:in `
'
Caused by SystemCallError: The specified resource type cannot be found in the image file. - QueryServiceConfig: The specified resource type cannot be found in the image file.
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/ffi-win32-extensions-1.0.3/lib/ffi/win32/extensions.rb:64:in raise_windows_error' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1455:in get_config_info'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1063:in block in services' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1035:in upto'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1035:in services' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider/service/windows.rb:285:in current_delayed_start'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider/service/windows.rb:78:in load_current_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider.rb:165:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource.rb:578:in run_action' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:74:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in block in run_all_actions' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in each'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in run_all_actions' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:132:in block in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/resource_list.rb:94:in block in execute_each_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:85:in step' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:130:in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:720:in block in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:715:in catch' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:715:in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:754:in converge_and_save' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:286:in run'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:303:in run_with_graceful_exit_option' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:279:in block in run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/local_mode.rb:44:in with_server_connectivity' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:261:in run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application/client.rb:449:in run_application' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:66:in run'
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/bin/chef-client:25:in <top (required)>' C:/opscode/chef/bin/chef-client:81:in load'
C:/opscode/chef/bin/chef-client:81:in `
'
The text was updated successfully, but these errors were encountered:
Hi,
I was wondering if you where able to advise why some windows 10 machines are throwing out the below error when attempting to enable wuauserv service?
I have copied the error from the chef run below as well as the chef-stacktrace.out
windows_service[wuauserv] action enable[2020-02-12T16:47:02+00:00] INFO: Processing windows_service[wuauserv] action enable (wsus-client::configure line 97)
[2020-02-12T16:47:03+00:00] INFO: Retrying execution of windows_service[wuauserv], 1 attempt left
[2020-02-12T16:47:05+00:00] INFO: Retrying execution of windows_service[wuauserv], 0 attempt left
================================================================================
Error executing action
enable
on resource 'windows_service[wuauserv]'SystemCallError
The specified resource type cannot be found in the image file. - QueryServiceConfig: The specified resource type cannot be found in the image file.
Resource Declaration:
In c:/chef/cache/cookbooks/wsus-client/recipes/configure.rb
97: service 'wuauserv' do
98: action :enable
99: retries 2
100: timeout node['wsus_client']['service_timeout']
101: end
102:
Compiled Resource:
Declared in c:/chef/cache/cookbooks/wsus-client/recipes/configure.rb:97:in `from_file'
windows_service("wuauserv") do
action [:enable]
default_guard_interpreter :default
service_name "wuauserv"
enabled nil
running nil
masked nil
pattern "wuauserv"
timeout 60
declared_type :service
cookbook_name "wsus-client"
recipe_name "configure"
retries 2
end
System Info:
chef_version=14.14.29
platform=windows
platform_version=10.0.18362
ruby=ruby 2.5.7p206 (2019-10-01 revision 67816) [x64-mingw32]
program_name=C:/opscode/chef/bin/chef-client
executable=C:/opscode/chef/bin/chef-client
[2020-02-12T16:47:08+00:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2020-02-12T16:47:08+00:00] ERROR: Running exception handlers
Running handlers complete
[2020-02-12T16:47:08+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 14 seconds
[2020-02-12T16:47:08+00:00] INFO: Sending resource update report (run-id: 4078b534-1991-45d3-a697-48d8dd52e27b)
[2020-02-12T16:47:08+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
[2020-02-12T16:47:08+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2020-02-12T16:47:08+00:00] FATAL: SystemCallError: windows_service[wuauserv] (wsus-client::configure line 97) had an error: SystemCallError: The specified resource type cannot be found in the image file. - QueryServiceConfig: The specified resource type cannot be found in the image file.
Generated at 2020-02-12 16:47:08 +0000
'SystemCallError: windows_service[wuauserv] (wsus-client::configure line 97) had an error: SystemCallError: The specified resource type cannot be found in the image file. - QueryServiceConfig: The specified resource type cannot be found in the image file.
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/ffi-win32-extensions-1.0.3/lib/ffi/win32/extensions.rb:64:in
raise_windows_error' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1455:in
get_config_info'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1063:in
block in services' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1035:in
upto'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1035:in
services' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider/service/windows.rb:285:in
current_delayed_start'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider/service/windows.rb:78:in
load_current_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/provider.rb:165:in
run_action'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource.rb:578:in
run_action' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:74:in
run_action'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in
block in run_all_actions' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in
each'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:108:in
run_all_actions' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:132:in
block in converge'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/resource_list.rb:94:in
block in execute_each_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:114:in
call_iterator_block'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:85:in
step' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:103:in
iterate'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/resource_collection/resource_list.rb:92:in
execute_each_resource'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/runner.rb:130:in
converge' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:720:in
block in converge'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:715:in
catch' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:715:in
converge'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:754:in
converge_and_save' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/client.rb:286:in
run'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:303:in
run_with_graceful_exit_option' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:279:in
block in run_chef_client'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/local_mode.rb:44:in
with_server_connectivity' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:261:in
run_chef_client'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application/client.rb:449:in
run_application' C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/lib/chef/application.rb:66:in
run'C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29-universal-mingw32/bin/chef-client:25:in
<top (required)>' C:/opscode/chef/bin/chef-client:81:in
load'C:/opscode/chef/bin/chef-client:81:in `
The text was updated successfully, but these errors were encountered: