Support #19385
closedForeman deleting host leaves certificate on puppetserver intact
Description
Hello Guys,
Infos:
Puppetserver 4.10.0
Foreman: 1.14.3
Foreman-Proxy: 1.14.3
After upgrading to puppetserver 4 deleting hosts in Foreman leaves certificate on puppetserver intact.
Configfiles:
/etc/foreman-proxy/Settings.d/puppetca.yml
- PuppetCA managment
:enabled: https
:ssldir: /etc/puppetlabs/puppet/ssl
:puppetdir: /etc/puppetlabs/puppet
/etc/foreman-proxy/settings.d/puppet.yml
:enabled: https
:puppet_version: 4.10.0
Puppetserver and Foreman are on same machine. Foreman-Proxy is running.
If i delete a host in Foreman i can see nothing in the logfile
/var/log/foreman-proxy/proxy.log
But the communication between Foreman and Foreman-Proxy are OK.
If i list all signed certificates in Foreman and look in the logfile
/var/log/foreman-proxy/proxy.log
Found puppetca at /opt/puppetlabs/bin/puppet
Found sudo at /usr/bin/sudo
Executing /usr/bin/sudo -S /opt/puppetlabs/bin/puppet cert --ssldir /etc/puppetlabs/puppet/ssl --list --all
and in Foreman i see all certificates.
Any idea? Can anyone help please.
Regards
mobios
Updated by Dominic Cleal almost 8 years ago
How were the hosts created? Are they "managed" in Foreman (button, top when editing it)?
Updated by Taner Tasar almost 8 years ago
Thank you for your help Dominic.
I forgot to press the managed button.
Ticket can closed.
Best regards
mobios