Project

General

Profile

Actions

Bug #22445

closed

Content view sync with puppet repos fails with undefined method content_type for nil

Added by Andrew Kofink over 6 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

During task planning phase Actions::Katello::CapsuleContent::Sync failed with undefined method `content_type' for nil:NilClass (NoMethodError)

Actions::Katello::CapsuleContent::Sync

Input:

---
smart_proxy:
id: 2
name: cap.example.com
services_checked:
- pulp
- pulp_auth

undefined method `content_type' for nil:NilClass (NoMethodError)
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.161/app/lib/actions/katello/capsule_content/sync.rb:65:in `block (3 levels) in sync_repos_to_capsule'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/execution_plan.rb:316:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/execution_plan.rb:316:in `switch_flow'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/action.rb:369:in `sequence'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.161/app/lib/actions/katello/capsule_content/sync.rb:54:in `block (2 levels) in sync_repos_to_capsule'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.161/app/lib/actions/katello/capsule_content/sync.rb:53:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.161/app/lib/actions/katello/capsule_content/sync.rb:53:in `block in sync_repos_to_capsule'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/execution_plan.rb:316:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/execution_plan.rb:316:in `switch_flow'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/action.rb:364:in `concurrence'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.161/app/lib/actions/katello/capsule_content/sync.rb:52:in `sync_repos_to_capsule'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.161/app/lib/actions/katello/capsule_content/sync.rb:46:in `block in plan'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/execution_plan.rb:316:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/execution_plan.rb:316:in `switch_flow'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/action.rb:369:in `sequence'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.161/app/lib/actions/katello/capsule_content/sync.rb:41:in `plan'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan'


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #20540: Duplicate Unit Names in Smart-Proxy Sync after 3.4.4 upgradeClosedJustin Sherrill08/09/2017Actions
Actions #1

Updated by Andrew Kofink over 6 years ago

  • Is duplicate of Bug #20540: Duplicate Unit Names in Smart-Proxy Sync after 3.4.4 upgrade added
Actions #2

Updated by Andrew Kofink over 6 years ago

  • Status changed from New to Duplicate
  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF