Need help to install smart proxy with ‘puppet’.
Is it necessary to install puppet on foreman server as well?
I am trying to setup an environment where only smart proxies will have puppet installed.
Foreman server will be used just to manage the smart proxies.
I m trying to install smart proxy with puppet below options but getting below error:
# foreman-installer --scenario foreman-proxy-content --certs-tar-file "/root/sjpuppetm02.cadence.com-certs.tar"
--foreman-proxy-register-in-foreman "true" --foreman-proxy-foreman-base-url "https://sjprdsatapp01.cadence.com"
--foreman-proxy-trusted-hosts "sjprdsatapp01" --foreman-proxy-trusted-hosts "sjpuppetm02.cadence.com"
--foreman-proxy-oauth-consumer-key "XXXXXXXXXXXXXXX" --foreman-proxy-oauth-consumer-secret "YYYYYYYYYYYYYYYYY"
--foreman-proxy-puppet "true" --puppet-ca-server "sjpuppetm01.cadence.com" --puppet-server-ca "true"
--foreman-proxy-puppetca "false" --enable-puppet --puppet-server "true" --puppet-server-foreman-url "https://sjprdsatapp01.cadence.com"
2023-10-09 05:34:34 [NOTICE] [root] Loading installer configuration. This will take some time.
2023-10-09 05:34:35 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2023-10-09 05:34:35 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2023-10-09 05:34:37 [NOTICE] [configure] Starting system configuration.
2023-10-09 05:35:43 [NOTICE] [configure] 250 configuration steps out of 1542 steps complete.
2023-10-09 05:36:40 [NOTICE] [configure] 500 configuration steps out of 1545 steps complete.
2023-10-09 05:36:43 [NOTICE] [configure] 750 configuration steps out of 1551 steps complete.
2023-10-09 05:36:49 [NOTICE] [configure] 1000 configuration steps out of 1571 steps complete.
2023-10-09 05:37:00 [NOTICE] [configure] 1250 configuration steps out of 1571 steps complete.
2023-10-09 05:37:59 [NOTICE] [configure] 1500 configuration steps out of 1572 steps complete.
2023-10-09 05:38:06 [ERROR ] [configure] Proxy sjpuppetm02.cadence.com has failed to load one or more features (Puppet), check /var/log/foreman-proxy/proxy.log for configuration errors
2023-10-09 05:38:06 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[sjpuppetm02.cadence.com]/ensure: change from 'absent' to 'present' failed: Proxy sjpuppetm02.cadence.com has failed to load one or more features (Puppet), check /var/log/foreman-proxy/proxy.log for configuration errors
2023-10-09 05:38:07 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[sjpuppetm02.cadence.com]: Failed to call refresh: Proxy sjpuppetm02.cadence.com has failed to load one or more features (Puppet), check /var/log/foreman-proxy/proxy.log for configuration errors
2023-10-09 05:38:07 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[sjpuppetm02.cadence.com]: Proxy sjpuppetm02.cadence.com has failed to load one or more features (Puppet), check /var/log/foreman-proxy/proxy.log for configuration errors
2023-10-09 05:38:09 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
The full log is at /var/log/foreman-installer/foreman-proxy-content.log
Note that, sjpuppetm02 does get registered with foreman but feature ‘puppet’ does not get added.
Attaching screenshot.