Hello,
I have a problem about enabling Ansible on Foreman machine. The error that I get is:
[root@foreman ~]# foreman-installer --enable-foreman-plugin-ansible --enable-foreman-proxy-plugin-ansible
2022-08-12 06:43:29 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-08-12 06:43:35 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-08-12 06:43:35 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --f ull-help for definitions.
2022-08-12 06:43:57 [NOTICE] [configure] Starting system configuration.
2022-08-12 06:44:17 [NOTICE] [configure] 250 configuration steps out of 1413 steps complete.
2022-08-12 06:45:05 [NOTICE] [configure] 500 configuration steps out of 1415 steps complete.
2022-08-12 06:45:09 [NOTICE] [configure] 750 configuration steps out of 1420 steps complete.
2022-08-12 06:45:28 [NOTICE] [configure] 1000 configuration steps out of 1424 steps complete.
2022-08-12 06:51:24 [NOTICE] [configure] 1250 configuration steps out of 1424 steps complete.
2022-08-12 06:53:38 [ERROR ] [configure] Error making PUT request to https://foreman.lab.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on foreman.lab.local for detailed information
2022-08-12 06:53:38 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.lab.local]/features: c hange from [“Logs”, “Pulpcore”] to [“Ansible”, “Dynflow”, “Logs”, “Pulpcore”] failed: Error making PUT request to https://forem an.lab.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on fore man.lab.local for detailed information
2022-08-12 06:53:39 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.lab.local]: Failed to call refresh: Error making PUT request to https://foreman.lab.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Serv er Error: Check /var/log/foreman/production.log on foreman.lab.local for detailed information
2022-08-12 06:53:39 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.lab.local]: Error maki ng PUT request to https://foreman.lab.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Server Error: Check /var/log /foreman/production.log on foreman.lab.local for detailed information
2022-08-12 06:53:44 [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.
Ansible version: 2.9
OS version: RedHat 8.6
Foreman version: 3.3.0
Could you please help me?
Many thanks!
Bruno