[chef] RE: Re: can't bootstrap 1st node


Chronological Thread 
  • From: Kevin Keane (subscriptions) < >
  • To: < >
  • Subject: [chef] RE: Re: can't bootstrap 1st node
  • Date: Thu, 27 Dec 2012 00:06:12 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=sendgrid.info; h=subject :from:to:mime-version:content-type:in-reply-to:references :sender; q=dns; s=smtpapi; b=VNkBNnzq6Dn7ywAhiHRp03+5fh328E1GshY v7j7bfynorJ7qNDm0Mqao7MfaI7D0X0rAqamEAYR3X52TpNkPL/7uOqSMSB8+NyZ IcaY5rqDa0KpPdgIpSQ/YU6O7ySXL+9asB57+/6/uy9MqqWZzGNQYE9NCcgQ1Sy1 Hkw9o+CY=

Title: RE: [chef] Re: can't bootstrap 1st node

This error message occurs when the chef server already has seen a client by that name - did you try running chef-client, then wiped out the client (or the /etc/chef directory) and started over?

To recover from this situation, first delete the client and the node:

knife client delete cloud.mydomain.com
knife node delete cloud.mydomain.com

Then copy the validation.pem file to the client's /etc/chef directory, and re-run chef-client (or re-run the bootstrap).

By the way, your bootstrapping method is somewhat outdated. Leave out the -d centos5-gems part. This will cause knife to use the new omnibus installation.

-----Original message-----
From: Tim Dunphy < >
Sent: Wednesday 26th December 2012 20:50
To:
Subject: [chef] Re: can't bootstrap 1st node

Well forgive this obvious oversight. But it looks like I was actually _missing_ the client.pem file in my /etc/chef directory.

Again I'm real new at this. But when I tried to generate my client key with chef-client I saw this output:

:~] #chef-client
[2012-12-26T23:46:10-05:00] INFO: *** Chef 10.16.4 ***
[2012-12-26T23:46:11-05:00] INFO: Client key /etc/chef/client.pem is not present - registering
[2012-12-26T23:46:11-05:00] INFO: HTTP Request Returned 409 Conflict: Client already exists
[2012-12-26T23:46:11-05:00] INFO: HTTP Request Returned 403 Forbidden: You are not allowed to take this action.

================================================================================
Chef encountered an error attempting to create the client "cloud.mydomain.com"
================================================================================

Authorization Error:
--------------------
Your validation client is not authorized to create the client for this node (HTTP 403).

Possible Causes:
----------------
* There may already be a client named "cloud.mydomain.com"
* Your validation client (chef-validator) may have misconfigured authorization permissions.

[2012-12-26T23:46:11-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2012-12-26T23:46:11-05:00] FATAL: Net::HTTPServerException: 403 "Forbidden"

Here's the output of the stacktrace:

Generated at Wed Dec 26 23:46:11 -0500 2012
Net::HTTPServerException: 403 "Forbidden"
/usr/lib/ruby/1.8/net/http.rb:2105:in `error!'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:282:in `raw_http_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:363:in `retriable_rest_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:249:in `raw_http_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:243:in `api_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:149:in `put_rest'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/api_client.rb:247:in `save'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:100:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:98:in `upto'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:98:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:96:in `catch'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:96:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:325:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:407:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23

 I've run a chef-client -l debug and got the following output


[2012-12-26T23:42:25-05:00] INFO: *** Chef 10.16.4 ***
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin os
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin kernel
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin ruby
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin languages
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},platform=#{RUBY_PLATFORM},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},target_os=#{::Config::CONFIG['target_os']},bin_dir=#{::Config::CONFIG['bindir']},host_cpu=#{::Config::CONFIG['host_cpu']},host=#{::Config::CONFIG['host']},version=#{RUBY_VERSION},host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},)" STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ruby_bin=/usr/bin/ruby,target_cpu=x86_64,platform=x86_64-linux,host_os=linux-gnu,target_vendor=redhat,target_os=linux,bin_dir=/usr/bin,host_cpu=x86_64,host=x86_64-redhat-linux-gnu,version=1.8.7,host_vendor=redhat,target=x86_64-redhat-linux-gnu,release_date=2011-06-30,
[2012-12-26T23:42:25-05:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %Q(ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},platform=#{RUBY_PLATFORM},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},target_os=#{::Config::CONFIG['target_os']},bin_dir=#{::Config::CONFIG['bindir']},host_cpu=#{::Config::CONFIG['host_cpu']},host=#{::Config::CONFIG['host']},version=#{RUBY_VERSION},host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},)" STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},platform=#{RUBY_PLATFORM},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},target_os=#{::Config::CONFIG['target_os']},bin_dir=#{::Config::CONFIG['bindir']},host_cpu=#{::Config::CONFIG['host_cpu']},host=#{::Config::CONFIG['host']},version=#{RUBY_VERSION},host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},)" STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %Q(ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},platform=#{RUBY_PLATFORM},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},target_os=#{::Config::CONFIG['target_os']},bin_dir=#{::Config::CONFIG['bindir']},host_cpu=#{::Config::CONFIG['host_cpu']},host=#{::Config::CONFIG['host']},version=#{RUBY_VERSION},host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},)" STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (ruby -e "require 'rbconfig'; puts %Q(ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},platform=#{RUBY_PLATFORM},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},target_os=#{::Config::CONFIG['target_os']},bin_dir=#{::Config::CONFIG['bindir']},host_cpu=#{::Config::CONFIG['host_cpu']},host=#{::Config::CONFIG['host']},version=#{RUBY_VERSION},host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},)") returned 0
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: gem
[2012-12-26T23:42:25-05:00] DEBUG: ---- End ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'") returned 0
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: /usr/lib64/ruby/gems/1.8
[2012-12-26T23:42:25-05:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!") returned 0
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -s STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: Linux
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -s STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -s STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -s STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (uname -s) returned 0
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -r STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: 2.6.21.7-2.fc8xen
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -r STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -r STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -r STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (uname -r) returned 0
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -v STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: #1 SMP Fri Feb 15 12:34:28 EST 2008
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -v STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -v STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -v STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (uname -v) returned 0
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -m STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: x86_64
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -m STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin uname -m STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End uname -m STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (uname -m) returned 0
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin groovy
[2012-12-26T23:42:25-05:00] DEBUG: Plugin groovy threw exception #<Ohai::Exceptions::Exec: command groovy -v doesn't exist or is not in the PATH> /usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/groovy.rb:27:in `from_file'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:215:in `run_ohai'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:405:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin virtualization
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin linux::virtualization
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin network
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin hostname
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin linux::hostname
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin hostname -s STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: cloud
[2012-12-26T23:42:25-05:00] DEBUG: ---- End hostname -s STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin hostname -s STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End hostname -s STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (hostname -s) returned 0
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin hostname --fqdn STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: cloud.mydomain.com
[2012-12-26T23:42:25-05:00] DEBUG: ---- End hostname --fqdn STDOUT ----
[2012-12-26T23:42:25-05:00] DEBUG: ---- Begin hostname --fqdn STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG:
[2012-12-26T23:42:25-05:00] DEBUG: ---- End hostname --fqdn STDERR ----
[2012-12-26T23:42:25-05:00] DEBUG: Ran  (hostname --fqdn) returned 0
[2012-12-26T23:42:25-05:00] DEBUG: Loading plugin linux::network
[2012-12-26T23:42:26-05:00] DEBUG: default_interface set to eth0
[2012-12-26T23:42:26-05:00] DEBUG: default_gateway set to 10.122.94.1
[2012-12-26T23:42:26-05:00] DEBUG: default_inet6_interface set to eth0
[2012-12-26T23:42:26-05:00] DEBUG: default_inet6_gateway set to 10.122.94.1
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin uptime
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin eucalyptus
[2012-12-26T23:42:26-05:00] DEBUG: has_euca_mac? == false
[2012-12-26T23:42:26-05:00] DEBUG: has_euca_mac? == false
[2012-12-26T23:42:26-05:00] DEBUG: has_euca_mac? == false
[2012-12-26T23:42:26-05:00] DEBUG: looks_like_euca? == false
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin lua
[2012-12-26T23:42:26-05:00] DEBUG: Plugin lua threw exception #<Ohai::Exceptions::Exec: command lua -v doesn't exist or is not in the PATH> /usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/lua.rb:27:in `from_file'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:215:in `run_ohai'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:405:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin perl
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin perl -V:version -V:archname STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: version='5.8.8';
archname='x86_64-linux-thread-multi';
[2012-12-26T23:42:26-05:00] DEBUG: ---- End perl -V:version -V:archname STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin perl -V:version -V:archname STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End perl -V:version -V:archname STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (perl -V:version -V:archname) returned 0
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin platform
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::platform
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::lsb
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin dmi
[2012-12-26T23:42:26-05:00] DEBUG: unrecognized output line; discarding:
# No SMBIOS nor DMI entry point found, sorry.

[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin erlang
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin erl +V STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End erl +V STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin erl +V STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Erlang (ASYNC_THREADS,HIPE) (BEAM) emulator version 5.6.5
[2012-12-26T23:42:26-05:00] DEBUG: ---- End erl +V STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (erl +V) returned 0
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin c
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin gcc -v STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End gcc -v STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin gcc -v STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)
[2012-12-26T23:42:26-05:00] DEBUG: ---- End gcc -v STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (gcc -v) returned 0
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin /lib/libc.so.6 STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-52).
Compiled on a Linux 2.6.9 system on 2012-08-27.
Available extensions:
    The C stubs add-on version 2.1.2.
    crypt add-on version 2.1 by Michael Glad and others
    GNU Libidn by Simon Josefsson
    GNU libio by Per Bothner
    NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
    Native POSIX Threads Library by Ulrich Drepper et al
    BIND-8.2.3-T5B
    RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
[2012-12-26T23:42:26-05:00] DEBUG: ---- End /lib/libc.so.6 STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin /lib/libc.so.6 STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End /lib/libc.so.6 STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (/lib/libc.so.6) returned 0
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin cl /? STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End cl /? STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin cl /? STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: sh: cl: command not found
[2012-12-26T23:42:26-05:00] DEBUG: ---- End cl /? STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (cl /?) returned 127
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin devenv.com /? STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End devenv.com /? STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin devenv.com /? STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: sh: devenv.com: command not found
[2012-12-26T23:42:26-05:00] DEBUG: ---- End devenv.com /? STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (devenv.com /?) returned 127
[2012-12-26T23:42:26-05:00] DEBUG: Plugin c threw exception #<Ohai::Exceptions::Exec: command xlc -qversion doesn't exist or is not in the PATH> /usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/c.rb:77:in `from_file'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:215:in `run_ohai'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:405:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin dmi_common
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin java
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin java -version STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End java -version STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin java -version STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
[2012-12-26T23:42:26-05:00] DEBUG: ---- End java -version STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (java -version) returned 0
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin ip_scopes
[2012-12-26T23:42:26-05:00] DEBUG: ip_scopes: cannot load gem, plugin disabled: no such file to load -- ipaddr_extensions
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin php
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin php -v STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: PHP 5.3.17 (cli) (built: Sep 13 2012 07:20:14)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
[2012-12-26T23:42:26-05:00] DEBUG: ---- End php -v STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin php -v STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
[2012-12-26T23:42:26-05:00] DEBUG: ---- End php -v STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (php -v) returned 0
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin network_listeners
[2012-12-26T23:42:26-05:00] DEBUG: Plugin network_listeners threw exception #<LoadError: no such file to load -- sigar> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/network_listeners.rb:19:in `from_file'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:215:in `run_ohai'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:405:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin python
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: 2.4.3 (#1, Jun 18 2012, 08:55:23)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)]
[2012-12-26T23:42:26-05:00] DEBUG: ---- End python -c "import sys; print sys.version" STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End python -c "import sys; print sys.version" STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (python -c "import sys; print sys.version") returned 0
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin keys
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin rackspace
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin ohai_time
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin ec2
[2012-12-26T23:42:26-05:00] DEBUG: has_ec2_mac? == true
[2012-12-26T23:42:26-05:00] DEBUG: can_metadata_connect? == true
[2012-12-26T23:42:26-05:00] DEBUG: looks_like_ec2? == true
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin cloud
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin command
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin passwd
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin ohai
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin mono
[2012-12-26T23:42:26-05:00] DEBUG: Plugin mono threw exception #<Ohai::Exceptions::Exec: command mono -V doesn't exist or is not in the PATH> /usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/mono.rb:27:in `from_file'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib64/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:215:in `run_ohai'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:405:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::filesystem
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::ssh_host_key
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::uptime
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::cpu
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::ps
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::block_device
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::kernel
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin uname -o STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: GNU/Linux
[2012-12-26T23:42:26-05:00] DEBUG: ---- End uname -o STDOUT ----
[2012-12-26T23:42:26-05:00] DEBUG: ---- Begin uname -o STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG:
[2012-12-26T23:42:26-05:00] DEBUG: ---- End uname -o STDERR ----
[2012-12-26T23:42:26-05:00] DEBUG: Ran  (uname -o) returned 0
[2012-12-26T23:42:26-05:00] DEBUG: Loading plugin linux::memory
[2012-12-26T23:42:26-05:00] INFO: Client key /etc/chef/client.pem is not present - registering
[2012-12-26T23:42:26-05:00] DEBUG: Signing the request as chef-validator
[2012-12-26T23:42:26-05:00] DEBUG: String to sign: 'Method:POST
Hashed Path:QHL2lW8OR+xoMFLchjio1Mxgw+0=
X-Ops-Content-Hash:XGwLtARnK6cPW1VDc4EXm3ECpaI=
X-Ops-Timestamp:2012-12-27T04:42:26Z
X-Ops-UserId:chef-validator'
Header hash: {"X-Ops-Content-Hash"=>"XGwLtARnK6cPW1VDc4EXm3ECpaI=", "X-Ops-Authorization-1"=>"Rrsev0vzKBerdxmryPoop+jkrfpyXaZdioP20rVmxc/+rUBTdB7eFLqQQSQg", "X-Ops-Userid"=>"chef-validator", "X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Authorization-2"=>"prHgWv/GSpqg0rsOCrwctj8jMFEkkJ1DgFcjlleQSP+XBRyPuOVgvttoWH6v", "X-Ops-Authorization-3"=>"pdyBbDD99XwDpDWtYzX6KGtZ6QOti7z0cafCoR6/Y0sQZflzj40PvfPNeJBG", "X-Ops-Authorization-4"=>"NQ3fubDgH/Hp17m4xtEKBQQ755w+/tsH/0JewVpiefdpSrXvaPGPxKowObxG", "X-Ops-Authorization-5"=>"g1uq2eX4deRHxRqXX7kgPyXCEDBiFzd8p3VGf6lXk0Emkl3k0HfxBlteJeeH", "X-Ops-Authorization-6"=>"aNbO+AZjU1IS3xFQxEBPQU2FBPMjWyBeHIE5FmZlCA==", "X-Ops-Timestamp"=>"2012-12-27T04:42:26Z"}
[2012-12-26T23:42:26-05:00] DEBUG: Sending HTTP Request via POST to chef.jokefire.com:4000/clients
[2012-12-26T23:42:26-05:00] DEBUG: ---- HTTP Status and Header Data: ----
[2012-12-26T23:42:26-05:00] DEBUG: HTTP 1.1 409 Conflict
[2012-12-26T23:42:26-05:00] DEBUG: connection: close
[2012-12-26T23:42:26-05:00] DEBUG: content-type: application/json; charset=utf-8
[2012-12-26T23:42:26-05:00] DEBUG: server: thin 1.3.1 codename Triple Espresso
[2012-12-26T23:42:26-05:00] DEBUG: ---- End HTTP Status/Header Data ----
[2012-12-26T23:42:26-05:00] INFO: HTTP Request Returned 409 Conflict: Client already exists
[2012-12-26T23:42:26-05:00] DEBUG: Signing the request as chef-validator
[2012-12-26T23:42:26-05:00] DEBUG: String to sign: 'Method:PUT
Hashed Path:5wCAHxCL4E/HPvZ6BARDFf/XVKE=
X-Ops-Content-Hash:J+JLA7GevV8fniU3mfEpwLiIK1E=
X-Ops-Timestamp:2012-12-27T04:42:26Z
X-Ops-UserId:chef-validator'
Header hash: {"X-Ops-Content-Hash"=>"J+JLA7GevV8fniU3mfEpwLiIK1E=", "X-Ops-Authorization-1"=>"fiJIVWw2vZYfZLmlqbW6umbR+Vv7+H9ORnTKj7rOk2lbYObgtK8LRsG6cbm9", "X-Ops-Userid"=>"chef-validator", "X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Authorization-2"=>"hBRMgkVyZvluDggsWmiRKpfr3FS19RViegBzwJe1ghKnMtchukaCAICRX7ZM", "X-Ops-Authorization-3"=>"x5N7vCtntGdKsfwaZHJGppFTbMOqL02QAcJ4xNGsoxYyVQ6cI84ypuC8cHZe", "X-Ops-Authorization-4"=>"hwCx7guyIsT0CzVWSAVlmYxNSht1E85d4qnoMOtNyRwrkWYJ8rhTtIbwXPId", "X-Ops-Authorization-5"=>"c5Ahn/ZGoH2iSSW5S2Ji+RET7KLHVTdxpGK6NcpxDXhqT3nwb+jhbEiIDhgB", "X-Ops-Authorization-6"=>"RDSYQ7dQZZFOq+T3z9SVeHOciY5lUDvWKl7RJFfrTg==", "X-Ops-Timestamp"=>"2012-12-27T04:42:26Z"}
[2012-12-26T23:42:26-05:00] DEBUG: Sending HTTP Request via PUT to chef.jokefire.com:4000/clients/cloud.mydomain.com
[2012-12-26T23:42:26-05:00] DEBUG: ---- HTTP Status and Header Data: ----
[2012-12-26T23:42:26-05:00] DEBUG: HTTP 1.1 403 Forbidden
[2012-12-26T23:42:26-05:00] DEBUG: connection: close
[2012-12-26T23:42:26-05:00] DEBUG: content-type: application/json; charset=utf-8
[2012-12-26T23:42:26-05:00] DEBUG: server: thin 1.3.1 codename Triple Espresso
[2012-12-26T23:42:26-05:00] DEBUG: ---- End HTTP Status/Header Data ----
[2012-12-26T23:42:26-05:00] INFO: HTTP Request Returned 403 Forbidden: You are not allowed to take this action.

================================================================================
Chef encountered an error attempting to create the client "cloud.mydomain.com"
================================================================================

Authorization Error:
--------------------
Your validation client is not authorized to create the client for this node (HTTP 403).

Possible Causes:
----------------
* There may already be a client named "cloud.mydomain.com"
* Your validation client (chef-validator) may have misconfigured authorization permissions.

[2012-12-26T23:42:26-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2012-12-26T23:42:26-05:00] DEBUG: Net::HTTPServerException: 403 "Forbidden"
/usr/lib/ruby/1.8/net/http.rb:2105:in `error!'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:282:in `raw_http_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:363:in `retriable_rest_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:249:in `raw_http_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:243:in `api_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:149:in `put_rest'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/api_client.rb:247:in `save'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:100:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:98:in `upto'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:98:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:96:in `catch'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:96:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:325:in `register'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:407:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-12-26T23:42:26-05:00] FATAL: Net::HTTPServerException: 403 "Forbidden"


I hope this can help track this issue down.

thanks
Tim

On Wed, Dec 26, 2012 at 9:10 PM, Tim Dunphy < " target="_blank" title="This external link will open in a new window"> > wrote:
Hello List,

 Just getting my feet wet with chef. Been using puppet for a while now. But chef is much better for my current needs. I did a gem install of the client on a centos 5.6 client box and am trying to get it to communicate with an ubuntu 12.04 chef server that I built. I was able to knife bootstrap the chef server without much problem.

However after do a gem install of chef client 10.14 client on the centos box and running this command:

knife bootstrap  -N mydomain.com chef.mydomain.com -d centos5-gems -x root -P 'notapass'

I see the following output:

 chef.mydomain.com Successfully installed chef-10.16.4
chef.mydomain.com 1 gem installed
chef.mydomain.com [2012-12-26T20:56:44-05:00] INFO: *** Chef 10.16.4 ***
chef.mydomain.com
chef.mydomain.com [2012-12-26T20:56:45-05:00] INFO: HTTP Request Returned 401 Unauthorized: Failed to authenticate. Ensure that your client key is valid.
chef.mydomain.com
chef.mydomain.com
chef.mydomain.com ================================================================================
chef.mydomain.com
chef.mydomain.com Chef encountered an error attempting to load the node data for "mydomain.com"
chef.mydomain.com
chef.mydomain.com ================================================================================
chef.mydomain.com
chef.mydomain.com
chef.mydomain.com Authentication Error:
chef.mydomain.com
chef.mydomain.com ---------------------
chef.mydomain.com
chef.mydomain.com Failed to authenticate to the chef server (http 401).
chef.mydomain.com
chef.mydomain.com
chef.mydomain.com Server Response:
chef.mydomain.com
chef.mydomain.com ----------------
chef.mydomain.com
chef.mydomain.com Failed to authenticate. Ensure that your client key is valid.
chef.mydomain.com
chef.mydomain.com
chef.mydomain.com Relevant Config Settings:
chef.mydomain.com
chef.mydomain.com -------------------------
chef.mydomain.com
chef.mydomain.com chef_server_url   "http://chef.mydomain.com:4000"
chef.mydomain.com
chef.mydomain.com node_name         "mydomain.com"
chef.mydomain.com
chef.mydomain.com client_key        "/etc/chef/client.pem"
chef.mydomain.com
chef.mydomain.com
chef.mydomain.com If these settings are correct, your client_key may be invalid.
chef.mydomain.com
chef.mydomain.com
chef.mydomain.com [2012-12-26T20:56:45-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
chef.mydomain.com
chef.mydomain.com [2012-12-26T20:56:45-05:00] FATAL: Net::HTTPServerException: 401 "Unauthorized"
chef.mydomain.com

The first time I saw this error I rm'd the entire contents of my /etc/chef folder and then did a gem uninstall chef ; gem install chef. But was surprised to see the same error again possibly blaming my /etc/chef/client.pem file which had been generated by the most recent install.

The contents of the stacktrace file are the following:

Generated at Tue Dec 25 10:12:38 -0500 2012
Net::HTTPServerException: 401 "Unauthorized"
/usr/lib/ruby/1.8/net/http.rb:2105:in `error!'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:282:in `raw_http_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:363:in `retriable_rest_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:249:in `raw_http_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:243:in `api_request'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/rest.rb:133:in `get_rest'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/node.rb:604:in `load'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/node.rb:588:in `find_or_create'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:294:in `load_node'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:409:in `do_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/client.rb:176:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:140:in `run_chef_client'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:274:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application/client.rb:267:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/../lib/chef/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.4/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23

Which is weird because I can log into the chef server from the client with the password I used, or with ssh keys. I got the same result when I tried the knife bootstrap command with the -i flag and included my private key.

Can someone please give some clues to help me on the path to success with this?

Chef server is also 10.16

Chef Server (API) Version: 10.16.2

Thank you very much indeed.

Tim

--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B




--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B




Archive powered by MHonArc 2.6.16.

§