[chef] Re: Re: Re: Re: chef-client errors connecting to server for the first time


Chronological Thread 
  • From: Kwasi Gyasi - Agyei < >
  • To:
  • Cc: Jessica Bourne < >
  • Subject: [chef] Re: Re: Re: Re: chef-client errors connecting to server for the first time
  • Date: Wed, 08 Aug 2012 20:41:14 +0200

I executed command as you requested, results below:

knife client delete devhouse -VV
DEBUG: Using configuration from /root/.chef/knife.rb
Do you really want to delete devhouse? (Y/N) Y
DEBUG: Signing the request as root
DEBUG: Sending HTTP Request via GET to li503-153.members.linode.com:4000/clients/devhouse
DEBUG: Signing the request as root
DEBUG: Sending HTTP Request via DELETE to li503-153.members.linode.com:4000/clients/devhouse
INFO: HTTP Request Returned 500 Internal Server Error: Connection reset by peer
ERROR: Server returned error for http://li503-153.members.linode.com:4000/clients/devhouse, retrying 1/5 in 4s
INFO: HTTP Request Returned 404 Not Found: Cannot load client devhouse
/usr/lib/ruby/1.8/net/http.rb:2105:in `error!': 404 "Not Found" (Net::HTTPServerException)
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/rest.rb:266:in `api_request'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/rest.rb:334:in `retriable_rest_request'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/rest.rb:242:in `api_request'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/rest.rb:136:in `delete_rest'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/api_client.rb:226:in `destroy'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife.rb:502:in `delete_object'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife/client_delete.rb:41:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife.rb:402:in `run_with_pretty_exceptions'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife.rb:168:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/application/knife.rb:123:in `run'
        from /usr/lib/ruby/gems/1.8/gems/chef-10.12.0/bin/knife:25
        from /usr/bin/knife:23:in `load'
        from /usr/bin/knife:23

knife is authenticating with the same server

On Wed Aug  8 20:34:27 2012, Jessica Bourne wrote:
Hi Kwasi,

Is it possible that your knife is configured to authenticate with a
different server? You may want to add -VV to your knife client delete
command and confirm it is also
usinghttp://li503-153.members.__linode.com
<http://li503-153.members.linode.com:4000/clients>

Jessica

On Wed, Aug 8, 2012 at 11:27 AM, Kwasi Gyasi - Agyei
<
<mailto: >>
 wrote:

    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
    <http://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
    <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
    <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
    <http://devenv.com> /? STDOUT ----
    [2012-08-08T20:25:56+02:00] DEBUG:
    [2012-08-08T20:25:56+02:00] DEBUG: ---- End devenv.com
    <http://devenv.com> /? STDOUT ----
    [2012-08-08T20:25:56+02:00] DEBUG: ---- Begin devenv.com
    <http://devenv.com> /? STDERR ----
    [2012-08-08T20:25:56+02:00] DEBUG: sh: devenv.com
    <http://devenv.com>: command not found
    [2012-08-08T20:25:56+02:00] DEBUG: ---- End devenv.com
    <http://devenv.com> /? STDERR ----
    [2012-08-08T20:25:56+02:00] DEBUG: Ran  (devenv.com
    <http://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+__8FiNVQA3XjtbWuwA7BOLQC1VqUiu21__xYQYw==",
    
"X-Ops-Authorization-5"=>"__HxeCJ14Q2qoZG6JB8a2WTrHSLhOlXE__TAFFqKeAIMwTTYtquynZEKmsdf8O0+__",
    
"X-Ops-Authorization-4"=>"__Tk8PtADf6BHrFdo87bI2j9kkxCYFTA__wsuZLQ7hSo32IqS0exwe54Y5muCFpK__",
    
"X-Ops-Authorization-3"=>"__LDftb4QQiXY6mdr6UWtWtGP8rSQsVy__zvAfZcWQUScL/PojNOM8WZOGRSu+__SQ",
    
"X-Ops-Authorization-2"=>"__FgtmQumdAT0oxLbJ/__La9JNqRyXXMiWYw3o4ItqKZH1ZRLRl__yr7nlG8by7iAS",
    
"X-Ops-Authorization-1"=>"__HD9a9+Am76K+orQzk/__0DW6inefakJFqaSdL2tsr0D4AZEzZZ__Nfuq6aX9MNiL",
    "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
    <http://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
    <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"=>"__eGfaMTfo3XZKATcdc5qvVT0hEiffss__opm19t9PBi26+leyLyH3P+__3ukTJoeo",
    
"X-Ops-Authorization-2"=>"__KUs4g1Lp4GGjkyYpS02cIFzUeCStfW__Ab2pBLJf9ia2uyan3YGcvdoeepJU4u__",
    
"X-Ops-Authorization-1"=>"__KL6GR5+__3IeAbO7V0nbfhuolwtBBLCuKjt1Owt__3/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
    <http://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
        
<
        
<mailto: >>
 wrote:

            Entire error located here: http://pastebin.com/BEgNh2mm

            I'm getting these errors
            [http://pastebin.com/BEgNh2mm]__[chef-client/server
            <http://pastebin.com/BEgNh2mm%5D%5Bchef-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.

§