Fog won't upload or download images or register computers.
-
I was using my fog all day today and it was working like a charm bringing down the image that I created. Then all of a sudden when I went to register a new host to bring down the image it lets me get to the page to choose to do a quick inventory or a full registration. I choose that and then it doesn’t come to the screen with all of the questions… It just gives me a blinking cursor.
I also tried to upload a new image I was working on , using a different computer, and I get a TFTP time out.
It is really strange because it was working very well the whole day on identical machines. We imaged about 15 machines before lunch.
-
@Sandi-Trogdon Sounds like a TFTP issue for sure. It could also be DHCP failing, or the 066 or 067 DHCP options changed. I suppose it could also be the fog server getting rebooted, and SELinux or Firewall becoming active again, or TFTP failing to start… There are many possibilities. Let’s start with simple stuff.
What OS & Version are you running FOG on?
What version of FOG? -
@Wayne-Workman ubuntu, fog is 1.2.1
-
@Sandi-Trogdon What version of Ubuntu, and there isn’t a 1.2.1 of FOG. The version number displays in or around the cloud logo, it’s in the top left of every page in the web interface.
-
@Wayne-Workman Sorry, Fog is 1.2.0 I am not at school so not sure of the Ubuntu version.
-
Well when you’re there, just try to restart TFTP. Find out what’s doing DHCP and see if anybody changed that. Below in the Troubleshoot TFTP article, there are example tests you can run to see if TFTP is working correctly. Also look at the other article too, good stuff in there.
https://wiki.fogproject.org/wiki/index.php/Booting_into_FOG_and_Uploading_your_first_Image
and
https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_TFTP -
@Wayne-Workman Ubuntu is 15.04
The strange thing is that when I try to register a workstation, it does go through the process and lets me actually pick the item “Full registration.” It is after that that I get only a blank screen with a blinking cursor.I will go through the info that you sent me and see what I can find out though. -
@Sandi-Trogdon What is your boot file set as? DHCP option 067.
-
@Wayne-Workman undionly.kpxe
-
@Wayne-Workman So I tried a few other computers and they seem to be working fine. The one I have the image on and need to upload is still giving me fits though. Here is a picture of what it is telling me now…!
-
@Sandi-Trogdon The picture is a huge help. So, on your fog server, run this:
cat /tftpboot/default.ipxe
and give us the output. -
@Wayne-Workman unlikely that will lead us anywhere as it cannot access the file.
@Sandi-Trogdon Is firewall possibly blocking access?
-
@Tom-Elliott said in Fog won't upload or download images or register computers.:
Is firewall possibly blocking access?
He said other computers are fine, so I doubt it’s firewall.
-
@Wayne-Workman fog@Image1:~$ cat /tftpboot/default.ipxe
#!ipxe
cpuid --ext 29 && set arch x86_64 || set arch i386
params
param mac0 ${net0/mac}
param arch ${arch}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain http://10.13.2.107/fog/service/ipxe/boot.php##paramsI have successfully downloaded to this computer, but when I had trouble uploading I deleted the host from my fog server and was trying to reregister it again. Prior to the failed upload it did install some Windows updates. Might one of them be the culprit?
-
@Wayne-Workman I did check on this machine and firewall is turned off.
-
@Sandi-Trogdon Can you post the entire photo? We need to see the other values, like what DHCP is giving, what boot file is being used, network configs… all that stuff is cut out in the photo you gave.
-
@Wayne-Workman Here is the rest of the info. It was actually on another screen
-
@Sandi-Trogdon said:
I did check on this machine and firewall is turned off.
Can you please run this command and post the output here:
sudo iptables -L -n -v
-
@Sebastian-Roth fog@Image1:~$ sudo iptables -L -n -v
[sudo] password for fog:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destinationChain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination -
@Sandi-Trogdon Ok, just wanted to make sure! Seems fine firewall-wise. Have you tried restarting the TFTP daemon?
sudo service tftpd-hpa restart