I've found this error to be hard to pin point what exactly is going wrong here since it just says 'unable to retrieve unused IP'. If you are on a roblox dhcp, there's solutions available in the foreman community but since in this setup I was using dhcpd (isc-dhcp), they were not applicable.
Here's the complete error message from the logs:
2020-12-04T11:27:31 [W|app|83514b3e] Failed to fetch a free IP from proxy katello.archyslife.lan (https://katello.archyslife.lan:9090):
ERF12-8202 [ProxyAPI::ProxyException]: Unable to retrieve unused IP ([RestClient::NotFound]: 404 Not Found) for Capsule https://katello.archyslife.lan:9090/dhcp
TL;DR, here's the solution that worked for me:
[archy@dhcpd ~]$ sudo chmod 755 /etc/dhcp
[archy@katello ~]$ sudo foreman-maintain service restart
The cause was most likely an update and since my environment is on CentOS which in turn means rpm packages.
When updating .rpm packages, they can trigger a script which probably caused the /etc/dhcp Directory to have 750 permissions where the 'foreman' user was denied access which then triggered the ERF12-8202 error.
Feel free to comment and / or suggest a topic.
Comments
Post a Comment