Puppet Error messages after upgrade (Foreman 1.22, katello 3.12, puppet 6)

Problem:
After upgrading to Foreman 1.22, katello 3.12 and puppet 6 i am getting puppet error and warning messages:

warning Puppet Unable to fetch my node definition, but the agent run will continue:
warning Puppet Error 500 on SERVER: Server Error: Could not load external node results for hostname.lan: (): Tried to load unspecified class: Time
err Puppet Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed when searching for node hostname.lan: Could not load external node results for hostname.lan: (): Tried to load unspecified class: Time
err Puppet Could not retrieve catalog; skipping run

Is there something that i need to set in puppet?

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)

logs

I think you’re seeing this problem. I saw it as well when I upgraded to Puppet 6.

https://projects.theforeman.org/issues/26763

It seems to be fixed, but I don’t know when the new client will be released. It’s not currently in the repo.

I’m having the same issue after and upgrade to Puppet 6.

Any idea how to resolve it?

I downgraded to puppet 5 (for now)

We resolve the issue by manually editing the file info_provider.rb with the changes in the commit:

https://projects.theforeman.org/projects/katello/repository/revisions/e2cbcd5be621c2fe588119a33096367beb164d0d/diff/app/models/katello/host/info_provider.rb

After restarting httpd, the issue was resolved.

1 Like