Host is Not Registered
Apologies if I’m missing a similar thread.
Fog Version 1.1.2
I’m able to register a host. I can see it in the web portal. I checked the mysql database and everything looks right on that end. I schedule a task and boot the machine again.
Instead of executing the task, the FOG menu shows again with the header “Host is NOT Registered”. Attempting to reregister the host generates, without fail, a warning that it cannot register the host, as the host is already registered.
This feels like a networking issue. For some reason the client can’t see the MAC address of the NIC, and thus thinks the host is unregistered. However once the actual kernel runs it finds it and correctly declines to reregister it.
Any help would be appreciated.
Just what I thought. Thank you and the rest of the forum staff for your awesome support!
Cool, then nothing is needed to be done besides getting them back.
You may want to ensure the folders are proper permissions once copied back with:
chown -R fog:root /images chmod -R 777 /images
Other than that all should be great.
The images are 1.0.0 images, so they’re the same partclone images that 1.1.2 uses.
Are you coming from 0.32 with these images? Meaning are they partimage images?
Yeah, I’m pretty sure I just borked some part of the install. I went from using dnsmasq to handle the proxyDHCP requests to letting my DHCP server handle it. Every other issue I’ve had I haven’t had to go any further than this forum and/or the wiki.
My plan is to just FTP the images into /images, double check the permissions, and then add the images in via the the 10.x.x.x/fog interface. I’m assuming that is going to work, is there anything else I need to do?
I’m sorry I didn’t respond. I’m glad that this worked. I’ve had a couple of busy days. Thanks for reporting back and giving the solution though
I rebuilt my server using Ubuntu Server 12.04.4 LTS and reinstalled FOG and am no longer seeing this issue. Now I just need to FTP my images and test them and I’ll be good to go. I needed the kick in the pants to manage the server via CLI anyways.
I cleared the host table and reregistered the machine, same issue. Neither a full registration nor a quick registration make it though (cleared the host table for both).
Is there another table that I might need to dump the data from? I see that, with a host registered and in the hosts table, the hostMAC table is still empty. I would try inserting the record by hand, but that isn’t going to solve my issue in the long run.
Additionally the host number continues to increment (on 4 now), do I need to reset the keying for the table?
Fog 1.1.2 OS Ubuntu Desktop 12.04.4 LTS
Thank you for your help.
It didn’t create the host properly from the sounds of it. Likely a typo during the image association?
delete * from hosts where id='0';