Project

General

Profile

Bug #17369

Capsule sync failing with a puppet repo "undefined method `puppet_path' "

Added by Justin Sherrill over 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Reported by a user on 3.2:

Action:
Actions::Katello::CapsuleContent::Sync
Input:
{"smart_proxy"=>{"id"=>2, "name"=>"capsule.domain.co.uk"}}
Output:
{}
Exception:
NoMethodError: undefined method `puppet_path' for #<Katello::CapsuleContent:0x000000079e72b0>
Backtrace:
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.0/app/models/katello/glue/pulp/repo.rb:244:in `generate_distributors'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.0/app/models/katello/glue/pulp/repo.rb:823:in `distributors_match?'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.0/app/models/katello/glue/pulp/repo.rb:74:in `block in needs_distributor_updates'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.0/app/models/katello/glue/pulp/repo.rb:71:in `select'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.0/app/models/katello/glue/pulp/repo.rb:71:in `needs_distributor_updates'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.0/app/lib/actions/katello/capsule_content/sync.rb:79:in `repos_needing_updates'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.0/app/lib/actions/katello/capsule_content/sync.rb:23:in `plan'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.15/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan'

Related issues

Has duplicate Katello - Bug #17405: Actions::Katello::ContentView::Publish Failed - Katello 3.2Duplicate2016-11-19

History

#1 Updated by Justin Sherrill over 5 years ago

  • Description updated (diff)
  • Legacy Backlogs Release (now unused) set to 197

#2 Updated by Justin Sherrill over 5 years ago

  • Subject changed from Capsule sync failing with a puppet repo to Capsule sync failing with a puppet repo "undefined method `puppet_path' "

#3 Updated by The Foreman Bot over 5 years ago

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

#4 Updated by Eric Helms over 5 years ago

  • Has duplicate Bug #17405: Actions::Katello::ContentView::Publish Failed - Katello 3.2 added

#5 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 197 to 208

#6 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 208 to 197

#7 Updated by John Mitsch over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 197 to 214

#8 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 214 to 222

#9 Updated by Justin Sherrill almost 5 years ago

  • Legacy Backlogs Release (now unused) deleted (222)

#10 Updated by Eric Helms almost 5 years ago

  • Status changed from Ready For Testing to Resolved
  • Legacy Backlogs Release (now unused) set to 166

This has been fixed and included as of Katello 3.3.

Also available in: Atom PDF