Skip to content

Instantly share code, notes, and snippets.

@Aslan
Created January 30, 2010 02:57
Show Gist options
  • Save Aslan/290372 to your computer and use it in GitHub Desktop.
Save Aslan/290372 to your computer and use it in GitHub Desktop.
root@domU-12-31-39-07-49-D2:/var/run# chef-client -l debug
INFO: Starting Chef Run
DEBUG: Loading plugin os
DEBUG: Loading plugin ruby
DEBUG: Loading plugin languages
DEBUG: Loading plugin kernel
DEBUG: ---- Begin uname -s STDOUT ----
DEBUG: Linux
DEBUG: ---- End uname -s STDOUT ----
DEBUG: ---- Begin uname -s STDERR ----
DEBUG:
DEBUG: ---- End uname -s STDERR ----
DEBUG: Ran (uname -s) returned 0
DEBUG: ---- Begin uname -r STDOUT ----
DEBUG: 2.6.21.7-2.fc8xen-ec2-v1.0
DEBUG: ---- End uname -r STDOUT ----
DEBUG: ---- Begin uname -r STDERR ----
DEBUG:
DEBUG: ---- End uname -r STDERR ----
DEBUG: Ran (uname -r) returned 0
DEBUG: ---- Begin uname -v STDOUT ----
DEBUG: #1 SMP Tue Sep 1 10:25:30 EDT 2009
DEBUG: ---- End uname -v STDOUT ----
DEBUG: ---- Begin uname -v STDERR ----
DEBUG:
DEBUG: ---- End uname -v STDERR ----
DEBUG: Ran (uname -v) returned 0
DEBUG: ---- Begin uname -m STDOUT ----
DEBUG: x86_64
DEBUG: ---- End uname -m STDOUT ----
DEBUG: ---- Begin uname -m STDERR ----
DEBUG:
DEBUG: ---- End uname -m STDERR ----
DEBUG: Ran (uname -m) returned 0
DEBUG: Loading plugin keys
DEBUG: Loading plugin network
DEBUG: Loading plugin hostname
DEBUG: Loading plugin linux::hostname
DEBUG: ---- Begin hostname -s STDOUT ----
DEBUG: domU-12-31-39-07-49-D2
DEBUG: ---- End hostname -s STDOUT ----
DEBUG: ---- Begin hostname -s STDERR ----
DEBUG:
DEBUG: ---- End hostname -s STDERR ----
DEBUG: Ran (hostname -s) returned 0
DEBUG: ---- Begin hostname --fqdn STDOUT ----
DEBUG: domU-12-31-39-07-49-D2.compute-1.internal
DEBUG: ---- End hostname --fqdn STDOUT ----
DEBUG: ---- Begin hostname --fqdn STDERR ----
DEBUG:
DEBUG: ---- End hostname --fqdn STDERR ----
DEBUG: Ran (hostname --fqdn) returned 0
DEBUG: Loading plugin linux::network
DEBUG: ---- Begin route -n | grep ^0.0.0.0 | awk '{print $8}' STDOUT ----
DEBUG: eth0
DEBUG: ---- End route -n | grep ^0.0.0.0 | awk '{print $8}' STDOUT ----
DEBUG: ---- Begin route -n | grep ^0.0.0.0 | awk '{print $8}' STDERR ----
DEBUG:
DEBUG: ---- End route -n | grep ^0.0.0.0 | awk '{print $8}' STDERR ----
DEBUG: Ran (route -n | grep ^0.0.0.0 | awk '{print $8}') returned 0
DEBUG: Loading plugin python
DEBUG: ---- Begin python -c "import sys; print sys.version" STDOUT ----
DEBUG: 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
[GCC 4.3.3]
DEBUG: ---- End python -c "import sys; print sys.version" STDOUT ----
DEBUG: ---- Begin python -c "import sys; print sys.version" STDERR ----
DEBUG:
DEBUG: ---- End python -c "import sys; print sys.version" STDERR ----
DEBUG: Ran (python -c "import sys; print sys.version") returned 0
DEBUG: Loading plugin java
DEBUG: Failed to run: java -version, assuming command not found
DEBUG: ---- Begin java -version STDOUT ----
DEBUG:
DEBUG: ---- End java -version STDOUT ----
DEBUG: ---- Begin java -version STDERR ----
DEBUG: Failed to run: java -version, assuming command not found
DEBUG: ---- End java -version STDERR ----
DEBUG: Ran (java -version) returned 42
DEBUG: Loading plugin ohai_time
DEBUG: Loading plugin command
DEBUG: Loading plugin perl
DEBUG: Loading plugin dmi
DEBUG: ---- Begin dmidecode --version STDOUT ----
DEBUG: 2.9
DEBUG: ---- End dmidecode --version STDOUT ----
DEBUG: ---- Begin dmidecode --version STDERR ----
DEBUG:
DEBUG: ---- End dmidecode --version STDERR ----
DEBUG: Ran (dmidecode --version) returned 0
DEBUG: ---- Begin dmidecode -s bios-vendor STDOUT ----
DEBUG:
DEBUG: ---- End dmidecode -s bios-vendor STDOUT ----
DEBUG: ---- Begin dmidecode -s bios-vendor STDERR ----
DEBUG: /dev/mem: mmap: Bad address
DEBUG: ---- End dmidecode -s bios-vendor STDERR ----
DEBUG: Plugin dmi threw exception #<Ohai::Exceptions::Exec: returned 1, expected 0>
DEBUG: Loading plugin erlang
DEBUG: Failed to run: erl +V, assuming command not found
DEBUG: ---- Begin erl +V STDOUT ----
DEBUG:
DEBUG: ---- End erl +V STDOUT ----
DEBUG: ---- Begin erl +V STDERR ----
DEBUG: Failed to run: erl +V, assuming command not found
DEBUG: ---- End erl +V STDERR ----
DEBUG: Ran (erl +V) returned 42
DEBUG: Loading plugin uptime
DEBUG: Loading plugin virtualization
DEBUG: Loading plugin linux::virtualization
DEBUG: Loading plugin platform
DEBUG: Loading plugin linux::platform
DEBUG: Loading plugin linux::lsb
DEBUG: Loading plugin ec2
DEBUG: Loading plugin linux::ssh_host_key
DEBUG: Loading plugin linux::cpu
DEBUG: Loading plugin linux::kernel
DEBUG: ---- Begin uname -o STDOUT ----
DEBUG: GNU/Linux
DEBUG: ---- End uname -o STDOUT ----
DEBUG: ---- Begin uname -o STDERR ----
DEBUG:
DEBUG: ---- End uname -o STDERR ----
DEBUG: Ran (uname -o) returned 0
DEBUG: Loading plugin linux::memory
DEBUG: Loading plugin linux::block_device
DEBUG: Loading plugin linux::ps
DEBUG: Loading plugin linux::uptime
DEBUG: Loading plugin linux::filesystem
DEBUG: Registering domU-12-31-39-07-49-D2_compute-1_internal for an openid
DEBUG: Sending HTTP Request via GET to //domu-12-31-39-03-7e-15.compute-1.internal:4000/registrations/domU-12-31-39-07-49-D2_compute-1_internal
/opt/ruby-enterprise/lib/ruby/1.8/net/http.rb:1060:in `request': undefined method `closed?' for nil:NilClass (NoMethodError)
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/rest.rb:178:in `run_request'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/rest.rb:85:in `get_rest'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:200:in `register'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:78:in `run'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:186:in `run_application'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:in `loop'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:in `run_application'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application.rb:57:in `run'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/bin/chef-client:26
from /opt/ruby-enterprise/bin/chef-client:19:in `load'
from /opt/ruby-enterprise/bin/chef-client:19
#
# Chef Client Config File
#
# Dynamically generated by Chef - local modifications will be replaced
#
log_level :info
log_location STDOUT
ssl_verify_mode :verify_none
registration_url "http://http://domu-12-31-39-03-7e-15.compute-1.internal:4000"
openid_url "http://http://domu-12-31-39-03-7e-15.compute-1.internal:4001"
template_url "http://http://domu-12-31-39-03-7e-15.compute-1.internal:4000"
remotefile_url "http://http://domu-12-31-39-03-7e-15.compute-1.internal:4000"
search_url "http://http://domu-12-31-39-03-7e-15.compute-1.internal:4000"
role_url "http://http://domu-12-31-39-03-7e-15.compute-1.internal:4000"
file_cache_path "//srv/chef/cache"
pid_file "/var/run/chef/chef-client.pid"
Chef::Log::Formatter.show_time = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment