Project

General

Profile

Actions

Bug #18495

closed

undefined method `[]' for nil:NilClass - content view publishing and promoting

Added by Johannes Hirte almost 8 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I've updated a katello installation from 3.2 to 3.3-rc2 following this guide: https://theforeman.org/plugins/katello/3.3/upgrade/index.html

The update was smoothly. But now there is a bug with publishing/promoting of new versions of already existing content views. At 94% the process stopped in error state with the following error message:

NoMethodError: undefined method `[]' for nil:NilClass

Now I have the content view stuck in error state. I can't cancel the task or remove the version. A complete new content view, added after the update, doesn't has this problem.

Attaching the log when trying to resume the faulty task with hammer cli.


Files

foreman-publish-error foreman-publish-error 58.1 KB Johannes Hirte, 02/14/2017 09:22 AM
foreman-debug-4WdUk.tar.xz foreman-debug-4WdUk.tar.xz 4.15 MB Johannes Hirte, 02/16/2017 02:45 AM

Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #18793: Content Views Create/Promotion Fails with "undefined method '[]' for nil:NilClass (NoMethodError) ClosedEric Helms03/03/2017Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Project changed from Foreman to Katello
Actions #2

Updated by Eric Helms almost 8 years ago

  • Category set to Content Views
  • Translation missing: en.field_release set to 219

Could you provide us with a foreman-debug so we can investigate this further?

Actions #3

Updated by Johannes Hirte almost 8 years ago

foreman-debug info added

Actions #4

Updated by Eric Helms almost 8 years ago

  • Status changed from New to Needs design
Actions #5

Updated by Eric Helms almost 8 years ago

  • Status changed from Needs design to Duplicate
  • Translation missing: en.field_release changed from 219 to 166
Actions #6

Updated by Eric Helms almost 8 years ago

  • Is duplicate of Bug #18793: Content Views Create/Promotion Fails with "undefined method '[]' for nil:NilClass (NoMethodError) added
Actions

Also available in: Atom PDF