| After upgrading puppet agent from 6.25.1 to 6.26.0, puppet is hard failing with errors such as: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, wrong number of arguments (given 3, expected 2) (file: /etc/puppetlabs/code/environments/production/vendor-modules/puppet_agent/manifests/prepare/puppet_config.pp, line: 27, column: 9) on node web1.alpha.clusters.3pth.com Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, wrong number of arguments (given 3, expected 2) (file: /etc/puppetlabs/code/environments/production/vendor-modules/ssh/manifests/init.pp, line: 150, column: 10) on node web1.prontospot.clients.3pth.com All signs are pointing to an error with the versioncmp() function, which was recently updated for version 6.26.0 (https://tickets.puppetlabs.com/browse/PUP-11235). It seems that an unintended change in how versioncmp() works is affecting multiple critical packages (e.g. puppet_agent, ssh). It seems that versioncmp is acting as if additional arguments are being supplied to it which causes a 500 and failure of puppet agent runs. The issue can be resolved by downgrading puppet-agent to the previous version on puppet server. `yum downgrade puppet-agent` |