Problem: When configuring Foreman / Katello on Rocky Linux for deployment, it is unable to find ‘information from environment production source’
[root@foreman ~]# LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 foreman-installer
2021-08-09 18:53:57 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-08-09 18:54:01 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-08-09 18:54:01 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-08-09 18:54:12 [NOTICE] [configure] Starting system configuration.
2021-08-09 18:54:25 [NOTICE] [configure] 250 configuration steps out of 1986 steps complete.
2021-08-09 18:54:28 [NOTICE] [configure] 500 configuration steps out of 1986 steps complete.
2021-08-09 18:54:28 [NOTICE] [configure] 750 configuration steps out of 1990 steps complete.
2021-08-09 18:54:31 [NOTICE] [configure] 1000 configuration steps out of 1996 steps complete.
2021-08-09 18:54:32 [NOTICE] [configure] 1250 configuration steps out of 2000 steps complete.
2021-08-09 18:54:55 [NOTICE] [configure] 1500 configuration steps out of 2000 steps complete.
2021-08-09 18:54:59 [NOTICE] [configure] 1750 configuration steps out of 2854 steps complete.
2021-08-09 18:55:00 [NOTICE] [configure] 2000 configuration steps out of 2854 steps complete.
2021-08-09 18:55:00 [NOTICE] [configure] 2250 configuration steps out of 2854 steps complete.
2021-08-09 18:55:01 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Tftp::Netboot/File[/var/lib/tftpboot/grub2/grubx64.efi]: Could not evaluate: Could not retrieve information from environment production source(s) file:///boot/efi/EFI/redhat/grubx64.efi
2021-08-09 18:55:01 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Tftp::Netboot/File[/var/lib/tftpboot/grub2/shimx64.efi]: Could not evaluate: Could not retrieve information from environment production source(s) file:///boot/efi/EFI/redhat/shimx64.efi
2021-08-09 18:55:01 [NOTICE] [configure] 2500 configuration steps out of 2860 steps complete.
2021-08-09 18:55:02 [NOTICE] [configure] 2750 configuration steps out of 2860 steps complete.
2021-08-09 18:55:12 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
The full log is at /var/log/foreman-installer/katello.log
Expected outcome: It not to fail
Foreman and Proxy versions: 2.4
Foreman and Proxy plugin versions: Katello 4.1.2
Distribution and version: Rocky Linux 8
Other relevant data:
When creating a symlink from /boot/efi/EFI/redhat
to /boot/efi/EFI/rocky
all is working just fine.