Problem:
I’m trying to delete a bunch of hosts that have been physically deleted but are still present in Foreman. I’ve selected them in the hosts list, run “Delete hosts”, and the jobs finishes successfully (100% complete, green happy success message). But the hosts don’t actually get removed from the hosts lists. Same thing if I try opening an individual host entry and running delete from there – successful job, but the host remains.
Expected outcome:
Delete hosts really deletes the hosts.
Foreman and Proxy versions:
3.7
Distribution and version:
Alma Linux 8.9
Other relevant data:
We use PuppetDB, and it is enabled.
Puppet server 7.14
Most of the suggestions I’ve been able to find so far suggest disabling PuppetDB, but that’s not really an option for us. We make too much use if its fact reporting capabilities.