No updates from clients after upgrade to 3.3

Problem:
After upgrading, according to the documentation, from 3.1, via 3.2 to 3.3 my clients reports and facts are now no longer updated in foreman.

Expected outcome:
After running puppet on my clients, my puppet server pushes facts and info about the run and the client to foreman, which in turn shows that info in it’s webgui.

Foreman and Proxy versions:
foreman-3.3.0-1.el7.noarch
foreman-proxy-3.3.0-1.el7.noarch

Foreman and Proxy plugin versions:

Distribution and version:
Red Hat Enterprise Linux Server release 7.9 (Maipo)
Other relevant data:
I’m running a foreman for reporting only, with an external puppet server (6.7).

I see these in /var/log/foreman/production.log:

2022-10-17T10:00:55 [I|app|a8272bd3] Started POST "/api/hosts/facts" for 192.168.248.50 at 2022-10-17 10:00:55 +0200
2022-10-17T10:00:55 [I|app|a8272bd3] Processing by Api::V2::HostsController#facts as JSON
2022-10-17T10:00:55 [I|app|a8272bd3]   Parameters: {"facts"=>"[FILTERED]", "name"=>"REDACTED", "certname"=>"redacted", "apiv"=>"v2", "host"=>{"certname"=>"redacted", "name"=>"REDACTED"}}
2022-10-17T10:00:55 [I|app|a8272bd3] Import facts for 'redacted' completed. Added: 0, Updated: 35, Deleted 23 facts
2022-10-17T10:00:55 [W|app|a8272bd3] DefaultHostgroupMatch: Could not load :default_hostgroup map from Settings.
2022-10-17T10:00:55 [I|app|a8272bd3] Completed 201 Created in 225ms (Views: 3.3ms | ActiveRecord: 50.1ms | Allocations: 56081)

But it’s doesn’t seem updated in the Webgui.

Any more logs I can check to see what might go wrong?

There’s something updated, but no reports.
If I look at a specific host it says that it’s been updated today, but the latest report for it is 13 days old…
I do have the correct report.rb as /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reports/foreman.rb, but still no reports.

Help!

Do you see any requests in /var/log/foreman/production.log that would indicate that the report is being uploaded to Foreman? Double-check the configuration at /etc/puppetlabs/puppet/foreman.yaml

If the report upload fails for some reason, you should be able to find some information in the puppet logs.

Yes, I see the fact upload at least, but nothing is updated in the webgui.

I know how to manually push facts from my puppetserver, but can I somehow send a report manually from the puppetserver, to test?

Ok, I do have a puppetdb running on my puppetserver, it’s being updated - I can see the “report stored” in it’s log, but nothing seems to be pushed to foreman.
Can I somehow do force that?

I see quite a few messages in production.log like this:

2022-11-22T10:46:31 [W|app|] unknown class VariableLookupKey, ignoring
2022-11-22T10:46:31 [I|app|] Backtrace for 'unknown class VariableLookupKey, ignoring' error (NameError): uninitialized constant VariableLookupKey

Hi @jby,

Did you manage to solve this problem? I have a similar error.