| Customer upgraded from 2021.7.1 to 2023.0 and all compilers except one were reporting as operational in the Console GUI except one. Running puppet infra status came back with no issues for affected compiler and all services were running on the compiler. The puppetserver.log file on the affected compiler was flooded with the error
Facter Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/pe_postgresql_info.rb: no such file to load -- /opt/puppetlabs/puppet/cache/lib/pe_install/pe_postgresql_info.rb |
Further investigation found that the parent directories of these files did not have sufficient permissions for the pe-puppet user to access them causing the error.
50332369 4 drwx------ 16 root root 4096 Jan 30 17:07 /opt/puppetlabs/puppet/cache/lib |
41943474 0 drwx------ 2 root root 6 Jan 30 17:05 /opt/puppetlabs/puppet/cache/locales |
It was determined that this compiler was running with umask set as 0077, causing the insufficient permissions. Deleting the /opt/puppetlabs/puppet/cache directory and running (umask 0022 && /opt/puppetlabs/bin/puppet plugin download) resolved the issue. Please adjust the service or agent as necessary to enforce propper permissions on these directories. |