Hi all,
Apologies in advance if I missed something obvious but I am new to Foreman/Puppet/Katello and I am still trying to get my head around it;/
We have recently upgraded our POC to Foreman 1.16 / Katello 3.5 hoping to test ovirt VM deployment (yay, image based template deployment now works!) but I have noticed few issues:
- Creation of new host (ovirt’s template based VM) fails if we use puppet (puppet environment, master, ca defined under ‘Create Host’)
Following error is visible:
Render user data template for XXX task failed with the following error: ERF12-0104 [ProxyAPI::ProxyException]: Unable to set PuppetCA autosign for XXX ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy https://XYZ:9090/puppet/ca
I can see following errors in /var/log/foreman-proxy/proxy.log
E, [2017-12-20T11:01:57.317899 3ddd5794] ERROR -- : Failed to enable autosign for XXX: No such file or directory - /etc/puppet/autosign.conf
I, [2017-12-20T11:01:57.318295 3ddd5794] INFO -- : 192.168.202.15 - - [20/Dec/2017:11:01:57 +0000] "POST /puppet/ca/autosign/XXX HTTP/1.1" 406 113 0.0013
Which is bit weird as config file exists here: /etc/puppetlabs/puppet/autosign.conf
and it already contains needed entry (domain name… yes, I know but hey)
I have checked Smart Proxy > Puppet CA and it seems like it’s pointing to non-existing autosign.conf file:
- With file missing – autosign file count = 0
- With manually created file – autosign file count = 1 (but VM creation still fails)
If we do not use puppet during host creation VM is created ok but it’s not registered as a content host – is this normally handled by puppet?
Any idea why puppet part is not working or is pointing to different config file?
Thanks in advance,
Tomasz