Description of problem: Since https://projects.theforeman.org/issues/35684 Puppet reports without messages can come in. The current Puppet report scanner looks at the last log message to determine the source, but if there is no message there is no way to identify it. Version-Release number of selected component (if applicable): Foreman 3.4.0, so Satellite 6.13.0 How reproducible: Always Steps to Reproduce: 1. Run puppet agent -t --detailed-exitcodes and ensure its exit code is 0 (meaning no changes) 2. Look for Puppet reports on the host 3. Expect to find the new report with origin Puppet Actual results: A report is created, but without an origin Expected results: The origin Puppet is set. Additional info: The Puppet origin is derived from the messages, but if there are no messages then it can't.
Upstream bug assigned to ekohlvan
*** Bug 2192937 has been marked as a duplicate of this bug. ***
I've been thinking about this and it's probably best to revert the problematic commit in the short term so I've opened https://github.com/theforeman/puppet-puppetserver_foreman/pull/29 for now.