[chef] Completely failing with knife-windows + winrm


Chronological Thread 
  • From: Jeff Blaine < >
  • To:
  • Subject: [chef] Completely failing with knife-windows + winrm
  • Date: Wed, 21 Nov 2012 17:13:30 -0500

Does anyone have any success with knife-windows (0.5.10
from 'gem install')? I'm royally failing, and knife's
-V argument is proving useless as usual.

$ knife bootstrap windows winrm jblaine-win.our.org -x jblaine -R OUR.ORG -V --bootstrap-proxy http://gatekeeper.our.org:80/
Bootstrapping Chef on jblaine-win.our.org
jblaine-win.our.org "Rendering 'C:\Users\JBLAIN~1.OUR\AppData\Local\Temp\bootstrap-5398-1353533929.bat' chunk 1"
ERROR: TypeError: can't convert nil into String

Remarkably, if I go find the batch file on jblaine-win and run
it, it works fine.

Let's see if I can do anything?

$ knife winrm jblaine-win.our.org "net use *" -m -x jblaine -R OUR.ORG -V
ERROR: WinRM::WinRMWebServiceError: Bad SOAP Packet returned. Sometimes a retry will solve this error.
$ knife winrm jblaine-win.our.org "net use *" -m -x jblaine -R OUR.ORG -V
ERROR: WinRM::WinRMWebServiceError: Bad SOAP Packet returned. Sometimes a retry will solve this error.
$ knife winrm jblaine-win.our.org "net use *" -m -x jblaine -R OUR.ORG -V
ERROR: WinRM::WinRMWebServiceError: Bad SOAP Packet returned. Sometimes a retry will solve this error.



Archive powered by MHonArc 2.6.16.

§