SOLVED PXE can't find correct bootfile size
Just got below error after installing a main fog server and a storage node. Both of these are located different geographic locations. I also installed the location plugin.
NBP filesize is 0 Bytes
PXE-E23: Client Received TFTP error from server
@george1421 Good News! I got it to work. I noticed that I got bunch of alert about some host is trying to access the tftpd and httpd service. It was the firewall. At the beginning, while I was setting up the node, I typed systemctl stop firewalld; while I should have typed systemstl disable firewalld since I rebooted once.
And on the above ip address in /tftboot directory you have the ipxe.efi file? If everything looks good then on the remote fog server we will need to setup tcpdump and grab a pcap file of the booting process because something is going wrong here. All of the bits appear to be in place.
If you have questions on the pcap file, upload it to a google drive and either post the link here or IM me and I will take a look at it. I need to go off-line for a few hours, but I will be back later tonight.
@george1421 Correct. pointing to 192.168.134.230
@msi So this is at the remote location and you have the dhcp server sending out dhcp option 66 for the remote site’s storage node, and you are trying to pxe boot a uefi system?
@george1421 Trying to PXE boot at the remote site. Below is the settings from /opt/fog/.fogsettings:
Install time: Fri 06 Oct 2017 02:51:32 PM EDT
packages=‘bc curl gcc gcc-c++ gzip httpd lftp m4 make mariadb mariadb-server mod_ssl net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-process tar tftp-server unzip vsftpd wget xinetd ’
@msi Is this at the main site or the remote site?
@george1421 yes! option 67 is ipxe.efi. FYI: Main Fog server is a Hyper-V
Ok so since it references to NBP, you are booting a uefi system? What do you have configured for dhcp option 67? ipxe.efi?
At this point it is still a pxe issue and not related to FOG or location plugins.