- From: <
>
- To:
- Subject: [chef] Bootstrap failure to ec2 instances
- Date: Wed, 25 Jan 2012 02:35:05 -0800 (PST)
successfully created servers on ec2 by knife-ec2 but failed to bootstrap. My
chef-server runs on my home laptop, seems ec2 server can not registry towards
the local server for network problem. Have anyone gotten success with such
env?
If I ssh to the ec2 instance and remotely run "chef-client", will got below
output:
:/etc/chef$
chef-client
[Wed, 25 Jan 2012 10:16:29 +0000] INFO: *** Chef 0.10.8 ***
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin os
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin kernel
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin ruby
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin languages
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin ruby -e "require
'rbconfig'; puts
%Q(host_cpu=#{::Config::CONFIG['host_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'],
::Config::CONFIG['ruby_install_name'])},target=#{::Config::CONFIG['target']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},)"
STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
host_cpu=i686,bin_dir=/usr/bin,host_vendor=pc,release_date=2010-08-16,ruby_bin=/usr/bin/ruby1.8,target=i686-pc-linux-gnu,target_cpu=i686,host_os=linux-gnu,platform=i686-linux,host=i686-pc-linux-gnu,target_vendor=pc,version=1.8.7,target_os=linux,
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End ruby -e "require 'rbconfig';
puts
%Q(host_cpu=#{::Config::CONFIG['host_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'],
::Config::CONFIG['ruby_install_name'])},target=#{::Config::CONFIG['target']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},)"
STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin ruby -e "require
'rbconfig'; puts
%Q(host_cpu=#{::Config::CONFIG['host_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'],
::Config::CONFIG['ruby_install_name'])},target=#{::Config::CONFIG['target']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},)"
STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End ruby -e "require 'rbconfig';
puts
%Q(host_cpu=#{::Config::CONFIG['host_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'],
::Config::CONFIG['ruby_install_name'])},target=#{::Config::CONFIG['target']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},)"
STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (ruby -e "require 'rbconfig';
puts
%Q(host_cpu=#{::Config::CONFIG['host_cpu']},bin_dir=#{::Config::CONFIG['bindir']},host_vendor=#{::Config::CONFIG['host_vendor']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'],
::Config::CONFIG['ruby_install_name'])},target=#{::Config::CONFIG['target']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},)")
returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin ruby -e "require
'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT
----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: gem1.8
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End ruby -e "require 'rbconfig';
require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin ruby -e "require
'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR
----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End ruby -e "require 'rbconfig';
require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (ruby -e "require 'rbconfig';
require 'rubygems'; puts ::Gem.default_exec_format % 'gem'") returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin ruby -e "require
'rbconfig'; puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!"
STDOUT
----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: /usr/lib/ruby/gems/1.8
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End ruby -e "require 'rbconfig';
puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!" STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin ruby -e "require
'rbconfig'; puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!"
STDERR
----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End ruby -e "require 'rbconfig';
puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!" STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (ruby -e "require 'rbconfig';
puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!") returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -s STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Linux
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -s STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -s STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -s STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (uname -s) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -r STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: 2.6.38-11-virtual
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -r STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -r STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -r STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (uname -r) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -v STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: #50-Ubuntu SMP Mon Sep 12 23:24:19
UTC
2011
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -v STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -v STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -v STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (uname -v) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -m STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: i686
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -m STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -m STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -m STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (uname -m) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin dmi_common
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin mono
[Wed, 25 Jan 2012 10:16:29 +0000] 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-0.6.10/lib/ohai/mixin/command.rb:336:in
`popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:98:in
`run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:50:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/mono.rb:27:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin eucalyptus
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin hostname
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::hostname
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin hostname -s STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ip-10-146-22-150
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End hostname -s STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin hostname -s STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End hostname -s STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (hostname -s) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin hostname --fqdn STDOUT
----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
ip-10-146-22-150.ap-northeast-1.compute.internal
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End hostname --fqdn STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin hostname --fqdn STDERR
----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End hostname --fqdn STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (hostname --fqdn) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin network
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::network
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin route -n | grep -m 1
^0.0.0.0 STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: 0.0.0.0 10.146.22.1
0.0.0.0 UG 100 0 0 eth0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End route -n | grep -m 1
^0.0.0.0
STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin route -n | grep -m 1
^0.0.0.0 STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End route -n | grep -m 1
^0.0.0.0
STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (route -n | grep -m 1 ^0.0.0.0)
returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Using default interface for default
ip
and mac address
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: has_euca_mac? == false
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: has_euca_mac? == false
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: has_euca_mac? == false
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: looks_like_euca? == false
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin cloud
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin ec2
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: has_ec2_mac? == true
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: can_metadata_connect? == true
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: looks_like_ec2? == true
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin rackspace
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin keys
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin java
[Wed, 25 Jan 2012 10:16:29 +0000] 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-0.6.10/lib/ohai/mixin/command.rb:336:in
`popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:98:in
`run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:50:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/java.rb:24:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin php
[Wed, 25 Jan 2012 10:16:29 +0000] 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-0.6.10/lib/ohai/mixin/command.rb:336:in
`popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:98:in
`run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:50:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/php.rb:27:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin virtualization
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::virtualization
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin chef
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin command
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin c
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin gcc -v STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End gcc -v STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin gcc -v STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.5 --enable-shared --enable-multiarch
--with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/i386-linux-gnu
--enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default
--with-plugin-ld=ld.gold --enable-objc-gc --enable-targets=all
--disable-werror
--with-arch-32=i686 --with-tune=generic --enable-checking=release
--build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End gcc -v STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (gcc -v) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Plugin c threw exception
#<Ohai::Exceptions::Exec: command /lib/libc.so.6 doesn't exist or is not in
the
PATH> /usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:336:in
`popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:98:in
`run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:50:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/c.rb:41:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/c.rb:40:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/c.rb:40:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin ip_scopes
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ip_scopes: cannot load gem, plugin
disabled: no such file to load -- ipaddr_extensions
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin groovy
[Wed, 25 Jan 2012 10:16:29 +0000] 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-0.6.10/lib/ohai/mixin/command.rb:336:in
`popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:98:in
`run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:50:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/groovy.rb:27:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin python
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin python -c "import sys;
print sys.version" STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: 2.7.1+ (r271:86832, Apr 11 2011,
18:05:24)
[GCC 4.5.2]
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End python -c "import sys; print
sys.version" STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin python -c "import sys;
print sys.version" STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End python -c "import sys; print
sys.version" STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (python -c "import sys; print
sys.version") returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin dmi
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin perl
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin perl -V:version
-V:archname
STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: version='5.10.1';
archname='i686-linux-gnu-thread-multi';
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End perl -V:version -V:archname
STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin perl -V:version
-V:archname
STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End perl -V:version -V:archname
STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (perl -V:version -V:archname)
returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin platform
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::platform
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::lsb
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin erlang
[Wed, 25 Jan 2012 10:16:29 +0000] 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-0.6.10/lib/ohai/mixin/command.rb:336:in
`popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:98:in
`run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:50:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/erlang.rb:26:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin ohai_time
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin passwd
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin uptime
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin lua
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Plugin lua threw exception
#<Ohai::Exceptions::Exec: command lua -v doesn't exist or is not in the PATH>
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:336:in
`popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:98:in
`run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:50:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mixin/command.rb:49:in
`run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/lua.rb:27:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin network_listeners
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Plugin network_listeners threw
exception #<LoadError: no such file to load -- sigar>
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/plugins/network_listeners.rb:19:in
`from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:190:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:185:in
`require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:117:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:110:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/system.rb:108:in
`all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:208:in
`run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:149:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin ohai
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::kernel
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -o STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: GNU/Linux
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -o STDOUT ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- Begin uname -o STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG:
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: ---- End uname -o STDERR ----
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Ran (uname -o) returned 0
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::block_device
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::memory
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::cpu
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::uptime
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::filesystem
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::ssh_host_key
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Loading plugin linux::ps
[Wed, 25 Jan 2012 10:16:29 +0000] INFO: Client key /etc/chef/client.pem is not
present - registering
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Signing the request as chef-validator
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: String to sign: 'Method:POST
Hashed Path:QHL2lW8OR+xoMFLchjio1Mxgw+0=
X-Ops-Content-Hash:9UN2niDBoPTNdcySEvHeNILl5U4=
X-Ops-Timestamp:2012-01-25T10:16:29Z
X-Ops-UserId:chef-validator'
Header hash: {"X-Ops-Content-Hash"=>"9UN2niDBoPTNdcySEvHeNILl5U4=",
"X-Ops-Authorization-1"=>"pqzMe8Z4ZPINkEBNqsYuRa2UqAP3dhYpyR6vJIbQc6rzqu0yru3MUSFKSwtP",
"X-Ops-Userid"=>"chef-validator", "X-Ops-Sign"=>"version=1.0",
"X-Ops-Authorization-2"=>"PWSMu4P8cyc+m+433NYHvkUmvgEaERZbAh9IFVPQQ2HC0pEpzgSV+jFWEnMd",
"X-Ops-Authorization-3"=>"LRvsAcImvO+9CkQzfd1IUDLSmzZgBKzMLVZNm/rG2wkxfvYYRSMEhfREQEsz",
"X-Ops-Authorization-4"=>"+hU4EbtLdofXjH4CJpVvnAu2uVZRzlW+xL1C2vYYulRaBniRYpgfBijKYTzo",
"X-Ops-Authorization-5"=>"qZEqPyoqWTCvdH/KWHcV9obF+7r0cWlAAMmOJ3dzv69ofQpsY9p+Dfo6Che2",
"X-Ops-Authorization-6"=>"9v5Zky8sz21fWFzFdCiqW+sX1IQatmN5zNa/d0H35A==",
"X-Ops-Timestamp"=>"2012-01-25T10:16:29Z"}
[Wed, 25 Jan 2012 10:16:29 +0000] DEBUG: Sending HTTP Request via POST to
172.16.234.143:4000/clients
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/file_cache.rb:54:in
`initialize': Permission denied - /var/chef/cache/chef-stacktrace.out
(Errno::EACCES)
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/file_cache.rb:54:in
`open'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/file_cache.rb:54:in
`store'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:134:in
`debug_stacktrace'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:270:in
`run_application'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`loop'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/client.rb:229:in
`run_application'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in
`run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-client:26
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
I also put log below at my server side:
save the gem installing details....
ec2-175-41-200-254.ap-northeast-1.compute.amazonaws.com Successfully installed
chef-0.10.8
ec2-175-41-200-254.ap-northeast-1.compute.amazonaws.com 1 gem installed
ec2-175-41-200-254.ap-northeast-1.compute.amazonaws.com [Wed, 25 Jan 2012
10:37:50 +0000] INFO: *** Chef 0.10.8 ***
ec2-175-41-200-254.ap-northeast-1.compute.amazonaws.com [Wed, 25 Jan 2012
10:37:50 +0000] INFO: Client key /etc/chef/client.pem is not present -
registering
ec2-175-41-200-254.ap-northeast-1.compute.amazonaws.com [Wed, 25 Jan 2012
10:40:59 +0000] FATAL: Stacktrace dumped to
/var/chef/cache/chef-stacktrace.out
ec2-175-41-200-254.ap-northeast-1.compute.amazonaws.com [Wed, 25 Jan 2012
10:40:59 +0000] FATAL: Errno::ETIMEDOUT: Error connecting to
http://172.16.234.143:4000/clients - Connection timed out - connect(2)
Any suggestion?
- [chef] Bootstrap failure to ec2 instances, miaoxinhuili, 01/25/2012
Archive powered by MHonArc 2.6.16.