Problem: I’m upgrading from 1.24 to 2.3, via 2.0 and my upgrade has failed via the foreman-installer with the error:
/Stage[main]/Foreman_proxy::Plugin::Discovery/Foreman_proxy::Remote_file[/v
ar/lib/tftpboot/boot/fdi-image-latest.tar]/File[/var/lib/tftpboot/boot/fdi-
image-latest.tar]: Could not evaluate: Could not retrieve file metadata for
http://downloads.theforeman.org/discovery/releases/3.5/fdi-image-latest.tar
: execution expired
This error was persistent in upgrades 1.21, 1.22, 1.23 and 1.24. However, foreman-installer continued to launch Foreman UI. However, in this 2.0 upgrade, this error stops foreman-installer serving the application.
The host the Foreman sits on does not have internet access. I tried configuring the puppet.conf file to include the http_proxy_host
and http_proxy_port
config options to point to our proxy so Foreman might be able to reach the outside, but I did not have any luck. I also manually downloaded the fdi-image-latest.tar
file and placed it in the correct directory, but foreman-installer continues to try to download the file itself.
Expected outcome: Ignore the error and continue to launch Foreman or use the file in the directory /var/lib/tftpboot/boot/fdi-image-latest.tar
and continue with the installation
Foreman and Proxy versions: 2.0
Foreman and Proxy plugin versions: 2.0
Distribution and version: Ubuntu 18.04
Other relevant data: