Project

General

Profile

Actions

Bug #17369

closed

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

Added by Justin Sherrill over 7 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

Has duplicate Katello - Bug #17405: Actions::Katello::ContentView::Publish Failed - Katello 3.2Duplicate11/19/2016Actions
Actions #1

Updated by Justin Sherrill over 7 years ago

  • Description updated (diff)
  • translation missing: en.field_release set to 197
Actions #2

Updated by Justin Sherrill over 7 years ago

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

Updated by The Foreman Bot over 7 years ago

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

Updated by Eric Helms over 7 years ago

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

Updated by Eric Helms over 7 years ago

  • translation missing: en.field_release changed from 197 to 208
Actions #6

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release changed from 208 to 197
Actions #7

Updated by John Mitsch over 7 years ago

  • translation missing: en.field_release changed from 197 to 214
Actions #8

Updated by Justin Sherrill about 7 years ago

  • translation missing: en.field_release changed from 214 to 222
Actions #9

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release deleted (222)
Actions #10

Updated by Eric Helms almost 7 years ago

  • Status changed from Ready For Testing to Resolved
  • translation missing: en.field_release set to 166

This has been fixed and included as of Katello 3.3.

Actions

Also available in: Atom PDF