Skip to content

Instantly share code, notes, and snippets.

root@chef:~# chef-solo -c ~/solo.rb -j ~/chef.json
[Tue, 13 Apr 2010 14:54:39 +0200] INFO: Starting Chef Solo Run
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Creating directory[/etc/sv/chef-client] at /etc/sv/chef-client
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Setting mode to 755 for directory[/etc/sv/chef-client]
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Creating directory[/etc/sv/chef-client/log] at /etc/sv/chef-client/log
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Setting mode to 755 for directory[/etc/sv/chef-client/log]
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Creating directory[/etc/sv/chef-client/log/main] at /etc/sv/chef-client/log/main
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Setting mode to 755 for directory[/etc/sv/chef-client/log/main]
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Creating template[/etc/sv/chef-client/run] at /etc/sv/chef-client/run
[Tue, 13 Apr 2010 14:54:42 +0200] INFO: Setting mode to 755 for template[/etc/sv/chef-client/run]
DEBUG: Sending HTTP Request via GET to host.domain:4000/search/groups?q=*:*&sort=&start=0&rows=20
DEBUG: HTTP Request Returned 404 Not Found: I don't know how to search for groups data objects.
2010-04-15_10:58:31.52577 INFO: Starting Chef Run
2010-04-15_11:28:52.08166 ERROR: Net::HTTPServerException
2010-04-15_11:28:52.08170 FATAL: 404 "Not Found"
2010-04-15_11:28:52.08171 /usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
2010-04-15_11:28:52.08171 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/rest.rb:296:in `run_request'
2010-04-15_11:28:52.08171 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/rest.rb:106:in `get_rest'
2010-04-15_11:28:52.08171 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/search/query.rb:37:in `search'
2010-04-15_11:28:52.08172 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/mixin/language.rb:89:in `search'
$ rake install
(in /Users/ringods/Projects/B-Virtual/EclipseWorkspace/bv-chef-setup)
** Updating your repository
* No SCM configured, skipping update
/opt/local/lib/ruby/gems/1.8/gems/chef-0.8.10/lib/chef/knife.rb:121:in `configure_chef': No user specified, pass via -u or specifiy 'node_name' in /Users/ringods/.chef/knife.rb (ArgumentError)
from /opt/local/lib/ruby/gems/1.8/gems/chef-0.8.10/lib/chef/knife.rb:95:in `find_command'
from /opt/local/lib/ruby/gems/1.8/gems/chef-0.8.10/lib/chef/application/knife.rb:109:in `run'
from /opt/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/knife:26
from /opt/local/bin/knife:19:in `load'
from /opt/local/bin/knife:19
{
"network" : "value"
}
2010-06-21_14:33:57.24743 DEBUG: String to sign: 'Method:POST
2010-06-21_14:33:57.24743 Hashed Path:QHL2lW8OR+xoMFLchjio1Mxgw+0=
2010-06-21_14:33:57.24744 X-Ops-Content-Hash:eONiEzyLetUYWep5uBSN6w+Zx5w=
2010-06-21_14:33:57.24744 X-Ops-Timestamp:2010-06-21T14:25:28Z
2010-06-21_14:33:57.24745 X-Ops-UserId:chef-validator'
2010-06-21_14:33:57.24745 Header hash: {"X-Ops-Content-Hash"=>"eONiEzyLetUYWep5uBSN6w+Zx5w=", "X-Ops-Authorization-1"=>"DROwPA2WpS1Xbh7Jd9VxTsHkjSnWDUVL2quUzk7uYiGlc3ovoqWXrM2MIe2R"
, "X-Ops-Userid"=>"chef-validator", "X-Ops-Sign"=>"version=1.0", "X-Ops-Authorization-2"=>"VUUKZaq2EzhQXLwvfqgPexKfRD3JGOXKx3oaOtPCQAVwLxNUoPYCHp6ooFtU", "X-Ops-Authorization-3"=>"C
i94aDEEI4QyK51h9ekOibOmoaXGApd3REzyA77HeNurt4IXRQqTIXLZiXs5", "X-Ops-Authorization-4"=>"KYqkGzDY3PoELeam1D68w4WiJnpmw2UbM6WZWkqnsXa0FL5HG0jWG309OC+9", "X-Ops-Authorization-5"=>"nNCC
CF7MSM8M2jVVPoGZWcanyNMqEZ4a7yvgO97bvFnJKO7zgabdS7iZUkFz", "X-Ops-Authorization-6"=>"JWLQz/pulHCEKwY9og9CIhnIbkhxjtCYhLBH7dzPXg==", "X-Ops-Timestamp"=>"2010-
sudo chef-solo -c solo.rb -j chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz
[Thu, 24 Jun 2010 15:15:45 +0000] DEBUG: Creating path /tmp/chef-solo to extract recipes into
[Thu, 24 Jun 2010 15:15:49 +0000] DEBUG: Executing tar zxvfC /tmp/chef-solo/recipes.tgz /tmp/chef-solo
[Thu, 24 Jun 2010 15:15:49 +0000] DEBUG: ---- Begin output of tar zxvfC /tmp/chef-solo/recipes.tgz /tmp/chef-solo ----
[Thu, 24 Jun 2010 15:15:49 +0000] DEBUG: STDOUT: cookbooks/apache2/
cookbooks/apache2/attributes/
cookbooks/apache2/definitions/
cookbooks/apache2/files/
cookbooks/apache2/metadata.json
cookbooks/apache2/metadata.rb
+ Error stacktraces are turned on.
Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
Java version: 1.6.0_20
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac"
[DEBUG] Building Maven user-level plugin registry from: '/Users/ringods/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: '/usr/share/maven/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Wagons could not be registered as the extension container was never created
2010-07-16_09:31:06.19567 merb : worker (port 4040) ~ Starting Thin at port 4040
2010-07-16_09:31:06.19571 merb : worker (port 4040) ~ Using Thin adapter on host 0.0.0.0 and port 4040.
2010-07-16_09:31:06.22679 merb : worker (port 4040) ~ Successfully bound to port 4040
2010-07-16_09:31:06.22962 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_tcp_server': no acceptor (RuntimeError)
2010-07-16_09:31:06.22964 from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_server'
2010-07-16_09:31:06.22965 from /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/tcp_server.rb:16:in `connect'
2010-07-16_09:31:06.22966 from /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/base.rb:49
2010-07-16_09:31:06.22966 from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
2010-07-16_09:31:06.22967 from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
require 'chef/resource/script'
require 'chef/provider/script'
require 'chef/platform'
class Chef
class Resource
class PylabsQshell < Chef::Resource::Script
def initialize(name, run_context=nil)
super
[Tue, 28 Sep 2010 14:49:46 +0200] INFO: Installing package[build-essential] version 11.4build1
[Tue, 28 Sep 2010 14:49:58 +0200] ERROR: package[build-essential] (/var/cache/chef/cookbooks/build-essential/recipes/default.rb:23:in `from_file') had an error:
apt-get -q -y install build-essential=11.4build1 returned 100, expected 0
/usr/lib/ruby/1.8/chef/mixin/command.rb:184:in `handle_command_failures'
/usr/lib/ruby/1.8/chef/mixin/command.rb:131:in `run_command'
/usr/lib/ruby/1.8/chef/mixin/command.rb:199:in `run_command_with_systems_locale'
/usr/lib/ruby/1.8/chef/provider/package/apt.rb:68:in `install_package'
/usr/lib/ruby/1.8/chef/provider/package.rb:60:in `action_install'
/usr/lib/ruby/1.8/chef/runner.rb:51:in `send'
/usr/lib/ruby/1.8/chef/runner.rb:51:in `run_action'