Bug #19658
closedsubscription-manager identity --regenerate fails with "wrong number of arguments (1 for 2)"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1452430
Description of problem:
running "subscription-manager identity --regenerate" fails on 6.3.0 builds with the error:
"wrong number of arguments (1 for 2)"
Traceback:
[katello/cp_proxy] [E] ArgumentError: wrong number of arguments (1 for 2) | /home/vagrant/git/katello/app/services/katello/candlepin/consumer.rb:29:in `initialize' | /home/vagrant/git/katello/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:168:in `new' | /home/vagrant/git/katello/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:168:in `regenerate_identity_certificates' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.8/lib/abstract_controller/base.rb:198:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.8/lib/abstract_controller/callbacks.rb:20:in `block in process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:117:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:117:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby