Project

General

Profile

Actions

Bug #7580

closed

uninitialized constant PuppetFactParser on Foreman 1.6

Added by Anonymous over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

While installing a new Katello 2.0 instance, some weird errors were happening and production.log had frequently

uninitialized constant PuppetFactParser

in it. Turns out, foreman_discovery 1.4rc2 depends on code, that's in Foreman 1.7, but not in 1.6.

As this is breaking probably all new Katello 2.0 installations, setting prio to high.

Actions #1

Updated by Anonymous over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Mike McCune over 9 years ago

katello auto-installs foreman_discovery so we are blocked by this until it is fixed. We can remove the Requires: from our RPM as a temporary workaround if this takes a while

Actions #3

Updated by Marek Hulán over 9 years ago

PuppetFactParser is a class that is introduced in foreman 1.7, it unlikely it will get to 1.6 branch. It seems that you should use pin older version of discovery. 1.4.0.rc1 or 1.3.0, the breaking change is introduced in https://github.com/theforeman/foreman_discovery/commit/6bf4687fe8640751d413b6ae0b03d9216f2466b7 (1.4.0.rc2)

To fix backwards compatibility we may apply the patch only if class is defined.

Actions #4

Updated by Dominic Cleal over 9 years ago

I've yanked 1.4.0-rc2 from the 1.6 yum repo until a new release is available.

Actions #5

Updated by Greg Sutcliffe over 9 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF