Bug #7580
closeduninitialized constant PuppetFactParser on Foreman 1.6
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.
Updated by Mike McCune over 10 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
Updated by Marek Hulán over 10 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.
Updated by Dominic Cleal over 10 years ago
I've yanked 1.4.0-rc2 from the 1.6 yum repo until a new release is available.
Updated by Greg Sutcliffe over 10 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset 1cc3128a5617bbc9711ab4da0e85813ee06a43ed.