A change we made in Puppet Enterprise 2019.8.7 and 2021.2 causes issues for customers using Continuous Delivery for PE impact analysis. Impact analysis fails with a R10K::Module::Forge cannot handle option ‘default_branch_override’
error.
If you're using these versions of PE, you must update the pe-r10k package to continue to use impact analysis. After you update the package, you can update to future versions of PE using the installer as normal.
Error message
Impact Analysis failed for production. Puppet Code Deploy failure: Errors while deploying environment 'production_cdpe_ia_1624622397963' (exit code: 1): /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/rugged-0.27.7/lib/rugged/repository.rb:258: warning: Using the last argument as keyword parameters is deprecated ERROR -> Failed to evaluate /etc/puppetlabs/code-staging/environments/production_cdpe_ia_1624622397963/Puppetfile Original exception: R10K::Module::Forge cannot handle option 'default_branch_override'
Version and installation information
PE version: 2019.8.7 or 2021.2, using Continuous Delivery for PE impact analysis
This issue was resolved in PE 2019.8.8 and 2021.3.
Solution
To update the pe-r10k package, complete these steps. If you configured disaster recovery, you must also update the package on the replica to avoid issues after failover.
-
Download the package.
For 2019.8.7
For 2021.2
-
Put the file on your primary server and/or replica servers.
-
Install the package using your operating system's package manager.
- For rpm-based systems: Run
rpm -U <FILE>
- For Debian-based systems: Run
dpkg -i <FILE>
- For rpm-based systems: Run
If you continue to have issues with impact analysis, please open a Support ticket.
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles