Project

General

Profile

Actions

Support #19385

closed

Foreman deleting host leaves certificate on puppetserver intact

Added by Taner Tasar almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

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


  1. 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

Actions #1

Updated by Dominic Cleal almost 7 years ago

How were the hosts created? Are they "managed" in Foreman (button, top when editing it)?

Actions #2

Updated by Taner Tasar almost 7 years ago

Thank you for your help Dominic.
I forgot to press the managed button.
Ticket can closed.

Best regards
mobios

Actions #3

Updated by Dominic Cleal almost 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF