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


Chronological Thread 
  • From: Nikhil Shah < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: bootstap Windwos
  • Date: Fri, 30 Aug 2013 11:27:42 -0400

I;ve done a gem uninstall chef and it removed chef:

Successfully uninstalled chef-11.6.0

I tried running running the knife bootstrap windows winrm and here is the new errors:


ERROR: Failed to authenticate to ["192.168.XX.XX"] as devagent
Response: Bad HTTP response returned from server (401).
DEBUG: Adding 192.168.XX.XX
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering '%TEMP%\bootstrap-2419-1377876310.bat' chunk 9" && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.validation_client_name "the-orchard-validator") && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.client_key        "c:/chef/client.pem") && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.validation_key    "c:/chef/validation.pem") && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.file_cache_path   "c:/chef/cache") && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.file_backup_path  "c:/chef/backup") && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.cache_options     ^^^({:path =^^^> "c:/chef/cache/checksums", :skip_expires =^^^> true}^^^)) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.# Using default node name ^^^(fqdn^^^)) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.^)) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.^> C:\chef\first-boot.json ^() && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.echo.{"run_list":["role[base_linux]","role[development]"]}) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.^)) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.SET "PATH=%PATH%;C:\ruby\bin;C:\opscode\chef\bin;C:\opscode\chef\embedded\bin") && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.chef-client -c c:/chef/client.rb -j c:/chef/first-boot.json -E _default) && >> %TEMP%\bootstrap-2419-1377876310.bat (echo.)
DEBUG: :relayed => 192.168.XX.XX
DEBUG: 192.168.XX.XX => :run_command
ERROR: Failed to authenticate to ["192.168.XX.XX"] as devagent
Response: Bad HTTP response returned from server (401).
DEBUG: Adding 192.168.XX.XX
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C %TEMP%\bootstrap-2419-1377876310.bat
DEBUG: :relayed => 192.168.XX.XX
DEBUG: 192.168.XX.XX => :run_command
ERROR: Failed to authenticate to ["192.168.XX.XX"] as devagent
Response: Bad HTTP response returned from server (401).


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 30, 2013, at 10:17 AM, Jeff Blaine < "> > wrote:

curl -Lhttp://www.opscode.com/chef/install.sh  | sudo bash

sudo gem install chef

Supposed to be 1 or the other, not both.

You have 2 chef installs :)

1. Installed wherever your ruby is (the gem)
2. Installed in /opt/chef (the Omnibus installer gotten via curl)




Archive powered by MHonArc 2.6.16.

§