[chef] Re: Re: Re: Re: bootstap Windwos


Chronological Thread 
  • From: Nikhil Shah < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: bootstap Windwos
  • Date: Thu, 29 Aug 2013 10:14:50 -0400

Chirag,

Nikhils-MacBook-Pro:chef-repo nshah$ knife bootstrap windows winrm 192.168.XX.XX -r 'role[base_linux],role[development]' -x devagent -P XXXXXX -VV
DEBUG: Looking for bootstrap template in /Library/Ruby/Gems/1.8/gems/chef-11.6.0/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in /Library/Ruby/Gems/1.8/gems/chef-11.6.0/lib/chef/knife/bootstrap
Bootstrapping Chef on windows
DEBUG: Adding windows
DEBUG: establishing connection to windows:22
ERROR: Network Error: getaddrinfo: nodename nor servname provided, or not known
Check your knife configuration and network settings


I've install the Windows Knife plugin:

/opt/chef/embedded/bin/gem install knife-windows

In the local firewall, I've got The Windows Remote Management allowing inbound connections. 

Nikhil Shah  System Administrator

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets

Privileged And Confidential Communication.
This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.
 

On Aug 29, 2013, at 2:59 AM, Chirag Jog < "> > wrote:

Hi Nikhil,
can you more verbosity to the command output  ( with the flag -VV)  to see what is happening? 

Regards,
Chirag Jog
Chief Technology Officer, 
Clogeny Technologies | http://clogeny.com 
(M) 0091-9766619440 | Skype: chirag.jog



On Thu, Aug 29, 2013 at 3:46 AM, Nikhil Shah < " target="_blank"> > wrote:
Pete,

I've install Windows Remote Management and configured it like the site showed. I still am receiving this error…Would it be a firewall related issue?


knife bootstrap windows winrm 192.168.31.89 -r 'role[base_linux],role[development]' -x devagent -P XXXXXX
Bootstrapping Chef on windows
ERROR: Network Error: getaddrinfo: nodename nor servname provided, or not known
Check your knife configuration and network settings
Nikhil Shah  System Administrator

The Orchard® / www.theorchard.com

23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets

Privileged And Confidential Communication.
This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.
 


Check out the requirements - you need to make sure windows remote management is setup and configured to accept the connection.



On Wed, Aug 28, 2013 at 5:28 PM, < " target="_blank"> > wrote:
I've tried to bootstrap windows:

Nikhils-MacBook-Pro:chef-repo nshah$ knife bootstrap 192.168.XX.XX -x
administrator -P XXXXXXX
Bootstrapping Chef on 192.168.XX.XX
ERROR: Network Error: Operation timed out - connect(2)
Check your knife configuration and network settings


Is there something different that needs to be done?







Archive powered by MHonArc 2.6.16.

§