I am unable to delete hosts from my Foreman server. From the web console, the delete appears to succeed, but the host is not actually deleted.
/var/log/foreman/production.log shows the error:
Deactivating node scribe8.my.domain in PuppetDB task failed with the following error: malformed format string - %(
Host is deleted.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Alma Linux 8.7
I’m having the same issue, did you ever figure out a resolution?
Same here on Foreman 3.6.1 on Debian 11
Puppet related Plugins:
||Integration with PuppetDB, enabled will deactivate a host in PuppetDB when it’s deleted in Foreman
||Foreman will send PuppetDB requests to this address
||Foreman will send PuppetDB requests with this CA file
||Foreman will send PuppetDB requests with this certificate file
||Foreman will send PuppetDB requests with this key file
|PuppetDB API Version
||v4: PuppetDB 4 - 7
||Foreman will use this PuppetDB API version
On my setup the puppetdb gets configured via the offizial puppetdb module from the Forge but runs on a separeted host:
My temporary workaround was to disable the deletion in the Settings with “puppetdb_enabled => no” so hosts can be deleted at all, but this is not a solution
I also can add a full stracktrace if needed
Thanks for the help!