Project

General

Profile

Actions

Bug #30635

closed

Bug #29720: NoMethodError: undefined method `>’ for nil:NilClass when promoting to new environment after upgrade to Katello 3.15

Content view version promotion failing

Added by Alexander von Gluck IV over 4 years ago. Updated over 4 years ago.

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

Description

Attempting to promote any new / existing content view to a new lifecycle is failing with:

"undefined method `>' for nil:NilClass"

full logs attached


Files

foreman-promote.txt foreman-promote.txt 31.6 KB Alexander von Gluck IV, 08/11/2020 06:10 PM
Actions #2

Updated by Alexander von Gluck IV over 4 years ago

actually... i just found this sole post that had a solution in it. Looks like a bug?

https://community.theforeman.org/t/cannot-promote-to-environments-after-upgrade-to-foreman-2-0-katello-3-15/18649/4?u=avongluck

still happens in 2.0.1

Actions #3

Updated by Tomer Brisker over 4 years ago

  • Project changed from Foreman to Katello
  • Found in Releases deleted (2.0.1)
Actions #4

Updated by James Jeffers over 4 years ago

Summary from the discussion linked above:

Problem:
I just upgraded Foreman and all smart proxies to 2.0 and Katello to 3.15 as per documentation.
The upgrade went fine without issues with foreman-installer.
But now when I try to promote new version, to Library it goes fine, but not to other environments I created.
Error is NoMethodError: undefined method `>’ for nil:NilClass

Expected outcome:
After new version is published to Library to be promoted to the rest of the Lifecycle environments

Foreman and Proxy versions:
2.0
Foreman and Proxy plugin versions:
Katello 3.15
Distribution and version:
CentOS 7.8

Actions #5

Updated by Jeremy Lenz over 4 years ago

  • Status changed from New to Duplicate
  • Parent task set to #29720

Closing as duplicate. This was fixed in Katello 3.16; see additional comments on the referenced issue

Actions #6

Updated by Jonathon Turel over 4 years ago

  • Target version set to Katello Recycle Bin
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF