After upgrading using the
puppetlabs-puppet_agent module, you attempt a Code Manager deployment. It fails with a "R10K::Error: Git provider 'rugged' is not functional" error.
Error messages and logs
After a Code Manager deployment:
root@my_master_node:/etc/puppetlabs/puppet # puppet-code deploy production --dry-run --dry-run implies --wait. --dry-run implies --all. Dry-run deploying all environments. Errors while collecting a list of environments to deploy (exit code: 1). Error while running: #<R10K::Error: Git provider 'rugged' is not functional.>
You might get this error when using the the
puppetlabs-puppet_agent module to upgrade your PE deployment. The module automates the upgrade process on non-infrastructure nodes. However, when the module is used to upgrade the master or other infrastructure nodes, the master's agent version is forcefully downgraded after the next Puppet run and you get this error.
Version and installation information
PE version: 2017.3, 2018.1
To correct the issue:
Remove the master from the node group where the
puppet_agentmodule was applied.
Run the installer package that you used when you upgraded.