[chef] Re: Re: Re: Chef 12.4.1 client for Windows 2012r2


Chronological Thread 
  • From: Galen Emery < >
  • To:
  • Subject: [chef] Re: Re: Re: Chef 12.4.1 client for Windows 2012r2
  • Date: Mon, 31 Aug 2015 10:24:54 -0700

(sent via wrong address, resending)

Hello,

The alternative workaround is to run Chef-client as a scheduled task which will not have the same startup dependencies as starting it as a service.  The chef-client cookbook supports this method[1].

There's arguments to be made for both methods, but scheduled task is more resilient than windows_service to the startup issues, and I'd recommend it to anyone experiencing those issues.

 

[1] https://github.com/opscode-cookbooks/chef-client/blob/master/recipes/task.rb



On Mon, Aug 31, 2015 at 10:18 AM, Julian Varanini < " target="_blank"> > wrote:
Thanks Gregory,

I forgot to mention these are AWS instances.  I going to try other windows 2012r2 instances and see if the behavior changes.

Thanks again,

Julian 

Sent from my iPhone

On Aug 31, 2015, at 10:12 AM, Gregory K. Ruiz-Ade < " target="_blank"> > wrote:

We’ve run into this issue as well on our Windows 2012R2 hosts. In our cases, it seems that setting startup to Automatic (Delayed) does indeed fix the startup problem, but from the documentation for chef_service_manager I’m not sure how to do this automatically, or if it would require some mangling via windows_service in a recipe.

We haven’t noticed this issue on other non-2012R2 Windows hosts.

Thanks,

Gregory



We are having an issue with the
12.4.1 chef client for windows 2012 R2 (12.4.0 fails as well).  No matter if
we install the service via the msi or the chef_service_manager command the
chef service will not start on its own and reports to windows that it has
timed out.  I have read online that if you set it to Automatic delayed that
this fixes the issue however that has not worked for us. I have also added DNS and wmi as dependencies.  I can start it
manually and it runs as it should but it will not start on its own. Any help is appreciated.

Thanks

Julian 





--



Archive powered by MHonArc 2.6.16.

§