Latest FOG 0.33b
-
Tom, I just got my v0.33beta FOG server vm back up and updated. I see the new columns we spoke about for the images (image size etc) Thanks!
I am having an problem getting an imaging task to start.
The issue I am seeing is that when I submit the imaging task, no file gets created in the /tftpboot/pxelinux.cfg directory specific to this host, so it just keeps rebooting due to the imaging task never actually starting, but the task being active in the db.
I checked permissions on the /tftpboot dir and the /tftpboot/pxelinux.cfg dir and both are 755 fog:root
Apache server runs as apache, so I changed the ownership to the apache user and re-tested. Still, no file is created for the host in pxelinux.cfg directory.
-
Iām going to guess that you updated from 0.32 to 0.33?
Did you adjust the options 66/67 so that it points at the undionly.kpxe file?
The /tftpboot/pxelinux.cfg folder is not used in 0.33 anymore. Tasks are generated/checked directly from the database.
Iāll find the post with the changes needed to the FOG settings page so things will work properly for you.
EDIT: Link for what FOG Settings need updating if upgrading from 0.32 to 0.33:
[url]http://fogproject.org/forum/threads/fog-wont-load-past-kernal_thread_helper-0x6-0x10.10319/#post-25466[/url]Did you clear the original tasks table so as not to cause issues with DEBUG Messages?
From mysql command in the fog database:
[code]truncate table tasks;[/code] -
[quote=āTom Elliott, post: 25885, member: 7271ā]Iām going to guess that you updated from 0.32 to 0.33?
Did you adjust the options 66/67 so that it points at the undionly.kpxe file?
The /tftpboot/pxelinux.cfg folder is not used in 0.33 anymore. Tasks are generated/checked directly from the database.
Iāll find the post with the changes needed to the FOG settings page so things will work properly for you.
Did you clear the original tasks table so as not to cause issues with DEBUG Messages?
From mysql command in the fog database:
[code]truncate table tasks;[/code][/quote]<facepalm>
Of course I didnāt follow any of the on-screen instructions when I ran the install.
I saw the dhcp options message and thought to myself āyeah, I already set up my dhcp server next-server optionā¦ Iām all setā¦ā
Sorry for the static!
Making modifications now.
-
Okā¦ I am new to iPXE and my first interaction does not appear to be a positive one.
My virtual test machine gets the undionly.kpxe from the tftp server, file prints out a few lines, and then hangs.
See image:
[ATTACH=full]672[/ATTACH]
If it matters/helps, my virtual machine is on a proxmox 3.1 server - so the VM is a qemu VM with a virtualized Intel e1000 NIC
[url=ā/_imported_xf_attachments/0/672_FOG-iPXE-20140423.png?:ā]FOG-iPXE-20140423.png[/url]
-
OK, I have determined that this does appear to be some type of incompatibility with a Proxmox qemu VM.
My laptop successfully iPXE booted into the new FOG menu with a 400 second countdown to HD boot. Which it then wanted to boot from SAN (which does not exist)
I see in : [url]http://192.168.254.9/fog/service/ipxe/boot.php##params[/url]
that the (default) local boot is defined as:
:fog.local
sanboot --no-describe --drive 0x80 || goto MENUI alse see (in the web admin interface) where to set the default timeout, but I do not see where to change the sanboot to /dev/sda1 (or whatever that option would need to be)
I would be happy to offer any additional information on my proxmox VM system to help in that regard.
Also, I tried the virtuo and realteck NICs in the VM with no changes to iPXE hanging. Any thoughts on the VM being 64bit vs 32 bit?
Thanks!
-
Bill,
Sanboot is not as youāre thinking it is. On most systems, that particular sequence of lines works great. That line really just tells the system to boot from the hard-drive.
However, there are some known issues where sanboot doesnāt like to operate properly. Most notably with HP and Dellās. For that, you have to change the sanboot lines to simply say exit and all should work.
-
wait. ignore the 64bit vs 32bit coment.
-
[quote=āTom Elliott, post: 25895, member: 7271ā]Bill,
Sanboot is not as youāre thinking it is. On most systems, that particular sequence of lines works great. That line really just tells the system to boot from the hard-drive.
However, there are some known issues where sanboot doesnāt like to operate properly. Most notably with HP and Dellās. For that, you have to change the sanboot lines to simply say exit and all should work.[/quote]
The laptop in question is an IBM Thinkpad (well, Lenovo).
Where do I modify the sanboot line? I see that the default.ipxe file specifies: [url]http://192.168.254.9/fog/service/ipxe/boot.php[/url]
But that php file creates the boot menu on the fly from a db query based on the hostās MAC address(es).
-
/var/www/fog/lib/fog/BootMenu.php
Lines: 107, 221, and 340 -
A little bit of help here, please?
installed latest FOG from svn onto ubuntu 14.04.
When trying to network boot from a client, it either works correctly, or says something like:[CODE]Configuring (net0 00:00:DE:AD:BE:EF)ā¦ ok
/default.ipxeā¦ Connection timed out (some ipxe urlā¦)[/CODE]How can I make it so it boots every time?
-
Just finished uploading an image, and now I get:
[CODE]* Image uploaded
- Task complete!
* FOGFTP: Login failed. Host: 192.168.x.y, Username: fog, Password: 2352489ccf2681c243c44dc8e2b3e852, Error: ftp_login(): Login incorrect.
* FOGFTP: Login failed. Host: 192.168.x.y, Username: fog, Password: 2352489ccf2681c243c44dc8e2b3e852, Error: ftp_login(): Login incorrect.
[ā¦]
[/CODE]
P.S.: I havenāt changed the default password after install. The only steps I performed were: register host, create image, assign image to host, upload image. And now I get the above. Any help?
Please? - Task complete!
-
Check your [FONT=Ubuntu][COLOR=#555555]FOG_TFTP_FTP_USERNAME[/COLOR][/FONT] and [FONT=Ubuntu][COLOR=#555555]FOG_TFTP_FTP_PASSWORD[/COLOR][/FONT]. Make sure these are correct.
-
This post is deleted! -
[quote=āWolfbane8653, post: 25920, member: 3362ā]Check your [FONT=Ubuntu][COLOR=#555555]FOG_TFTP_FTP_USERNAME[/COLOR][/FONT] and [FONT=Ubuntu][COLOR=#555555]FOG_TFTP_FTP_PASSWORD[/COLOR][/FONT]. Make sure these are correct.[/quote]
Coming back with the solution, I realised I couldnāt login via telnet localhost 21, using the correct password. After some digging and some pure luck, I found that /etc/passwd didnāt have any login shell for user fog. I added the shell and everything started working
-
[quote=āMr.Myagy, post: 25932, member: 23824ā]Coming back with the solution, I realised I couldnāt login via telnet localhost 21, using the correct password. After some digging and some pure luck, I found that /etc/passwd didnāt have any login shell for user fog. I added the shell and everything started working :)[/quote]
Glad you got it fixed, which OS are you running FOG on?
I have noticed this issue on Ubuntu 14.04 but havenāt the time to troubleshoot it yet.
-
[quote=āJaymes Driver, post: 25933, member: 3582ā]Glad you got it fixed, which OS are you running FOG on?
I have noticed this issue on Ubuntu 14.04 but havenāt the time to troubleshoot it yet.[/quote]
Ubuntu as recommended, 14.04 as the latest
-
[quote=āMr.Myagy, post: 25935, member: 23824ā]Ubuntu as recommended, 14.04 as the latest :D[/quote]
Actually, 14.04 isnāt supported as of yet, it was only released 6 days ago, I am working to try to find the pieces the need to be doctored to work with FOG, but my solid recommendation is Ubuntu 10.04-13.10
-
I managed to create a Windows 8 image, but the second computer loads PartClone, but only displays the first 2 lines on it, then hangs (for quite some time nowā¦). No loading bar, no nothing. last line is: Starting to restore image (-) to device (/dev/sda1)
I switched to PartImage and I only get a (very) blue screen with āPlease waitā¦ā. Nothing happens.Any help would be greatly appreciated as Iāve already lost 10 hours of today trying to do this (fog 0.32 and now fog 0.33).
-
r1480 released.
Adds an option to the pxe menu in fog configuration to change the Type from exit or sanboot.
-
r1481 released.
With this comes a few changes/tweaks to make things that little bit more user friendly.
The ipxe boot menu now has a gap between where it tells you itās registered or not and the actual menu items.
The ! at the end of the registered host is now removed.
Host/Group Management pages have changed titleās of Deploy/Upload to Download/Upload. Deploy, in my eyes, means to Send the tasking, where Download/Upload/etcā¦ are the actual jobs theyāre performing (e.g. Uploading from client to server, Downloading from server to client.)
blame.php now longer tries to reference the Functions class as it doesnāt exist anyway.
Fog Client link should work properly now.
Should allow for Hooks to be unregistered now if needed. (havenāt tested and donāt know anything about it.)
Hopefully you all enjoy, thanks.