Failing puppet runs report as ok.
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.
#2 Updated by Martin Hovmöller almost 7 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.