If Puppet agent runs fail with a Could not find catalog
error in Puppet Enterprise 2018.1.3, make sure that disable_i18n
is set to false in puppet.conf
.
Error messages
During a Puppet run:
Error: Could not retrieve catalog from remote server: Find /puppet/v3/catalog/<FQDN>?environment=production&facts_format=application%2Fjson&... resulted in 404 with the message: {"message":"Not Found: Could not find catalog <fqdn>","issue_kind":"RESOURCE_NOT_FOUND"} Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
In the Puppet Server log (/var/log/puppetlabs/puppetserver/puppetserver.log
):
2018-07-19 06:31:07,746 INFO [qtp2083050975-76] [puppetserver] Puppet Not Found: Could not find catalog <FQDN>
By default, disable_i18n
is set to false in PE 2018.1 so that product strings are translated. If you’ve changed the setting to true
, Puppet runs fail with a a Could not find catalog
error.
This is a known issue in 2018.1.3, and is fixed in later releases.
Version and installation information
PE version: 2018.1.3
Solution
To fix the issue, add the following key-value pair to Hiera:
puppet_enterprise::master::disable_i18n: false
The location depends on how you’ve set up Hiera, but you can add it to common.yaml
, which is by default located at /etc/puppetlabs/code/environments/production/data/common.yaml
Comments
0 comments
Please sign in to leave a comment.