On čtvrtek 19. října 2017 20:12:43 CEST [email protected] wrote: > Normally when I provision a server, when puppet runs the host is > automatically added to Foreman. I recently worked on a de-provision > process and tested uses the api to delete a host. Afterwards on a > re-provision of the host I deleted, it is not being added to Foreman. Can > someone point me in the right direction? There is a step I am missing so > that will get that re-provisioned host back into Foreman.
Hello, double check the puppet ca, if it has still the old certificate for new host, the puppet bootstrap will fail since it tries to create new one with the same FQDN. Normally it should work fine but it depends how exactly you did de- provisioning. The cert should be revoked supposing the host was assign to the puppet ca while being deleted. If that's not the case, it would be good to check provisioning logs or try running manually on the newly provisioned host that does not appear to see why the initial puppet run fails. Hope this helps -- Marek -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
