Foreman with Katello Installation error

Hello gurus,

I’m trying to install foreman with katello, but failing miserable, it’s my first time trying it, fresh install. I’m looking for help to sort out what’s going wrong.
Problem: when i run foreman-installer, I’m getting error: [ERROR ] [configure] /Stage[main]/Candlepin::Artemis/Selboolean[candlepin_can_bind_activemq_port
]: Could not evaluate: Execution of ‘/usr/sbin/getsebool candlepin_can_bind_activemq_port’ returned 255: Error getting active value for candlepin_can_bind_activemq_port

Expected outcome: Running foreman-installer works without an error, install foreman

Foreman and Proxy versions: foreman-proxy-3.5.1-1.el8.noarch

Foreman and Proxy plugin versions: foreman-3.5.1-1.el8.noarch foreman-proxy-3.5.1-1.el8.noarch katello-4.7.0-1.el8.noarch

Distribution and version: foreman 3.5

Other relevant data:
full log:
2023-01-21 20:24:40 [ERROR ] [configure] /Stage[main]/Candlepin::Artemis/Selboolean[candlepin_can_bind_activemq_port]: Could not evaluate: Execution of ‘/usr/sbin/getsebool candlepin_can_bind_activemq_port’ returned 255: Error getting active value for candlepin_can_bind_activemq_port
2023-01-21 20:24:41 [NOTICE] [configure] 750 configuration steps out of 1390 steps complete.
2023-01-21 20:24:42 [NOTICE] [configure] 1000 configuration steps out of 1394 steps complete.
2023-01-21 20:26:16 [NOTICE] [configure] 1250 configuration steps out of 1394 steps complete.
2023-01-21 20:27:49 [ERROR ] [configure] Could not find a suitable provider for keystore
2023-01-21 20:27:49 [ERROR ] [configure] Could not find a suitable provider for truststore
2023-01-21 20:27:49 [ERROR ] [configure] Could not find a suitable provider for truststore_certificate
2023-01-21 20:27:49 [ERROR ] [configure] Could not find a suitable provider for keystore_certificate
2023-01-21 20:27:54 [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/katello.log

From Installation of Red Hat Satellite fails with error returned 255: Error getting active value for candlepin_can_bind_activemq_port - Red Hat Customer Portal it seems to be a problem that the selinux module for candlepin is not loaded trying to toggle the boolean. Can you run:

# semodule -i /usr/share/selinux/targeted/candlepin.pp
# setsebool -P candlepin_can_bind_activemq_port on

If this works the installer should run fine.

1 Like

:upside_down_face: well thank you, indeed worked.
after loading the selinux module I had to also update OpenJDK and the installation run through smoothly