Problem:
I can’t find boot files (PXE, EFI, …) after adding a new host for a new deployment. I am not able to find the message that tells me, why they don’t get created, copied or fail in general.
Expected outcome:
that PXE files and menu and kickstart files are created and present in the TFTP folder
[root@ac-foreman tftpboot]# pwd
/var/lib/tftpboot
[root@ac-foreman tftpboot]# foreman-installer --help | grep -i 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)
--foreman-proxy-tftp-syslinux-filenames Syslinux files to install on TFTP (full paths) (current: ["/usr/share/syslinux/chain.c32", "/usr/share/syslinux/mboot.c32", "/usr/share/syslinux/menu.c32", "/usr/share/syslinux/memdisk", "/usr/share/syslinux/pxelinux.0"])
[root@ac-foreman tftpboot]#
Foreman and Proxy versions:
Foreman just got an update to 3.2
Foreman and Proxy plugin versions:
Foreman just got an update to 3.2
Distribution and version:
[root@ac-foreman tftpboot]# uname -a
Linux ac-foreman.domain.local 3.10.0-1160.59.1.el7.x86_64 #1 SMP Wed Feb 23 16:47:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[root@ac-foreman tftpboot]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
Other relevant data:
The system was not used for month because of other priorities and no demand. we just did a update from one version to another and also a OS update.
My feeling is, that some permissions are maybe wrong or gone. using
foreman-installer --foreman-proxy-tftp=true
enabled TFTP again and the permissions on the file level are reset, as far as I can see.
I need help to look for the right places and and keywords. Maybe someone has a nice command at hand, that does a check of the permission or so? Feel free to ask. I can provide some logs if needed, but the question is which one from where.
Thanks a lot for the support.