[chef] package[yum-allowdowngrade] exception


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] package[yum-allowdowngrade] exception
  • Date: Fri, 19 Oct 2012 15:45:42 -0700 (PDT)

Could someone explain what happened with the following stacktrace?

thanks,

Xianfeng

Chef::Exceptions::Package: package[yum-allowdowngrade] (mspot_omakase::default
line 34) had an error: Chef::Exceptions::Package: Yum failed -
#<Process::Status: pid=1626,exited(1)> - returns: yum-dump Repository Error:
Cannot find a valid baseurl for repo: epel

/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/provider/package/yum.rb:751:in
`refresh'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/provider/package/yum.rb:788:in
`package_available?'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/provider/package/yum.rb:973:in
`load_current_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource.rb:439:in
`run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/runner.rb:45:in
`run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/runner.rb:81:in
`converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/runner.rb:81:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/runner.rb:81:in
`converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource_collection.rb:94:in
`execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in
`call'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in
`call_iterator_block'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in
`step'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in
`iterate'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in
`each_with_index'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource_collection.rb:92:in
`execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/runner.rb:76:in
`converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/client.rb:312:in
`converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/client.rb:160:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application/client.rb:239:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application/client.rb:229:in
`loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application/client.rb:229:in
`run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application.rb:67:in
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19



Archive powered by MHonArc 2.6.16.

§