Server
-----
I executes knife client delete client-name on the server subsequent run produced meesage
knife client delete devhouse
Do you really want to delete devhouse? (Y/N) Y
ERROR: The object you are looking for could not be found
Response: Cannot load client devhouse
so the client now is absolutely not registered with the server
Client
-----
ls -la /etc/chef/
outputs
total 20
drwxr-xr-x 2 root root 4096 Aug 8 18:27 .
drwxr-xr-x 69 root root 4096 Aug 8 18:04 ..
-rw-r--r-- 1 root root 169 Aug 7 20:11 client.rb
-rw-r--r-- 1 root root 16 Aug 7 20:11 first-boot.json
-rw-r--r-- 1 root root 1679 Aug 7 20:11 validation.pem
executing chef-client -l debug
outputs
~]# chef-client -l debug
[2012-08-08T20:25:55+02:00] INFO: *** Chef 10.12.0 ***
[2012-08-08T20:25:55+02:00] DEBUG: Loading plugin os
[2012-08-08T20:25:55+02:00] DEBUG: Loading plugin kernel
[2012-08-08T20:25:55+02:00] DEBUG: Loading plugin ruby
[2012-08-08T20:25:55+02:00] DEBUG: Loading plugin languages
[2012-08-08T20:25:55+02:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},target=#{::Config::CONFIG['target']},host_cpu=#{::Config::CONFIG['host_cpu']},platform=#{RUBY_PLATFORM},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_os=#{::Config::CONFIG['host_os']},)" STDOUT ----
[2012-08-08T20:25:55+02:00] DEBUG: host=i386-redhat-linux-gnu,target_vendor=redhat,version=1.8.7,target_os=linux,target=i686-redhat-linux-gnu,host_cpu=i386,platform=i386-linux,host_vendor=redhat,release_date=2011-06-30,ruby_bin=/usr/bin/ruby,target_cpu=i386,bin_dir=/usr/bin,host_os=linux-gnu,
[2012-08-08T20:25:55+02:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %Q(host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},target=#{::Config::CONFIG['target']},host_cpu=#{::Config::CONFIG['host_cpu']},platform=#{RUBY_PLATFORM},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_os=#{::Config::CONFIG['host_os']},)" STDOUT ----
[2012-08-08T20:25:55+02:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},target=#{::Config::CONFIG['target']},host_cpu=#{::Config::CONFIG['host_cpu']},platform=#{RUBY_PLATFORM},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_os=#{::Config::CONFIG['host_os']},)" STDERR ----
[2012-08-08T20:25:55+02:00] DEBUG:
[2012-08-08T20:25:55+02:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %Q(host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},target=#{::Config::CONFIG['target']},host_cpu=#{::Config::CONFIG['host_cpu']},platform=#{RUBY_PLATFORM},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_os=#{::Config::CONFIG['host_os']},)" STDERR ----
[2012-08-08T20:25:55+02:00] DEBUG: Ran (ruby -e "require 'rbconfig'; puts %Q(host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},target=#{::Config::CONFIG['target']},host_cpu=#{::Config::CONFIG['host_cpu']},platform=#{RUBY_PLATFORM},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},target_cpu=#{::Config::CONFIG['target_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_os=#{::Config::CONFIG['host_os']},)") returned 0
[2012-08-08T20:25:55+02:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT ----
[2012-08-08T20:25:55+02:00] DEBUG: gem
[2012-08-08T20:25:55+02:00] DEBUG: ---- End ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT ----
[2012-08-08T20:25:55+02:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR ----
[2012-08-08T20:25:55+02:00] DEBUG:
[2012-08-08T20:25:55+02:00] DEBUG: ---- End ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR ----
[2012-08-08T20:25:55+02:00] DEBUG: Ran (ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'") returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: /usr/lib/ruby/gems/1.8
[2012-08-08T20:25:56+02:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!" STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby /usr/bin/gem env gemdir}.chomp!") returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -s STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: Linux
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -s STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -s STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -s STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (uname -s) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -r STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: 3.4.2-linode44
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -r STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -r STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -r STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (uname -r) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -v STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: #1 SMP Tue Jun 12 15:04:46 EDT 2012
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -v STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -v STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -v STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (uname -v) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -m STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: i686
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -m STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -m STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -m STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (uname -m) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin virtualization
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::virtualization
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin dmi
[2012-08-08T20:25:56+02:00] DEBUG: unrecognized output line; discarding:
# No SMBIOS nor DMI entry point found, sorry.
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin passwd
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin ohai
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin php
[2012-08-08T20:25:56+02:00] DEBUG: Plugin php threw exception #<Ohai::Exceptions::Exec: command php -v doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/php.rb:27:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin ip_scopes
[2012-08-08T20:25:56+02:00] DEBUG: ip_scopes: cannot load gem, plugin disabled: no such file to load -- ipaddr_extensions
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin keys
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin dmi_common
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin rackspace
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin network
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin hostname
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::hostname
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin hostname -s STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: li504-164
[2012-08-08T20:25:56+02:00] DEBUG: ---- End hostname -s STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin hostname -s STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End hostname -s STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (hostname -s) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin hostname --fqdn STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: li504-164.members.linode.com
[2012-08-08T20:25:56+02:00] DEBUG: ---- End hostname --fqdn STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin hostname --fqdn STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End hostname --fqdn STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (hostname --fqdn) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::network
[2012-08-08T20:25:56+02:00] DEBUG: default_interface set to eth0
[2012-08-08T20:25:56+02:00] DEBUG: default_gateway set to 176.58.117.1
[2012-08-08T20:25:56+02:00] DEBUG: default_inet6_interface set to eth0
[2012-08-08T20:25:56+02:00] DEBUG: default_inet6_gateway set to fe80::1
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin erlang
[2012-08-08T20:25:56+02:00] DEBUG: Plugin erlang threw exception #<Ohai::Exceptions::Exec: command erl +V doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/erlang.rb:26:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin groovy
[2012-08-08T20:25:56+02:00] DEBUG: Plugin groovy threw exception #<Ohai::Exceptions::Exec: command groovy -v doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/groovy.rb:27:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin chef
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin perl
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin perl -V:version -V:archname STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: version='5.10.1';
archname='i386-linux-thread-multi';
[2012-08-08T20:25:56+02:00] DEBUG: ---- End perl -V:version -V:archname STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin perl -V:version -V:archname STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End perl -V:version -V:archname STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (perl -V:version -V:archname) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin uptime
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin ec2
[2012-08-08T20:25:56+02:00] DEBUG: has_ec2_mac? == false
[2012-08-08T20:25:56+02:00] DEBUG: looks_like_ec2? == false
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin network_listeners
[2012-08-08T20:25:56+02: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/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/network_listeners.rb:19:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin mono
[2012-08-08T20:25:56+02:00] DEBUG: Plugin mono threw exception #<Ohai::Exceptions::Exec: command mono -V doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/mono.rb:27:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin ohai_time
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin c
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin gcc -v STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End gcc -v STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin gcc -v STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
[2012-08-08T20:25:56+02:00] DEBUG: ---- End gcc -v STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (gcc -v) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin /lib/libc.so.6 STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: GNU C Library stable release version 2.12, by Roland McGrath et al.
Copyright (C) 2010 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.4.6 20120305 (Red Hat 4.4.6-4).
Compiled on a Linux 2.6.32 system on 2012-07-18.
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
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
[2012-08-08T20:25:56+02:00] DEBUG: ---- End /lib/libc.so.6 STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin /lib/libc.so.6 STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End /lib/libc.so.6 STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (/lib/libc.so.6) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin cl /? STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End cl /? STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin cl /? STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: sh: cl: command not found
[2012-08-08T20:25:56+02:00] DEBUG: ---- End cl /? STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (cl /?) returned 127
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin devenv.com /? STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End devenv.com /? STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin devenv.com /? STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: sh: devenv.com: command not found
[2012-08-08T20:25:56+02:00] DEBUG: ---- End devenv.com /? STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (devenv.com /?) returned 127
[2012-08-08T20:25:56+02:00] DEBUG: Plugin c threw exception #<Ohai::Exceptions::Exec: command xlc -qversion doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/c.rb:77:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin lua
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin lua -v STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End lua -v STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin lua -v STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
[2012-08-08T20:25:56+02:00] DEBUG: ---- End lua -v STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (lua -v) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin python
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: 2.6.6 (r266:84292, Jun 18 2012, 14:10:23)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
[2012-08-08T20:25:56+02:00] DEBUG: ---- End python -c "import sys; print sys.version" STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End python -c "import sys; print sys.version" STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (python -c "import sys; print sys.version") returned 0
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin cloud
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin eucalyptus
[2012-08-08T20:25:56+02:00] DEBUG: has_euca_mac? == false
[2012-08-08T20:25:56+02:00] DEBUG: Plugin eucalyptus threw exception #<NoMethodError: undefined method `detect' for nil:NilClass> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/eucalyptus.rb:31:in `get_mac_address'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/eucalyptus.rb:41:in `has_euca_mac?'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/eucalyptus.rb:40:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/eucalyptus.rb:40:in `has_euca_mac?'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/eucalyptus.rb:53:in `looks_like_euca?'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/eucalyptus.rb:56:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/cloud.rb:21:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin java
[2012-08-08T20:25:56+02:00] DEBUG: Plugin java threw exception #<Ohai::Exceptions::Exec: command java -version doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/java.rb:30:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin platform
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::platform
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::lsb
[2012-08-08T20:25:56+02:00] DEBUG: Skipping LSB, cannot find /etc/lsb-release or /usr/bin/lsb_release
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin command
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::memory
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::uptime
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::ssh_host_key
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::block_device
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::kernel
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -o STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: GNU/Linux
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -o STDOUT ----
[2012-08-08T20:25:56+02:00] DEBUG: ---- Begin uname -o STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG:
[2012-08-08T20:25:56+02:00] DEBUG: ---- End uname -o STDERR ----
[2012-08-08T20:25:56+02:00] DEBUG: Ran (uname -o) returned 0
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::ps
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::cpu
[2012-08-08T20:25:56+02:00] DEBUG: Loading plugin linux::filesystem
[2012-08-08T20:25:56+02:00] INFO: Client key /etc/chef/client.pem is not present - registering
[2012-08-08T20:25:56+02:00] DEBUG: Signing the request as chef-validator
[2012-08-08T20:25:56+02:00] DEBUG: String to sign: 'Method:POST
Hashed Path:QHL2lW8OR+xoMFLchjio1Mxgw+0=
X-Ops-Content-Hash:/zWWQ33KMAwR6bJoHOR0w1IV2P8=
X-Ops-Timestamp:2012-08-08T18:25:56Z
X-Ops-UserId:chef-validator'
Header hash: {"X-Ops-Authorization-6"=>"Pe0E9D+8FiNVQA3XjtbWuwA7BOLQC1VqUiu21xYQYw==", "X-Ops-Authorization-5"=>"HxeCJ14Q2qoZG6JB8a2WTrHSLhOlXETAFFqKeAIMwTTYtquynZEKmsdf8O0+", "X-Ops-Authorization-4"=>"Tk8PtADf6BHrFdo87bI2j9kkxCYFTAwsuZLQ7hSo32IqS0exwe54Y5muCFpK", "X-Ops-Authorization-3"=>"LDftb4QQiXY6mdr6UWtWtGP8rSQsVyzvAfZcWQUScL/PojNOM8WZOGRSu+SQ", "X-Ops-Authorization-2"=>"FgtmQumdAT0oxLbJ/La9JNqRyXXMiWYw3o4ItqKZH1ZRLRlyr7nlG8by7iAS", "X-Ops-Authorization-1"=>"HD9a9+Am76K+orQzk/0DW6inefakJFqaSdL2tsr0D4AZEzZZNfuq6aX9MNiL", "X-Ops-Timestamp"=>"2012-08-08T18:25:56Z", "X-Ops-Userid"=>"chef-validator", "X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Content-Hash"=>"/zWWQ33KMAwR6bJoHOR0w1IV2P8="}
[2012-08-08T20:25:56+02:00] DEBUG: Sending HTTP Request via POST to li503-153.members.linode.com:4000/clients
[2012-08-08T20:26:03+02:00] INFO: HTTP Request Returned 500 Internal Server Error: Connection reset by peer
[2012-08-08T20:26:03+02:00] ERROR: Server returned error for http://li503-153.members.linode.com:4000/clients, retrying 1/5 in 3s
[2012-08-08T20:26:06+02:00] INFO: HTTP Request Returned 409 Conflict: Client already exists
[2012-08-08T20:26:06+02:00] DEBUG: Signing the request as chef-validator
[2012-08-08T20:26:06+02:00] DEBUG: String to sign: 'Method:PUT
Hashed Path:fiDr9FKUg4kgCgetDvfv1Qx+GXc=
X-Ops-Content-Hash:ZxmtuNBgCdYgQuzRfBR0DMRBs1g=
X-Ops-Timestamp:2012-08-08T18:26:06Z
X-Ops-UserId:chef-validator'
Header hash: {"X-Ops-Authorization-6"=>"3ooad+SQ2hp0OB2HG7mbQTAryjoViwNIC2/AJf8L2A==", "X-Ops-Authorization-5"=>"RMfB3Lvljenxf4iZFrar4+oQVm72vhmt55VXyRssfaM+f8aoq35cMcPce4sk", "X-Ops-Authorization-4"=>"roeze6tK9y83ePaDErSC2PfZyePc/9E4ZtbRI2SvkBa+EXqU2XbrnCmbXIX7", "X-Ops-Authorization-3"=>"eGfaMTfo3XZKATcdc5qvVT0hEiffssopm19t9PBi26+leyLyH3P+3ukTJoeo", "X-Ops-Authorization-2"=>"KUs4g1Lp4GGjkyYpS02cIFzUeCStfWAb2pBLJf9ia2uyan3YGcvdoeepJU4u", "X-Ops-Authorization-1"=>"KL6GR5+3IeAbO7V0nbfhuolwtBBLCuKjt1Owt3/A9bWDvR8NYpzsNCAh6Q/P", "X-Ops-Timestamp"=>"2012-08-08T18:26:06Z", "X-Ops-Userid"=>"chef-validator", "X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Content-Hash"=>"ZxmtuNBgCdYgQuzRfBR0DMRBs1g="}
[2012-08-08T20:26:06+02:00] DEBUG: Sending HTTP Request via PUT to li503-153.members.linode.com:4000/clients/devhouse
[2012-08-08T20:26:06+02:00] INFO: HTTP Request Returned 403 Forbidden: You are not allowed to take this action.
[2012-08-08T20:26:06+02:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2012-08-08T20:26:06+02:00] DEBUG: Net::HTTPServerException: 403 "Forbidden"
/usr/lib/ruby/1.8/net/http.rb:2105:in `error!'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:266:in `api_request'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:334:in `retriable_rest_request'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:242:in `api_request'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:146:in `put_rest'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/api_client.rb:247:in `save'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:97:in `register'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:95:in `upto'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:95:in `register'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:93:in `catch'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/rest.rb:93:in `register'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:298:in `register'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:153:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-08T20:26:06+02:00] FATAL: Net::HTTPServerException: 403 "Forbidden"
~]#
On 2012/08/08 8:18 PM, Mike wrote:
Did this client (or a client with the same name) exist prior to this
client registering?
If you ever did a `knife node delete` this doesn't clear the client
entry - you may have to clear the client via `knife client delete`.
Is the bootstrap placing the client's generated pem file in the
location that client.rb is looking for it?
Can you provide the output of the chef-client run in debug mode?
`chef-client -ldebug`
On Wed, Aug 8, 2012 at 2:11 PM, Kwasi Gyasi - Agyei
< " target="_blank"> za> wrote:
Entire error located here: http://pastebin.com/BEgNh2mm
I'm getting these errors [http://pastebin.com/BEgNh2mm][chef-client/server
errors] after successfully bootstrapping a node with chef.
The initial error which occurs is as follows
(snippet from sever logs):
merb : chef-server (api) : worker (port 4000) ~ Started request handling:
Wed Aug 08 19:04:32 +0200 2012
merb : chef-server (api) :worker (port 4000) ~ Params: {"name"=>"devhouse",
"controller"=>"clients", "action"=>"create", "admin"=>false}
merb : chef-server (api) : worker (port 4000) ~ `Connection reset by peer -
(Errno::ECONNRESET)`
(snippet from client STDOUT)
[2012-08-08T19:47:57+02:00] INFO: *** Chef 10.12.0 ***
[2012-08-08T19:47:57+02:00] INFO: Client key /etc/chef/client.pem is not
present - registering
[2012-08-08T19:47:58+02:00] INFO: HTTP Request Returned 409 Conflict: Client
already exists
[2012-08-08T19:47:58+02:00] INFO: HTTP Request Returned 403 Forbidden: You
are not allowed to take this action.
[2012-08-08T19:47:58+02:00] FATAL: Stacktrace dumped to
/var/chef/cache/chef-stacktrace.out
[2012-08-08T19:47:58+02:00] FATAL: Net::HTTPServerException: 403 "Forbidden"
From the above the error the only thing I can deduce is that the client
failed to communicate with the server, but, the mind boggling thing is that,
somehow the client was able to register with the server cause executing
`knife client list` shows client which field in the list however updated
attempt by client fails with `403 "Forbidden"`
Chef common errors does not seem to have any records of such behavior.
Archive powered by MHonArc 2.6.16.