[chef] Re: I've got the windows blues


Chronological Thread 
  • From: Adam Edwards < >
  • To: " " < >
  • Subject: [chef] Re: I've got the windows blues
  • Date: Fri, 24 May 2013 15:55:29 +0000
  • Accept-language: en-US

Thanks for that summary Jeppe. I responded to a related issue on another thread, can you tell me if you've seen the winrm maxmemorypershellmb problem outside of Win2k12? My current theories on that are that it should not happen outside of 2k12, but appearance of it on 2k8r2 or other versions would disprove that.

Thanks for the summary on the bugs that are fixed in other releases — I agree that these gem releases should happen as soon as they can. I will get a few more eyes on this so we can figure out how to get this delivered sooner.

--
Adam Edwards
Software Development Engineer, Opscode, Inc.



Hi,

Over the past weeks I've worked with a client on a Chef POC involving mainly Windows (on EC2, Azure and locally) and have a few observations that I'll like to provide (and hopefully get some feedback on :-)

First, the actual cookbook execution works fine, we can accomplish everything we need (and probably more :-)

Now for some of the problems we've encountered:

The above can all be solved with new releases of knife-ec2 and knife-windows.

A more fundamental issue we've seen is what seems to be a bug in WinRM 3.0 http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/51810d3b-6236-44f8-99fd-10f004ad8002/

This basically breaks remote execution of chef-client in unpredictable ways (SQL Server installation aborts, powershell scripts fails etc.). We've worked around this using PsExec but this is quite a hack.

A see a few solutions to this:

  • Don't use WinRM but install and use SSH instead. Would be nice if the opscode openssh cookbook supported windows
  • Run chef-client as a service. This not currently optimal for us as we use this in an automated testing setup and need to know when configuration is complete. Perhaps a way to force the service to do a chef-client run and wait for completion?

I'm not a Windows expert but believe WinRM 3.0 is default on Server 2012 and cannot be downgraded, which eventually means that until this problem is solved, Chef usage on Server 2012 will be suboptimal.

/Jeppe




Archive powered by MHonArc 2.6.16.

§