This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generated at 2015-03-19 05:13:36 +0000 | |
Chef::Exceptions::Package: package[postgresql94] (postgresql::client line 33) had an error: Chef::Exceptions::Package: No version specified, and no candidate version available for postgresql94 | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.18.6/lib/chef/mixin/why_run.rb:241:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.18.6/lib/chef/mixin/why_run.rb:322:in `block in run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.18.6/lib/chef/mixin/why_run.rb:321:in `each' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.18.6/lib/chef/mixin/why_run.rb:321:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.18.6/lib/chef/provider.rb:135:in `process_resource_requirements' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.18.6/lib/chef/provider.rb:111:in `run_action' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.18.6/lib/chef/resource.rb:648:in `run_action' | |
/var/chef/cache/cookbooks/postgresql/recipes/ruby.rb:53:in `block in from_file' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I, [2014-04-01T11:29:35.031905 #59558] INFO -- Kitchen: -----> Starting Kitchen (v1.2.1) | |
I, [2014-04-01T11:29:37.525964 #59558] INFO -- Kitchen: -----> Creating <default-ubuntu-1204-rs>... | |
E, [2014-04-01T11:32:19.884870 #59558] ERROR -- Kitchen: ------Exception------- | |
E, [2014-04-01T11:32:19.884970 #59558] ERROR -- Kitchen: Class: Kitchen::ActionFailed | |
E, [2014-04-01T11:32:19.885023 #59558] ERROR -- Kitchen: Message: Failed to complete #create action: [connection closed by remote host] | |
E, [2014-04-01T11:32:19.885076 #59558] ERROR -- Kitchen: ---Nested Exception--- | |
E, [2014-04-01T11:32:19.885133 #59558] ERROR -- Kitchen: Class: Net::SSH::Disconnect | |
E, [2014-04-01T11:32:19.885189 #59558] ERROR -- Kitchen: Message: connection closed by remote host | |
E, [2014-04-01T11:32:19.885229 #59558] ERROR -- Kitchen: ------Backtrace------- | |
E, [2014-04-01T11:32:19.885260 #59558] ERROR -- Kitchen: /Users/cooper/.rvm/gems/ruby-1.9.3-p194/gems/net-ssh-2.8.0/lib/net/ssh/transport/packet_stream.rb:87:in `next_packet' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
driver: | |
name: vagrant | |
provisioner: | |
name: chef_solo | |
environments_path: ../../environments | |
roles_path: ../../roles | |
platforms: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the recipe I have: | |
template "/etc/zookeeper/zoo.cfg" do | |
source "zoo.cfg.erb" | |
mode 0644 | |
variables(:servers => zk_servers) | |
Chef::Log.debug "6 zk_servers == #{zk_servers}" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ll /tmp/hadoop.files.30-*; wc -l /tmp/hadoop.files.30-* | |
-rw-r--r-- 1 root root 4061808 Sep 14 12:50 /tmp/hadoop.files.30-1 | |
-rw-r--r-- 1 root root 4064976 Sep 14 13:13 /tmp/hadoop.files.30-2 | |
28207 /tmp/hadoop.files.30-1 | |
28229 /tmp/hadoop.files.30-2 | |
56436 total |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find 1: | |
find /data1/hadoop/namenode/current/ -name edits_\* -mtime +40 -ls > /tmp/hadoop.files.40-1 | |
a few mins later Find 2: | |
find /data1/hadoop/namenode/current/ -name edits_\* -mtime +40 -ls > /tmp/hadoop.files.40-2 | |
a few mins later Find 3: | |
find /data1/hadoop/namenode/current/ -name edits_\* -mtime +40 -ls > /tmp/hadoop.files.40-3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):008:0> string = "1.2.3.4.5.654321" | |
=> "1.2.3.4.5.654321" | |
irb(main):009:0> substring = string.gsub /\.[^\.]*$/, '' | |
=> "1.2.3.4.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):026:0> string = "1.2.3.4.532432423" | |
=> "1.2.3.4.532432423" | |
irb(main):027:0> substring = string.gsub /.*\.$*/, '' | |
=> "532432423" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG: Using configuration from /Users/user/.chef/knife.rb | |
Instance ID: 20931101 | |
Host ID: 9eee7b8041dfbf53b5989bsfw9933bba5b1 | |
Name: cs-host-1 | |
Flavor: 2GB server | |
Image: CentOS 5.8 | |
Metadata: {} | |
Waiting server.......................................................................................................................................................................................................................................................................................................... | |
Public DNS Name: 198-101-198-85.static.cloud-ips.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cooper@cs-ubuntu-12-04-2:~/github/homebase/knife/credentials$ knife cluster launch sandbox-simple --bootstrap | |
Inventorying servers in sandbox cluster, simple facet, all servers | |
+------------------+------------+-------------+--------+-------+----+-----------+------------+------------+---------+------------+-------------+ | |
| Name | InstanceID | State | Flavor | Image | AZ | Public IP | Private IP | Created At | Volumes | Elastic IP | launchable? | | |
+------------------+------------+-------------+--------+-------+----+-----------+------------+------------+---------+------------+-------------+ | |
| sandbox-simple-0 | | not running | | | | | | | | | true | | |
+------------------+------------+-------------+--------+-------+----+-----------+------------+------------+---------+------------+-------------+ | |
Sync'ing to chef and cloud | |
sandbox slice: ensuring keypairs exist | |
sandbox slice: ensuring security groups |
NewerOlder