Foreman Installer (Failed to load one or more features (DHCP))

Hi I am faced with a troubling issue when trying to install the DHCP proxy on katello

Running the command

foreman-installer --scenario katello --foreman-proxy-dhcp “true”

results in

[ERROR main] foreman-maintain packages is-locked --assumeyes failed! Check the output for error!
[ERROR main] Proxy has failed to load one or more features (DHCP), check /var/log/foreman-proxy/proxy.log for configuration errors

Would appreciate if anyone is able to assist.


This can be ignored ( fixed this, will be in 2.3)

This is the real error - did you check /var/log/foreman-proxy/proxy.log as it suggested?

Thanks for you response upon checking the suggested log,

I chanced upon the error line [E]

[E] Disbaling all modules in the group [dhcp_isc, dhcp] due to a failure in one of them: File at /etc/dhcp/dhcpd.conf defined in ‘config’ parameter doesn’t exist or is unreadable

Looks like the fix for Bug #30489: CVE-2020-14335 world-readable OMAPI secret - Installer - Foreman in 2.1.3 was incorrect and causes this issue. We’ve opened Bug #30962: dhcpd.conf file-ACLs are reset - Installer - Foreman to track fixing it properly. As a workaround you should allow the foreman-proxy user access to read /etc/dhcp/dhcpd.conf using ACL.