Bug #12700
closedFailing puppet runs report as ok.
Description
We have a number of hosts that are failing their puppet runs with errors like this:Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node <host>: Failed to find <host> via exec: Execution of '/etc/puppet/node.rb <host>' returned :
Even though the puppet run clearly fails foreman reports some of these nodes as ok with a "no changes" status.
Updated by Dominic Cleal about 9 years ago
- Status changed from New to Need more information
Perhaps pastebin your report processor? There was a fix a very long ago to the processor in #3851 to count these types of failures as a resource error, in lieu of Puppet itself reporting this.
Updated by Martin Hovmöller about 9 years ago
- Status changed from Need more information to Closed
- % Done changed from 0 to 100
I didn't realize node.rb wasn't updated with new releases. Our node.rb was apparenly from April 2014.
I can't really say if updating node.rb fixed this specific problem, because the puppet runs actually complete now. :)
So this was probably just a case of bad usage, although maybe this should be noted in the Upgrade-part of the manual?
Anyway, I'll close the issue, thanks for the help.