FOG no longer deploying images
We have been using Fog for the last few months now, and have been deploying/uploading several different images. Recently something has changed but we cant figure out what it is. Fog just seems to go into a boot loop while deploying images to both physical machines and virtual machines.
By looping it goes through PXE and gets to the Fog GUI interface. We register the machine and assign it an image to take. Everything goes fine and the client says it is going to shut down and deploy the image at a restart. At restart the client just goes back to the PXE GUI interface after several times boot-looping. If I select quick image it does the same.
This is happening with all out images. All but one has been deployed to several machines before this. There doesn’t seem to be a problem uploading images. And to us Fog looks okay. There is also no visible errors on the clients as to why they don’t take the image. I have seen this thread [url]http://www.fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url] but have not made the changes since Fog was working. When deploying an image, if I check the active tasks in Fog there is none, and if I go through the “basic tasks” option to deploy the image it, sometimes the task clears form task management and sometimes it doesn’t. We are using Fog 0.32 on a Xbuntu physical server.
Any help would be greatly appreciated.
Thanks for all the help, sorry I took so long to reply, tried several things and nothing seemed to work so just rebuilt the server.
The files called by the mac addresses there… 01-etc-etc are individual machine names… If you have no active tasks in the task management window on the FOG page chances are they’ve somehow got stuck there. I had a problem like that myself that was simply resolved by deleting them. Dont delete the default file though or you wont see the menu ever again
Also check the pxelinux.cfg directory itself for odd or invalid permissions.
ls -l /tftpboot/pxelinux.*
should do it.
Thank you for the reply,
We ran this and got this response:
[LEFT][FONT=arial][COLOR=#222222][COLOR=#000000]admin1@IM01:~$ ls -l /tftpboot/pxelinux.cfg/[/COLOR][/COLOR][/FONT][/LEFT]
[LEFT][FONT=arial][COLOR=#222222][COLOR=#000000]-rw-r–r-- 1 fog fog 429 2013-04-19 13:46 01-08-00-27-8b-ad-34[/COLOR][/COLOR][/FONT][/LEFT]
[LEFT][FONT=arial][COLOR=#222222][COLOR=#000000]-rw-r–r-- 1 fog fog 433 2013-03-14 12:06 01-e0-db-55-d3-af-bd[/COLOR][/COLOR][/FONT][/LEFT]
[LEFT][FONT=arial][COLOR=#222222][COLOR=#000000]-rw-r–r-- 1 fog root 2588 2013-04-15 15:37 default[/COLOR][/COLOR][/FONT][/LEFT]
[FONT=arial][COLOR=#222222]Not sure if that looks right or wrong. Any light on this would be much appreciated[/COLOR][/FONT]
Just wondering if its anything to do with files being stuck in /tftpboot/pxelinux.cfg that cant be removed for some reason? Perhaps permissions changed on the directory or something like that. Perhaps I’m barking up the wrong tree, I dont know, but its the only thing that springs to mind at the moment…
Check /tftpboot/pxelinux.cfg for any other files other than ‘default’ and then check permissions of that directory… I use ubuntu 10.04 and fog 0.32, my permissions are as follows:
755 on the /tftpboot/pxelinux.cfg directory owned by fog:root
and 644 on /pxelinux.cfg/default owned by fog:root