Webtrends/datastaxchef — comment on commit c62b2a77eda919a343faeae18240f43c3ec03e4a
File:  line 0
By araddon:

Here is the error trace i was geting:

10.62.81.40 [Thu, 13 Oct 2011 10:16:47 -0700] INFO: execute[update package index] ran successfully
10.62.81.40 [Thu, 13 Oct 2011 10:16:47 -0700] INFO: Processing file[/etc/apt/sources.list.d/sun-java6-jdk-source.list] action nothing (/var/chef/cache/cookbooks/apt/providers/repository.rb line 49)
10.62.81.40 [Thu, 13 Oct 2011 10:16:47 -0700] INFO: Processing execute[update package index] action nothing (/var/chef/cache/cookbooks/apt/providers/repository.rb line 56)
10.62.81.40 [Thu, 13 Oct 2011 10:16:47 -0700] INFO: Processing execute[echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections] action run (cassandra::required_packages line 22)
10.62.81.40 [Thu, 13 Oct 2011 10:16:47 -0700] INFO: execute[echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections] sh(echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections)
10.62.81.40 [Thu, 13 Oct 2011 10:16:47 -0700] INFO: execute[echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections] ran successfully
10.62.81.40 [Thu, 13 Oct 2011 10:16:47 -0700] INFO: Processing package[sun-java6-jdk] action install (cassandra::required_packages line 23)
10.62.81.40 [Thu, 13 Oct 2011 10:16:48 -0700] ERROR: package[sun-java6-jdk] (cassandra::required_packages line 23) has had an error
10.62.81.40 [Thu, 13 Oct 2011 10:16:48 -0700] ERROR: package[sun-java6-jdk] (/var/chef/cache/cookbooks/cassandra/recipes/required_packages.rb:23:in `from_file') had an error:
10.62.81.40 package[sun-java6-jdk] (cassandra::required_packages line 23) had an error: apt-get -q -y install sun-java6-jdk=6.26-1lucid1 returned 100, expected 0
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/command.rb:185:in `handle_command_failures'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/command.rb:132:in `run_command'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/command.rb:200:in `run_command_with_systems_locale'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/provider/package/apt.rb:92:in `install_package'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/provider/package.rb:60:in `action_install'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource.rb:437:in `send'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource.rb:437:in `run_action'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:45:in `run_action'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:81:in `converge'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:81:in `each'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:81:in `converge'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection.rb:94
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:76:in `converge'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:312:in `converge'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:160:in `run'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:239:in `run_application'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `loop'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `run_application'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application.rb:67:in `run'
10.62.81.40 /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/chef-client:26
10.62.81.40 /usr/bin/chef-client:19:in `load'
10.62.81.40 /usr/bin/chef-client:19
10.62.81.40 [Thu, 13 Oct 2011 10:16:48 -0700] ERROR: Running exception handlers
10.62.81.40 [Thu, 13 Oct 2011 10:16:48 -0700] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
10.62.81.40 [Thu, 13 Oct 2011 10:16:48 -0700] ERROR: Exception handlers complete
10.62.81.40 [Thu, 13 Oct 2011 10:16:48 -0700] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
10.62.81.40 [Thu, 13 Oct 2011 10:16:48 -0700] FATAL: Chef::Exceptions::Exec: package[sun-java6-jdk] (cassandra::required_packages line 23) had an error: apt-get -q -y install sun-java6-jdk=6.26-1lucid1 returned 100, expected 0