criteo-cookbooks / wsus-client

Chef Cookbook to install and configure client for Windows Server Update Services (WSUS)
Apache License 2.0
15 stars 19 forks source link

wsus-client requires two executions to download and install pending updates #29

Closed rosario-mattera closed 7 years ago

rosario-mattera commented 7 years ago

Hi, using a host registered on the WSUS server, once the update has been approved on WSUS server, the hosts needs two execution of the recipe to install the KB. Is this the excepted behavior?

Regards, Rosario

Annih commented 7 years ago

Could you describe what happens during the first execution? Could you also provide us more info about how you use this cookbook and/or Windows update logs (c:\windowsupdate.logs)

Thanks

rosario-mattera commented 7 years ago

During the execution of the recipe, the log is

What I'm thinking about is that maybe, after I've approved the update, the WSUS server starts to download the KB. Thus if I try install the update using the recipe, the package has not been download yet on the WSUS server. That's why the behavior. What do you think?

rosario-mattera commented 7 years ago

Yes, as I've guessed, the first execution doesn't download and install the updates because the WSUS server is still downloading them.

Regards, Rosario