Bug #18886

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

Added by Justin Sherrill 12 days ago. Updated 11 days ago.

Status:Closed
Priority:Normal
Assigned To:Justin Sherrill
Category:Upgrades
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-
Release3.3.1Release relationshipAuto

Description

[ 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 12 days ago

Fixes #18886 - fix repo refresh with no capsule id

History

#1 Updated by The Foreman Bot 12 days ago

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

#2 Updated by Brad Buckingham 12 days ago

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

#3 Updated by The Foreman Bot 12 days ago

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

#4 Updated by Justin Sherrill 11 days ago

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

Also available in: Atom PDF