[chef] Re: Completely failing with knife-windows + winrm


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Completely failing with knife-windows + winrm
  • Date: Wed, 21 Nov 2012 14:20:02 -0800


On Wednesday, November 21, 2012 at 2:13 PM, Jeff Blaine wrote:

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
'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.

What version of windows is this?

Also, you can give knife the `-V` argument twice for more information, but this won't help if the winrm library doesn't provide more debug output or knife-winrm isn't wired up to increase winrm's verbosity.
-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§