Discovery image download fails without puppet CA

I have a forman installed without puppet and puppet CA.
tried now installation of discovery plugin with automatic image installation:
foreman-installer --enable-foreman-proxy-plugin-discovery --foreman-proxy-plugin-discovery-install-images=true

This failed for downloading

[ERROR 2020-04-11T18:54:31 main] /Stage[main]/Foreman_proxy::Plugin::Discovery/Foreman_proxy::Remote_file[/var/lib/tftpboot/boot/fdi-image-latest.tar]/File[/var/lib/tftpboot/boot/fdi-image-latest.tar]/ensure: change from ‘absent’ to ‘file’ failed: Request to failed after 0.005 seconds: The CA certificates are missing from ‘/etc/puppetlabs/puppet/ssl/certs/ca.pem’

[root@foreman20 ~]# ll /etc/puppetlabs/puppet/ssl/certs/
total 0
[root@foreman20 ~]#

Expected outcome:
installation works

Foreman and Proxy versions:
foreman 2.0

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Hello and welcome!

I will let @ekohl to comment on the installer issue, but the workaround is to download the tar file manually to the location: /var/lib/tftpboot/boot/fdi-image-latest.tar and then re-run the installer and it will continue from there.

1 Like

This is Should be fixed in 6.15.0 but I don’t know when that’ll be released. For now I’d suggest the workaround from @lzap.

1 Like