Project

General

Profile

Bug #30168

Repository create fails when only Pulp 3 is installed (EL8)

Added by Eric Helms about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

2020-06-19T15:47:38 [W|app|87736c9c] undefined method `pulp_url' for nil:NilClass
/usr/share/gems/gems/katello-4.0.0.pre.master/app/models/katello/ping.rb:155:in `pulp_url'
/usr/share/gems/gems/katello-4.0.0.pre.master/app/models/katello/ping.rb:80:in `block in ping_pulp_without_auth'
/usr/share/gems/gems/katello-4.0.0.pre.master/app/models/katello/ping.rb:136:in `exception_watch'
/usr/share/gems/gems/katello-4.0.0.pre.master/app/models/katello/ping.rb:79:in `ping_pulp_without_auth'
/usr/share/gems/gems/katello-4.0.0.pre.master/app/models/katello/ping.rb:23:in `ping'
/usr/share/gems/gems/katello-4.0.0.pre.master/lib/katello/plugin.rb:278:in `block (2 levels) in <top (required)>'
/usr/share/foreman/app/services/ping.rb:89:in `block in plugins_ping'
/usr/share/foreman/app/services/ping.rb:87:in `each'
/usr/share/foreman/app/services/ping.rb:87:in `inject'
/usr/share/foreman/app/services/ping.rb:87:in `plugins_ping'
/usr/share/foreman/app/services/ping.rb:11:in `ping'
/usr/share/foreman/app/controllers/api/v2/ping_controller.rb:14:in `ping'
020-06-19T15:43:05 [E|bac|] nil smart_proxy passed to PulpSelector (RuntimeError)
/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/katello/pulp_selector.rb:5:in `plan_pulp_action'
/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/katello/repository/create.rb:24:in `block in plan'
/usr/share/gems/gems/dynflow-1.4.4/lib/dynflow/execution_plan.rb:384:in `switch_flow'
/usr/share/gems/gems/dynflow-1.4.4/lib/dynflow/action.rb:425:in `sequence'
/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/katello/repository/create.rb:23:in `plan'
/usr/share/gems/gems/dynflow-1.4.4/lib/dynflow/action.rb:517:in `block (3 levels) in execute_plan'

Associated revisions

Revision 4171a36f (diff)
Added by Justin Sherrill about 2 years ago

Refs #30168 - handle smart proxy method changes

Revision 54f22aef (diff)
Added by Justin Sherrill almost 2 years ago

Fixes #30168 - support running without pulp2 enabled

History

#1 Updated by Eric Helms about 2 years ago

  • Description updated (diff)

#2 Updated by James Jeffers about 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.0

#3 Updated by The Foreman Bot about 2 years ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8802 added

#4 Updated by The Foreman Bot about 2 years ago

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

#5 Updated by Chris Roberts about 2 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.17.0

#6 Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases Katello 4.0.0 added

#7 Updated by Justin Sherrill almost 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF