Project

General

Profile

Actions

Bug #9354

closed

foreman-rake katello:upgrades:2.1:import_errata fails: wrong number of arguments

Added by Mark Versfeld almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Upgrade to 2.1 fails at import_errata

foreman-rake katello:upgrades:2.1:import_errata --trace
  • Invoke katello:upgrades:2.1:import_errata (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute katello:upgrades:2.1:import_errata
    Importing Errata
    Updating Content Host Repositories
    Updating Content Host Repositories
    rake aborted!
    wrong number of arguments
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/lib/katello/tasks/upgrades/2.1/import_errata.rake:8:in `system'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/lib/katello/tasks/upgrades/2.1/import_errata.rake:8:in `error'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/lib/katello/tasks/upgrades/2.1/import_errata.rake:33:in `rescue in block (5 levels) in <top (required)>'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/lib/katello/tasks/upgrades/2.1/import_errata.rake:30:in `block (5 levels) in <top (required)>'
    /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/batches.rb:21:in `block (2 levels) in find_each'
    /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/batches.rb:21:in `each'
    /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/batches.rb:21:in `block in find_each'
    /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/batches.rb:72:in `find_in_batches'
    /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/batches.rb:20:in `find_each'
    /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/querying.rb:8:in `find_each'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/lib/katello/tasks/upgrades/2.1/import_errata.rake:29:in `block (4 levels) in <top (required)>'
    /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `call'
    /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `block in execute'
    /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `each'
    /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `execute'
    /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:158:in `block in invoke_with_call_chain'
    /opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize'
    /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:151:in `invoke_with_call_chain'
    /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:144:in `invoke'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:116:in `invoke_task'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block (2 levels) in top_level'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `each'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block in top_level'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:88:in `top_level'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:66:in `block in run'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
    /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
    /opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
    caused by: (RestClient::ResourceNotFound) 404 Resource Not Found
    /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'
    /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.0/lib/runcible/base.rb:92:in `block in get_response'
    /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:228:in `call'
    /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:228:in `process_result'
    /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.29/lib/restclient_ext/request.rb:50:in `block in transmit'
    /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:746:in `start'
    /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.29/lib/restclient_ext/request.rb:44:in `transmit'
    /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
    /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
    /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:51:in `get'
    /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.0/lib/runcible/base.rb:91:in `get_response'
    /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.0/lib/runcible/base.rb:82:in `call'
    /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.0/lib/runcible/resources/consumer.rb:106:in `retrieve_bindings'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/models/katello/glue/pulp/consumer.rb:35:in `bindings'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/models/katello/glue/pulp/consumer.rb:45:in `pulp_bound_yum_repositories'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/lib/katello/tasks/upgrades/2.1/import_errata.rake:17:in `update_system_repositories'
    /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/lib/katello/tasks/upgrades/2.1/import_errata.rake:31:in `block (5 levels) in <top (required)>'
    ... skipped 25 lines
    Tasks: TOP => katello:upgrades:2.1:import_errata
Actions

Also available in: Atom PDF