[chef] RE: Re: Re: knife bootstrap windows winrm - timeout.


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] RE: Re: Re: knife bootstrap windows winrm - timeout.
  • Date: Mon, 13 Apr 2015 17:43:05 +0000
  • Accept-language: en-US

Did your run the commands in the Requirements section from this page?
https://docs.chef.io/plugin_knife_windows.html

 

Chris

 

From: Button, Steve [mailto:
Sent: Monday, April 13, 2015 12:46 PM
To:
Subject: [chef] Re: Re: knife bootstrap windows winrm - timeout.

 

I tried restarting the service, but I'm still getting the same 

 

Waiting for remote response before bootstrap..........

 

On 13 April 2015 at 16:31, Morgan Blackthorne < " target="_blank"> > wrote:

WinRM seems flaky, and sometimes you need to bounce the service on the windows box for it to respond, I've found.

On Apr 13, 2015 8:24 AM, "Button, Steve" < " target="_blank"> > wrote:

Hi,

 

I'm trying to install a new client using 

 

knife bootstrap windows winrm 'server.nightly.bla' -r 'app::base' -x 'administrator’ -P 'xyz'

 

but the command comes back after a couple of mins with :-

 

ERROR: No response received from remote node after 1.84 minutes, giving up.

ERROR: RuntimeError: Command execution failed.

 

I have tried with -VVV and I get 

 

DEBUG: :session => :init

DEBUG: :relay_to_servers => echo . & echo Response received.

DEBUG: :relayed => server.nightly.bla

DEBUG: server.nightly.bla => :run_command

 

Not very helpful. 

 

I can telnet from my workstation to port 5985.

 

Searching google for this, there a a couple of pages of people with similar issues, but no solution. 

 

Is this even the up-to-date way to install chef-client? 

 

Thanks,

 

Steve

 



 

--

Steve Button

DevOps Engineer

Application Engineering, EMEA

Cloud Services

M: 07793 815832

 

Planned Time Off : Monday 8th June to Friday 19th June 2015

80 Strand
London 
WC2R 0RL
UK


Pearson 
Always Learning
Learn more at 
http://www.pearson.com/




Archive powered by MHonArc 2.6.16.

§