Bug #18886

katello 3.3.1 rc upgrade fails "NoMethodError: undefined method `default_capsule?' for nil:NilClass"

Added by Justin Sherrill 7 months ago. Updated 6 months ago.

Assigned To:Justin Sherrill
Target version:Team Brad - Iteration 12
Difficulty: Pull request:https://github.com/Katello/katello/pull/6674, https://github.com/Katello/katello/pull/6673
Bugzilla link:
Story points-
Velocity based estimate-
ReleaseKatello 3.3.1Release relationshipAuto


[ INFO 2017-03-13 21:54:31 verbose] Upgrade Step: update_puppet_repository_distributors (this may take a while) ...
rake aborted!
NoMethodError: undefined method `default_capsule?' for nil:NilClass
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.3.1/app/models/katello/glue/pulp/repo.rb:188:in `importer_feed_url'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.3.1/app/models/katello/glue/pulp/repo.rb:160:in `generate_importer'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.3.1/app/lib/actions/pulp/repository/refresh.rb:18:in `update_or_associate_importer'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.3.1/app/lib/actions/pulp/repository/refresh.rb:11:in `plan'

Associated revisions

Revision 9a480e48
Added by Justin Sherrill 6 months ago

Fixes #18886 - fix repo refresh with no capsule id


#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6673 added

#2 Updated by Brad Buckingham 7 months ago

  • Target version changed from Team Brad - Iteration 11 to Team Brad - Iteration 12

#3 Updated by The Foreman Bot 6 months ago

  • Pull request https://github.com/Katello/katello/pull/6674 added

#4 Updated by Justin Sherrill 6 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF