Not creating files under tftproot directory when provisioned hosts in foreman

Problem: Files are not creating under tftproot directory

Expected outcome: Files should create under tftproot directory when provisioned hosts in foreman

Foreman and Proxy versions: foreman-release-3.10.0-1 and foreman-proxy-3.10.0-1

Foreman and Proxy plugin versions:

Distribution and version: Red Hat Enterprise Linux release 9.3

Other relevant data: TFTP Socket/Services is up and running and also servigng files.
We have enabled TFTP module under proxy.

Issue: when deploying a new template using TFTPboot for Linux it is not creating the necessary files under tftproot directory, files with the mac details for the provisioned hosts. it also has the necessary permission on the tftproot directory.

[ ~]# foreman-installer --help|grep tftp
–foreman-proxy-tftp Enable TFTP feature (current: true)
–foreman-proxy-tftp-dirs Directories to be create in $tftp_root (current: UNDEF)
–foreman-proxy-tftp-listen-on TFTP proxy to listen on https, http, or both (current: “https”)
–foreman-proxy-tftp-manage-wget If enabled will install the wget package (current: true)
–foreman-proxy-tftp-managed The TFTP daemon is managed by this module. (current: true)
–foreman-proxy-tftp-replace-grub2-cfg Determines if grub2.cfg will be replaced (current: false)
–foreman-proxy-tftp-root TFTP root directory (current: “/var/lib/tftpboot”)
–foreman-proxy-tftp-servername Defines the TFTP Servername to use, overrides the name in the subnet declaration (current: UNDEF)

Be careful; the RHEL9 support is in an experimental phase.

Few questions:

  • Is this a new instance, or have you upgraded from the older one?
  • What were the foreman-install parameters when you installed it?
  • Any errors in the foreman-installer log? /var/log/foreman-installer/
  • Any errors in the foreman/smart-proxy logs? /var/log/foreman