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


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: bootstap Windwos
  • Date: Thu, 29 Aug 2013 21:23:21 -0400

Nikhil,

Reading that output, it looks like you have 2 copies of Chef installed, one in your local system Ruby, and then the Omnibus installer.

I'd deinstall the former and try again. You have probably installed the knife-windows gem into the latter and are trying to use Chef/Knife from the former.

- Julian


On Thu, Aug 29, 2013 at 10:14 AM, Nikhil Shah < " target="_blank"> > wrote:
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

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.
 


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?







--
[ Julian C. Dunn < " target="_blank"> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]



Archive powered by MHonArc 2.6.16.

§