Problem:
After updating the puppetserver and puppet-agent packages to version 8 we got the following error on running the foreman-installer:
[ERROR ] [root] /opt/puppetlabs/puppet/bin/ruby: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: No such file or directory
/opt/puppetlabs/puppet/bin/ruby: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: No such file or directory
Is there a way to update an existing Foreman installation with Puppet 7 to Puppet 8?
Foreman and Proxy versions:
3.12 Foreman and Proxy plugin versions:
3.12 Distribution and version:
RedHat 8.10
2025-05-07 16:14:46 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[server.de]: Could not evaluate: Exception SSL_CTX_load_verify_file: system lib in get request to: https://foreman.server.de/api/v2/smart_proxies?search=name%3D"server.de"
2025-05-07 16:14:46 [ERROR ] [configure] Wrapped exception:
2025-05-07 16:14:46 [ERROR ] [configure] SSL_CTX_load_verify_file: system lib
2025-05-07 16:14:46 [DEBUG ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[server.de]: Evaluated in 0.00 seconds
2025-05-07 16:14:46 [DEBUG ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_host[foreman-proxy-server.de]: Starting to evaluate the resource (1336 of 1362)
2025-05-07 16:14:46 [DEBUG ] [configure] Foreman_hostforeman-proxy-server.de: Making get request to https://foreman.server.de/api/v2/hosts?search=name%3D"server.de"
2025-05-07 16:14:46 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_host[foreman-proxy-server.de]: Could not evaluate: Exception SSL_CTX_load_verify_file: system lib in get request to: https://foreman.server.de/api/v2/hosts?search=name%3D"server.de"
2025-05-07 16:14:46 [ERROR ] [configure] Wrapped exception:
2025-05-07 16:14:46 [ERROR ] [configure] SSL_CTX_load_verify_file: system lib
Please remember: changes to /etc/foreman-proxy/settings.yml will be overwritten during the next foreman-installer run. Always make changes only with foreman-installer.