Created
June 14, 2012 21:03
-
-
Save pcn/2932938 to your computer and use it in GitHub Desktop.
unhelpful stacktrace output
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
pn@ip-10-28-30-172:/var/tmp$ sudo /usr/bin/chef-solo -l debug -c solo.rb -j node-jettyperf.json -L /var/log/chef/solo.log -r /tmp/Systems-0.0.9.tar.gz | |
[Thu, 14 Jun 2012 21:01:35 +0000] DEBUG: Creating path /var/tmp to extract recipes into | |
[Thu, 14 Jun 2012 21:01:35 +0000] DEBUG: Executing tar zxvfC /var/tmp/recipes.tgz /var/tmp | |
[Thu, 14 Jun 2012 21:01:35 +0000] DEBUG: ---- Begin output of tar zxvfC /var/tmp/recipes.tgz /var/tmp ---- | |
[Thu, 14 Jun 2012 21:01:35 +0000] DEBUG: STDOUT: cookbooks/ | |
cookbooks/apt/ | |
cookbooks/bib/ | |
cookbooks/big_log_dir/ | |
cookbooks/cassandra/ | |
cookbooks/diamond/ | |
cookbooks/java/ | |
cookbooks/knewton-tuning/ | |
cookbooks/logstash/ | |
cookbooks/platform_config/ | |
cookbooks/runit/ | |
cookbooks/synchronous_keytab/ | |
cookbooks/synchronous_keytab/attributes/ | |
cookbooks/synchronous_keytab/definitions/ | |
cookbooks/synchronous_keytab/files/ | |
cookbooks/synchronous_keytab/libraries/ | |
cookbooks/synchronous_keytab/metadata.rb | |
cookbooks/synchronous_keytab/providers/ | |
cookbooks/synchronous_keytab/README.md | |
cookbooks/synchronous_keytab/recipes/ | |
cookbooks/synchronous_keytab/resources/ | |
cookbooks/synchronous_keytab/templates/ | |
cookbooks/synchronous_keytab/templates/default/ | |
cookbooks/synchronous_keytab/recipes/default.rb | |
cookbooks/synchronous_keytab/files/default/ | |
cookbooks/synchronous_keytab/files/default/krb_client_key.pem | |
cookbooks/runit/attributes/ | |
cookbooks/runit/CHANGELOG.md | |
cookbooks/runit/CONTRIBUTING | |
cookbooks/runit/definitions/ | |
cookbooks/runit/files/ | |
cookbooks/runit/LICENSE | |
cookbooks/runit/metadata.rb | |
cookbooks/runit/README.md | |
cookbooks/runit/recipes/ | |
cookbooks/runit/templates/ | |
cookbooks/runit/templates/gentoo/ | |
cookbooks/runit/templates/gentoo/runit-start.sh.erb | |
cookbooks/runit/recipes/default.rb | |
cookbooks/runit/files/default/ | |
cookbooks/runit/files/ubuntu-6.10/ | |
cookbooks/runit/files/ubuntu-7.04/ | |
cookbooks/runit/files/ubuntu-7.10/ | |
cookbooks/runit/files/ubuntu-8.04/ | |
cookbooks/runit/files/ubuntu-8.04/runsvdir | |
cookbooks/runit/files/ubuntu-7.10/runsvdir | |
cookbooks/runit/files/ubuntu-7.04/runsvdir | |
cookbooks/runit/files/ubuntu-6.10/runsvdir | |
cookbooks/runit/files/default/runit.seed | |
cookbooks/runit/files/default/runsvdir | |
cookbooks/runit/definitions/runit_service.rb | |
cookbooks/runit/attributes/default.rb | |
cookbooks/platform_config/attributes/ | |
cookbooks/platform_config/definitions/ | |
cookbooks/platform_config/files/ | |
cookbooks/platform_config/libraries/ | |
cookbooks/platform_config/metadata.rb | |
cookbooks/platform_config/providers/ | |
cookbooks/platform_config/README.md | |
cookbooks/platform_config/recipes/ | |
cookbooks/platform_config/resources/ | |
cookbooks/platform_config/templates/ | |
cookbooks/platform_config/templates/default/ | |
cookbooks/platform_config/resources/default.rb | |
cookbooks/platform_config/recipes/default.rb | |
cookbooks/platform_config/recipes/disable_chef.rb | |
cookbooks/platform_config/recipes/disable_ganglia.rb | |
cookbooks/platform_config/files/default/ | |
cookbooks/platform_config/attributes/default.rb | |
cookbooks/logstash/attributes/ | |
cookbooks/logstash/files/ | |
cookbooks/logstash/LICENSE | |
cookbooks/logstash/metadata.rb | |
cookbooks/logstash/README.md | |
cookbooks/logstash/recipes/ | |
cookbooks/logstash/templates/ | |
cookbooks/logstash/templates/default/ | |
cookbooks/logstash/templates/default/agent.conf.erb | |
cookbooks/logstash/templates/default/knewton-logstash-agent-server.conf.erb | |
cookbooks/logstash/templates/default/knewton-logstash-agent.conf.erb | |
cookbooks/logstash/templates/default/logstash-agent.init.erb | |
cookbooks/logstash/templates/default/logstash-web.init.erb | |
cookbooks/logstash/templates/default/sv-logstash-agent-log-run.erb | |
cookbooks/logstash/templates/default/sv-logstash-agent-run.erb | |
cookbooks/logstash/templates/default/sv-logstash-web-log-run.erb | |
cookbooks/logstash/templates/default/sv-logstash-web-run.erb | |
cookbooks/logstash/recipes/default.rb | |
cookbooks/logstash/recipes/grok.rb | |
cookbooks/logstash/recipes/knewton_non_platform.rb | |
cookbooks/logstash/recipes/server.rb | |
cookbooks/logstash/recipes/zeromq.rb | |
cookbooks/logstash/files/default/ | |
cookbooks/logstash/files/default/opt_knewton_logstash_grok.tar.gz | |
cookbooks/logstash/attributes/default.rb | |
cookbooks/knewton-tuning/attributes/ | |
cookbooks/knewton-tuning/definitions/ | |
cookbooks/knewton-tuning/files/ | |
cookbooks/knewton-tuning/libraries/ | |
cookbooks/knewton-tuning/metadata.rb | |
cookbooks/knewton-tuning/providers/ | |
cookbooks/knewton-tuning/README.md | |
cookbooks/knewton-tuning/recipes/ | |
cookbooks/knewton-tuning/resources/ | |
cookbooks/knewton-tuning/templates/ | |
cookbooks/knewton-tuning/templates/default/ | |
cookbooks/knewton-tuning/templates/ubuntu/ | |
cookbooks/knewton-tuning/templates/ubuntu/modules.erb | |
cookbooks/knewton-tuning/templates/default/jetty_limits.erb | |
cookbooks/knewton-tuning/templates/default/jetty_sysctl.erb | |
cookbooks/knewton-tuning/recipes/default.rb | |
cookbooks/knewton-tuning/recipes/jetty.rb | |
cookbooks/knewton-tuning/files/default/ | |
cookbooks/java/attributes/ | |
cookbooks/java/CHANGELOG.md | |
cookbooks/java/CONTRIBUTING | |
cookbooks/java/LICENSE | |
cookbooks/java/metadata.rb | |
cookbooks/java/providers/ | |
cookbooks/java/README.md | |
cookbooks/java/recipes/ | |
cookbooks/java/resources/ | |
cookbooks/java/resources/ark.rb | |
cookbooks/java/recipes/default.rb | |
cookbooks/java/recipes/openjdk.rb | |
cookbooks/java/recipes/oracle.rb | |
cookbooks/java/recipes/oracle_i386.rb | |
cookbooks/java/providers/ark.rb | |
cookbooks/java/attributes/default.rb | |
cookbooks/diamond/attributes/ | |
cookbooks/diamond/definitions/ | |
cookbooks/diamond/files/ | |
cookbooks/diamond/libraries/ | |
cookbooks/diamond/metadata.rb | |
cookbooks/diamond/providers/ | |
cookbooks/diamond/README.md | |
cookbooks/diamond/recipes/ | |
cookbooks/diamond/resources/ | |
cookbooks/diamond/templates/ | |
cookbooks/diamond/templates/default/ | |
cookbooks/diamond/templates/default/diamond.conf.erb | |
cookbooks/diamond/templates/default/sv-diamond-log-run.erb | |
cookbooks/diamond/templates/default/sv-diamond-run.erb | |
cookbooks/diamond/recipes/default.rb | |
cookbooks/diamond/files/default/ | |
cookbooks/diamond/attributes/default.rb | |
cookbooks/cassandra/attributes/ | |
cookbooks/cassandra/files/ | |
cookbooks/cassandra/metadata.rb | |
cookbooks/cassandra/README.md | |
cookbooks/cassandra/recipes/ | |
cookbooks/cassandra/templates/ | |
cookbooks/cassandra/templates/default/ | |
cookbooks/cassandra/templates/default/access.properties.erb | |
cookbooks/cassandra/templates/default/cassandra.yaml.erb | |
cookbooks/cassandra/templates/default/cassandra_db_seeds.rb.erb | |
cookbooks/cassandra/templates/default/cassandra_tools.sh.erb | |
cookbooks/cassandra/templates/default/iptables.erb | |
cookbooks/cassandra/templates/default/log4j-server.properties.erb | |
cookbooks/cassandra/templates/default/passwd.properties.erb | |
cookbooks/cassandra/templates/default/rack.properties.erb | |
cookbooks/cassandra/templates/default/sv-cassandra-log-run.erb | |
cookbooks/cassandra/templates/default/sv-cassandra-run.erb | |
cookbooks/cassandra/recipes/authentication.rb | |
cookbooks/cassandra/recipes/autoconf.rb | |
cookbooks/cassandra/recipes/bintools.rb | |
cookbooks/cassandra/recipes/client.rb | |
cookbooks/cassandra/recipes/datastax_install_from_package.rb | |
cookbooks/cassandra/recipes/default.rb | |
cookbooks/cassandra/recipes/ec2snitch.rb | |
cookbooks/cassandra/recipes/install_from_git.rb | |
cookbooks/cassandra/recipes/install_from_package.rb | |
cookbooks/cassandra/recipes/install_from_release.rb | |
cookbooks/cassandra/recipes/iptables.rb | |
cookbooks/cassandra/recipes/jna_support.rb | |
cookbooks/cassandra/recipes/mx4j.rb | |
cookbooks/cassandra/recipes/ruby_client.rb | |
cookbooks/cassandra/recipes/server.rb | |
cookbooks/cassandra/recipes/zk_autoconf.rb | |
cookbooks/cassandra/recipes/zk_install_from_pacakge.rb | |
cookbooks/cassandra/recipes/zk_server.rb | |
cookbooks/cassandra/files/default/ | |
cookbooks/cassandra/files/default/zk_first_or_wait.py | |
cookbooks/cassandra/files/default/zk_mark_as_done.py | |
cookbooks/cassandra/attributes/default.rb | |
cookbooks/big_log_dir/attributes/ | |
cookbooks/big_log_dir/definitions/ | |
cookbooks/big_log_dir/files/ | |
cookbooks/big_log_dir/libraries/ | |
cookbooks/big_log_dir/metadata.rb | |
cookbooks/big_log_dir/providers/ | |
cookbooks/big_log_dir/README.md | |
cookbooks/big_log_dir/recipes/ | |
cookbooks/big_log_dir/resources/ | |
cookbooks/big_log_dir/templates/ | |
cookbooks/big_log_dir/templates/default/ | |
cookbooks/big_log_dir/recipes/default.rb | |
cookbooks/big_log_dir/files/default/ | |
cookbooks/bib/libraries/ | |
cookbooks/bib/metadata.rb | |
cookbooks/bib/README.md | |
cookbooks/bib/recipes/ | |
cookbooks/bib/recipes/default.rb | |
cookbooks/bib/libraries/bibdiscovery.rb | |
cookbooks/bib/libraries/mem_calc.rb | |
cookbooks/apt/.git/ | |
cookbooks/apt/files/ | |
cookbooks/apt/metadata.rb | |
cookbooks/apt/providers/ | |
cookbooks/apt/README.md | |
cookbooks/apt/recipes/ | |
cookbooks/apt/resources/ | |
cookbooks/apt/resources/repository.rb | |
cookbooks/apt/recipes/cacher-client.rb | |
cookbooks/apt/recipes/cacher.rb | |
cookbooks/apt/recipes/default.rb | |
cookbooks/apt/providers/repository.rb | |
cookbooks/apt/files/default/ | |
cookbooks/apt/files/default/apt-cacher | |
cookbooks/apt/files/default/apt-cacher.conf | |
cookbooks/apt/files/default/apt-proxy-v2.conf | |
cookbooks/apt/.git/branches/ | |
cookbooks/apt/.git/config | |
cookbooks/apt/.git/description | |
cookbooks/apt/.git/FETCH_HEAD | |
cookbooks/apt/.git/HEAD | |
cookbooks/apt/.git/hooks/ | |
cookbooks/apt/.git/index | |
cookbooks/apt/.git/info/ | |
cookbooks/apt/.git/logs/ | |
cookbooks/apt/.git/objects/ | |
cookbooks/apt/.git/ORIG_HEAD | |
cookbooks/apt/.git/packed-refs | |
cookbooks/apt/.git/refs/ | |
cookbooks/apt/.git/refs/heads/ | |
cookbooks/apt/.git/refs/remotes/ | |
cookbooks/apt/.git/refs/tags/ | |
cookbooks/apt/.git/refs/remotes/origin/ | |
cookbooks/apt/.git/refs/remotes/origin/HEAD | |
cookbooks/apt/.git/refs/heads/master | |
cookbooks/apt/.git/objects/info/ | |
cookbooks/apt/.git/objects/pack/ | |
cookbooks/apt/.git/objects/pack/pack-e7b4e97c6c02664563f17d0513f0f872440690f5.idx | |
cookbooks/apt/.git/objects/pack/pack-e7b4e97c6c02664563f17d0513f0f872440690f5.pack | |
cookbooks/apt/.git/logs/HEAD | |
cookbooks/apt/.git/logs/refs/ | |
cookbooks/apt/.git/logs/refs/heads/ | |
cookbooks/apt/.git/logs/refs/heads/master | |
cookbooks/apt/.git/info/exclude | |
cookbooks/apt/.git/hooks/applypatch-msg.sample | |
cookbooks/apt/.git/hooks/commit-msg.sample | |
cookbooks/apt/.git/hooks/post-commit.sample | |
cookbooks/apt/.git/hooks/post-receive.sample | |
cookbooks/apt/.git/hooks/post-update.sample | |
cookbooks/apt/.git/hooks/pre-applypatch.sample | |
cookbooks/apt/.git/hooks/pre-commit.sample | |
cookbooks/apt/.git/hooks/pre-rebase.sample | |
cookbooks/apt/.git/hooks/prepare-commit-msg.sample | |
cookbooks/apt/.git/hooks/update.sample | |
systems_bundle.sh | |
solo.rb | |
node-base.json | |
node-cassandra.json | |
node-diamond.json | |
node-java.json | |
node-jettyperf.json | |
node-logstash-server.json | |
[Thu, 14 Jun 2012 21:01:35 +0000] DEBUG: STDERR: | |
[Thu, 14 Jun 2012 21:01:35 +0000] DEBUG: ---- End output of tar zxvfC /var/tmp/recipes.tgz /var/tmp ---- | |
[Thu, 14 Jun 2012 21:01:35 +0000] DEBUG: Ran tar zxvfC /var/tmp/recipes.tgz /var/tmp returned 0 | |
[Thu, 14 Jun 2012 21:01:35 +0000] INFO: *** Chef 0.10.8 *** | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Building node object for ip-10-28-30-172.ec2.internal | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Extracting run list from JSON attributes provided on command line | |
[Thu, 14 Jun 2012 21:01:37 +0000] INFO: Setting the run_list to ["recipe[knewton-tuning::jetty]"] from JSON | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Applying attributes from json file | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Platform is ubuntu version 11.04 | |
[Thu, 14 Jun 2012 21:01:37 +0000] INFO: Run List is [recipe[knewton-tuning::jetty]] | |
[Thu, 14 Jun 2012 21:01:37 +0000] INFO: Run List expands to [knewton-tuning::jetty] | |
[Thu, 14 Jun 2012 21:01:37 +0000] INFO: Starting Chef Run for ip-10-28-30-172.ec2.internal | |
[Thu, 14 Jun 2012 21:01:37 +0000] INFO: Running start handlers | |
[Thu, 14 Jun 2012 21:01:37 +0000] INFO: Start handlers complete. | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: No chefignore file found at /var/tmp/cookbooks/chefignore no files will be ignored | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading cookbook bib's library file: /var/tmp/cookbooks/bib/libraries/mem_calc.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading cookbook bib's library file: /var/tmp/cookbooks/bib/libraries/bibdiscovery.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading cookbook apt's providers from /var/tmp/cookbooks/apt/providers/repository.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loaded contents of /var/tmp/cookbooks/apt/providers/repository.rb into a provider named apt_repository defined in Chef::Provider::AptRepository | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading cookbook java's providers from /var/tmp/cookbooks/java/providers/ark.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loaded contents of /var/tmp/cookbooks/java/providers/ark.rb into a provider named java_ark defined in Chef::Provider::JavaArk | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading cookbook apt's resources from /var/tmp/cookbooks/apt/resources/repository.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loaded contents of /var/tmp/cookbooks/apt/resources/repository.rb into a resource named apt_repository defined in Chef::Resource::AptR[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading cookbook platform_config's resources from /var/tmp/cookbooks/platform_config/resources/default.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loaded contents of /var/tmp/cookbooks/platform_config/resources/default.rb into a resource named platform_config defined in Chef::Resource::PlatformConfig | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Node ip-10-28-30-172.ec2.internal loading cookbook cassandra's attribute file /var/tmp/cookbooks/cassandra/attributes/default.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Node ip-10-28-30-172.ec2.internal loading cookbook diamond's attribute file /var/tmp/cookbooks/diamond/attributes/default.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Node ip-10-28-30-172.ec2.internal loading cookbook java's attribute file /var/tmp/cookbooks/java/attributes/default.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Node ip-10-28-30-172.ec2.internal loading cookbook logstash's attribute file /var/tmp/cookbooks/logstash/attributes/default.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Node ip-10-28-30-172.ec2.internal loading cookbook platform_config's attribute file /var/tmp/cookbooks/platform_config/attributes/default.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Node ip-10-28-30-172.ec2.internal loading cookbook runit's attribute file /var/tmp/cookbooks/runit/attributes/default.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading cookbook runit's definitions from /var/tmp/cookbooks/runit/definitions/runit_service.rb | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading Recipe knewton-tuning::jetty via include_recipe | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Found recipe jetty in cookbook knewton-tuning | |
["tcp_htcp", "tcp_cubic"] | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Loading from cookbook_path: /var/tmp/cookbooks | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Converging node ip-10-28-30-172.ec2.internal | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Processing template[/etc/modules] on ip-10-28-30-172.ec2.internal | |
[Thu, 14 Jun 2012 21:01:37 +0000] INFO: Processing template[/etc/modules] action create (knewton-tuning::jetty line 33) | |
[Thu, 14 Jun 2012 21:01:37 +0000] ERROR: template[/etc/modules] (knewton-tuning::jetty line 33) has had an error | |
[Thu, 14 Jun 2012 21:01:37 +0000] ERROR: Running exception handlers | |
[Thu, 14 Jun 2012 21:01:37 +0000] ERROR: Exception handlers complete | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: Re-raising exception: NoMethodError - undefined method `-' for nil:NilClass | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/mixin/template.rb:74:in `source_listing' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/mixin/template.rb:90:in `to_s' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:83:in `rescue in block in converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:77:in `block in converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection.rb:94:in `block in execute_each_resource' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:76:in `converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:312:in `converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:160:in `run' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:192:in `block in run_application' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `loop' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `run_application' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application.rb:67:in `run' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/bin/chef-solo:25:in `<top (required)>' | |
/usr/bin/chef-solo:23:in `load' | |
/usr/bin/chef-solo:23:in `<main>' | |
[Thu, 14 Jun 2012 21:01:37 +0000] FATAL: Stacktrace dumped to /var/tmp/chef-stacktrace.out | |
[Thu, 14 Jun 2012 21:01:37 +0000] DEBUG: NoMethodError: undefined method `-' for nil:NilClass | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/mixin/template.rb:74:in `source_listing' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/mixin/template.rb:90:in `to_s' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:83:in `rescue in block in converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:77:in `block in converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection.rb:94:in `block in execute_each_resource' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:76:in `converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:312:in `converge' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:160:in `run' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:192:in `block in run_application' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `loop' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `run_application' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application.rb:67:in `run' | |
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/bin/chef-solo:25:in `<top (required)>' | |
/usr/bin/chef-solo:23:in `load' | |
/usr/bin/chef-solo:23:in `<main>' | |
[Thu, 14 Jun 2012 21:01:37 +0000] FATAL: NoMethodError: undefined method `-' for nil:NilClass |
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
# Tuning cookbook for a jetty server, | |
# per http://wiki.eclipse.org/Jetty/Howto/High_Load | |
# Set active sysctl settings, and write the same settings to | |
# /etc/sysctl.d/20-knewton-jetty.conf | |
sysctl_settings = [ | |
"net.core.rmem_max=16777216", | |
"net.core.wmem_max=16777216", | |
"net.ipv4.tcp_rmem=\"4096 87380 16777216\"", | |
"net.ipv4.tcp_wmem=\"4096 16384 16777216\"", | |
"net.core.somaxconn=8196", | |
# Increase the range of ephemeral ports available, but try to keep it | |
# well above the range we use for our own local services (8k-10k or so) | |
"net.ipv4.ip_local_port_range=\"12000 65535\"", | |
"net.ipv4.tcp_tw_recycle=1", | |
"net.ipv4.tcp_congestion_control=htcp" | |
] | |
modprobe_list = %w{ | |
tcp_htcp | |
tcp_cubic | |
} | |
limits_conf_limits = [ | |
['*', 'hard', 'nofile', '60000' ], | |
['*', 'soft', 'nofile', '60000' ] | |
] | |
p modprobe_list | |
# Configure modules, and run the associated modprobe commands | |
template "/etc/modules" do | |
source "modules.erb" | |
variables ({ :modprobe_list => modprobe_list | |
}) | |
owner "root" | |
group "root" | |
mode "0644" | |
end | |
# module_list.each do |m| | |
# execute "modprobe" do | |
# command "modprobe #{m}" | |
# end | |
# end | |
# | |
# # Configure sysctl.d, and run the associated sysctl commands | |
# template "/etc/sysctl.d/20-jetty.conf" do | |
# source "jetty_sysctl.erb" | |
# variables ({:settings => sysctl_settings | |
# }) | |
# owner "root" | |
# group "root" | |
# mode "0644" | |
# end | |
# | |
# sysctl_settings .each do |ss| | |
# execute "sysctl" do | |
# command "sysctl -w #{ss}" | |
# end | |
# end | |
# | |
# | |
# # Set up the mod_limits pam module configs, | |
# # so there's an increased default limit | |
# template "/etc/security/limits.d/jetty.conf" do | |
# source "jetty_limits.erb" | |
# variables ({ :limits => limits_conf_limits | |
# }) | |
# owner "root" | |
# group "root" | |
# mode "0644" | |
# 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
# /etc/modules: kernel modules to load at boot time. | |
# | |
# This file contains the names of kernel modules that should be loaded | |
# at boot time, one per line. Lines beginning with "#" are ignored. | |
# This file managed by chef. Changes may be lost without notice | |
# LP: #450463 | |
acpiphp | |
<%= p @modprobe_list %> | |
<% @modprobe_list.each |m| do %> | |
<%= m %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment