r5767 Host is not registered / Invalid MAC after I set an image
-
Hello (again)
I have a message stating “Host is NOT registered” when I want to depoy an existing image to a computer.
Step to reproduce :
1 - Register the machine
2 - Reboot : Host is registered xx:xx:xx:xx:xx:xx (OK at this state)
3 - Go to All hosts, select host, associate an existing image
4 - Boot the machine : Host is NOT registered.
5 - Perform registration again : Invalid MAC address ! (it creates a duplicate entry in table “Hosts” aswell)Regards,
-
Same here on git 8279, also unable to capture images and such as a result.
-
Moved to bugs.
-
[Tue Jun 28 14:44:57.877194 2016] [:error] [pid 12917] [client 192.168.1.154:43948] PHP Fatal error: Uncaught exception 'Exception' with message 'Invalid MAC Address!' in /var/www/html/fog/lib/fog/wakeonlan.class.php:12\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(1002): WakeOnLan->send()\n#1 /var/www/html/fog/lib/fog/fogpagemanager.class.php(72): FOGPage->wakeEmUp()\n#2 /var/www/html/fog/management/index.php(23): FOGPageManager->render()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/wakeonlan.class.php on line 12
Apache error entry at capture task creation
-
-
I dont know if this is similar but I’m also seeing no available images to associate to when registering a new host. The list is blank.
I did try one that was registered but now when it try and capture it wouldnt work, well that was because of this bug you found. The machine wasn’t registered when i went and looked.
-
Tracking the database I see hostEnforce gets a “0” when you use the web interface. Simply editing the ImageID in database works.
-
Crosslinking similar issue:
https://forums.fogproject.org/topic/7938/not-capturing-images-trunk-revision-8279 -
I think this is related to this issue as well, when you choose Quick image it will say there are no images on the server.
All these issues trigger the same “Invalid mac address” bug in wakeonlan.class.php it seems
I think it might be a problem with isset as it always shows up explaining how to use it (indicating it’s not properly set?)
-
SHould be fixed in latest, please update again.
Sorry that’s the last time I try to cater to a warning thrown that isn’t really impeding function.
-
Also having this issue after upgrading to Running Version 8279 - SVN Revision: 5767
Checked Apache error log and it is identically to that posted by Quazz
-
@shird Should be fixed if you update again.
-
@Quazz On doing it now. Tom posted while I was writing my post out!
-
Updated to SVN R5769 and now getting “Cannot register host (/bin/fog.auto.reg)” when attempting to Quick Reg.
Full Registration sticks on trying to register and a blinking cursor while text flows upward off the screen.Apache error log showing the following:
PHP Fatal error: Call to a member function get() on string in /var/www/fog/lib/fog/host.class.php on line 373
-
@shird Same here.
-
@shird any way we can get you to run a little test?
-
@MRCUR Same for you?
-
I’m now seeing
[Tue Jun 28 11:30:53.031551 2016] [:error] [pid 1299] [client 10.93.16.174:57276] PHP Fatal error: Call to a member function getMasterStorageNode() on null in /var/www/html/fog/lib/reg-task/taskqueue.class.php on line 27
And I am unable to image or capture anything. IT will say its checking in but failed, and there are 0 before me.
-
@Tom-Elliott I can test if you need.
-
@Tom-Elliott seeing the same issues here. Attempting to register in an endless loop never registers. Happy to test whatever I can to help.