Project

General

Profile

Actions

Bug #29720

closed

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

Added by Jeremy Lenz over 4 years ago. Updated over 4 years ago.

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

Description

See https://community.theforeman.org/t/cannot-promote-to-environments-after-upgrade-to-foreman-2-0-katello-3-15/18649

When puppet is set to false under content_types in katello.yaml, the content_types field on a content view version does not get a puppet_modules key. This causes the above error in the promote_puppet_environment? method in app/models/katello/content_view_version.rb.

Need to update to account for this.


Subtasks 1 (0 open1 closed)

Bug #30635: Content view version promotion failingDuplicateActions

Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #29448: Skip puppet env import on cv publish/promote if smart proxy feature is not presentClosedJustin SherrillActions
Actions

Also available in: Atom PDF