Skip to content

Instantly share code, notes, and snippets.

@greenmoss
Created August 6, 2010 20:41
Show Gist options
  • Save greenmoss/511969 to your computer and use it in GitHub Desktop.
Save greenmoss/511969 to your computer and use it in GitHub Desktop.
INFO: Starting Chef Run
INFO: Ran execute[find /var/chef/cache/checksums -type f -mtime +5 | xargs rm -f] successfully
ERROR: package[rdiff-backup] (/srv/chef/cache/cookbooks/rdiff_backup/recipes/default.rb line 51) had an error:
yum failed - #<Process::Status: pid=26056,exited(1)> - returns: Traceback (most recent call last):
File "/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum-dump.py", line 104, in ?
y.doUnlock(PIDFILE)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1167, in doUnlock
if hasattr(self, 'preconf') or self.conf.uid != 0:
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 194, in _getConfig
fn = self.preconf.fn
AttributeError: 'YumBase' object has no attribute 'preconf'
Exception exceptions.AttributeError: "'YumBase' object has no attribute 'preconf'" in <bound method YumBase.__del__ of <yum.YumBase object at 0x2b85d1eebd10>> ignored
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum.rb:79:in `load_data'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum.rb:34:in `initialize'
/usr/lib/ruby/1.8/singleton.rb:94:in `new'
/usr/lib/ruby/1.8/singleton.rb:94:in `instance'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum.rb:110:in `initialize'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:53:in `new'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:53:in `build_provider'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:59:in `run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:114:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:113:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:113:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:91:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/client.rb:332:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/client.rb:87:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application/client.rb:215:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application/client.rb:207:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application/client.rb:207:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application.rb:62:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum.rb:79:in `load_data': yum failed - #<Process::Status: pid=26056,exited(1)> - returns: Traceback (most recent call last): (Chef::Exceptions::Package)
File "/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum-dump.py", line 104, in ?
y.doUnlock(PIDFILE)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1167, in doUnlock
if hasattr(self, 'preconf') or self.conf.uid != 0:
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 194, in _getConfig
fn = self.preconf.fn
AttributeError: 'YumBase' object has no attribute 'preconf'
Exception exceptions.AttributeError: "'YumBase' object has no attribute 'preconf'" in <bound method YumBase.__del__ of <yum.YumBase object at 0x2b85d1eebd10>> ignored
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum.rb:34:in `initialize'
from /usr/lib/ruby/1.8/singleton.rb:94:in `new'
from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/provider/package/yum.rb:110:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:53:in `new'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:53:in `build_provider'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:59:in `run_action'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/runner.rb:114:in `converge'
... 15 levels...
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application.rb:62:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/chef-client:26
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment