Skip to content

Instantly share code, notes, and snippets.

@eightbitraptor
Created April 29, 2015 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eightbitraptor/0099e6cfb6a54333951b to your computer and use it in GitHub Desktop.
Save eightbitraptor/0099e6cfb6a54333951b to your computer and use it in GitHub Desktop.
td-agent-output
================================================================================
Error executing action `install` on resource 'td-agent_gem[gelf]'
================================================================================
NoMethodError
-------------
undefined method `clear_sources' for Chef::Resource::TdAgentGem
Resource Declaration:
---------------------
# In /tmp/kitchen/cookbooks/smoke/recipes/default.rb
29: td_agent_gem 'gelf'
30:
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cookbooks/smoke/recipes/default.rb:29:in `from_file'
td_agent_gem("gelf") do
provider Chef::Provider::Package::TdRubygems
action :install
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :td_agent_gem
cookbook_name :smoke
recipe_name "default"
package_name "gelf"
gem_binary "/usr/sbin/td-agent-gem"
version "1.4.0"
end
Recipe: td-agent::default
* service[td-agent] action restart
- restart service service[td-agent]
Running handlers:
[2015-04-29T14:07:40+00:00] ERROR: Running exception handlers
Running handlers complete
[2015-04-29T14:07:40+00:00] ERROR: Exception handlers complete
[2015-04-29T14:07:40+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
Chef Client failed. 16 resources updated in 32.698074138 seconds
[2015-04-29T14:07:40+00:00] ERROR: td-agent_gem[gelf] (smoke::default line 29) had an error: NoMethodError: undefined method `clear_sources' for Chef::Resource::TdAgentGem
[2015-04-29T14:07:40+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> Converge failed on instance <lwrp-ubuntu-1204>.
>>>>>> Please see .kitchen/logs/lwrp-ubuntu-1204.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '
sudo -E /opt/chef/bin/chef-solo --config /tmp/kitchen/solo.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json
']
>>>>>> ----------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment