Project

General

Profile

Bug #30635

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 almost 2 years ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

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

"undefined method `>' for nil:NilClass"

full logs attached

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

History

#2 Updated by Alexander von Gluck IV almost 2 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

#3 Updated by Tomer Brisker almost 2 years ago

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

#4 Updated by James Jeffers almost 2 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

#5 Updated by Jeremy Lenz almost 2 years ago

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

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

#6 Updated by Jonathon Turel over 1 year ago

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

Also available in: Atom PDF