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
Created redmine issue http://projects.theforeman.org/issues/19658 from this bug
Proposed upstream katello PR: https://github.com/Katello/katello/pull/6799
2017-10-01 14:51:32 d3ce3f3e [app] [I] Started POST "/rhsm/consumers/1fd6315e-4a7d-46f5-9c97-b5750ead5e72" for 10.xx.xx.xx at 2017-10-01 14:51:32 -0400 2017-10-01 14:51:32 d3ce3f3e [app] [I] Processing by Katello::Api::Rhsm::CandlepinProxiesController#regenerate_identity_certificates as JSON 2017-10-01 14:51:32 d3ce3f3e [app] [I] Parameters: {"id"=>"1fd6315e-4a7d-46f5-9c97-b5750ead5e72"} 2017-10-01 14:51:32 d3ce3f3e [app] [I] Current user: 1fd6315e-4a7d-46f5-9c97-b5750ead5e72 (regular user) 2017-10-01 14:51:33 d3ce3f3e [app] [I] Completed 200 OK in 329ms (Views: 5.8ms | ActiveRecord: 2.2ms) 2017-10-01 14:51:33 d8ad4695 [app] [I] Started GET "/rhsm/consumers/1fd6315e-4a7d-46f5-9c97-b5750ead5e72" for 10.xx.xx.xx at 2017-10-01 14:51:33 -0400 2017-10-01 14:51:33 d8ad4695 [app] [I] Processing by Katello::Api::Rhsm::CandlepinProxiesController#consumer_show as JSON 2017-10-01 14:51:33 d8ad4695 [app] [I] Parameters: {"id"=>"1fd6315e-4a7d-46f5-9c97-b5750ead5e72"} 2017-10-01 14:51:33 d8ad4695 [app] [I] Current user: 1fd6315e-4a7d-46f5-9c97-b5750ead5e72 (regular user) 2017-10-01 14:51:34 d8ad4695 [app] [I] Completed 200 OK in 192ms (Views: 4.3ms | ActiveRecord: 2.0ms) [root@pete-fruhling ~]# subscription-manager identity --regenerate Identity certificate has been regenerated.
VERIFIED with Sat6.3.0-snap18.0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336