Wsus-cookbook ole error


#1

Greetings Professionals,

i was using the wsus-client community cookbook just for windows updates and i have configured accordingly to our organisation requirement when i try to run this cookbook i get the below error

10.0.108.136 ================================================================================
10.0.108.136 Error executing action download on resource 'wsus_client_update[WSUS updates]‘
10.0.108.136 ================================================================================
10.0.108.136
10.0.108.136 WIN32OLERuntimeError
10.0.108.136 --------------------
10.0.108.136 (in OLE method Search': ) 10.0.108.136 OLE error code:8024402C in <Unknown> 10.0.108.136 <No Description> 10.0.108.136 HRESULT error code:0x80020009 10.0.108.136 Exception occurred. 10.0.108.136 10.0.108.136 Cookbook Trace: 10.0.108.136 --------------- 10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:86:inmethod_missing’
10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:86:in block in updates' 10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:84:intap’
10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:84:in updates' 10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:33:inblock in class_from_file’
10.0.108.136
10.0.108.136 Resource Declaration:
10.0.108.136 ---------------------
10.0.108.136 # In c:/chef/cache/cookbooks/wsus-client/recipes/update.rb
10.0.108.136
10.0.108.136 31: wsus_client_update ‘WSUS updates’ do
10.0.108.136 32: action = [:enable, :install]
10.0.108.136 33: action = actions_to_perform
10.0.108.136 34: end
10.0.108.136
10.0.108.136 Compiled Resource:
10.0.108.136 ------------------
10.0.108.136 # Declared in c:/chef/cache/cookbooks/wsus-client/recipes/update.rb:31:in from_file' 10.0.108.136 10.0.108.136 wsus_client_update("WSUS updates") do 10.0.108.136 action [:download, :install] 10.0.108.136 retries 0 10.0.108.136 retry_delay 2 10.0.108.136 default_guard_interpreter :default 10.0.108.136 declared_type :wsus_client_update 10.0.108.136 cookbook_name "wsus-client" 10.0.108.136 recipe_name "update" 10.0.108.136 end 10.0.108.136 10.0.108.136 Platform: 10.0.108.136 --------- 10.0.108.136 x64-mingw32 10.0.108.136 10.0.108.136 10.0.108.136 [2017-04-27T13:35:11+00:00] INFO: Running queued delayed notifications before re-raising exception 10.0.108.136 [2017-04-27T13:35:11+00:00] ERROR: Running exception handlers 10.0.108.136 [2017-04-27T13:35:11+00:00] ERROR: Exception handlers complete 10.0.108.136 [2017-04-27T13:35:11+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out 10.0.108.136 [2017-04-27T13:35:11+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report 10.0.108.136 [2017-04-27T13:35:11+00:00] FATAL: WIN32OLERuntimeError: wsus_client_update[WSUS updates] (wsus-client::update line 31) had an error: WIN32OLERuntimeError: (in OLE methodSearch’: )
10.0.108.136 OLE error code:8024402C in
10.0.108.136
10.0.108.136 HRESULT error code:0x80020009
10.0.108.136 Exception occurred.
ERROR: Failed to execute command on 10.0.108.136 return code 1

and i could not able to fix that error manually on the deployed node please help …!

Thanks
Prash