Chainloading failed - location plugin - multi-server setup
-
Server
- FOG Version: 1.3.0 RC-15 latest version as of an hour ago.
- OS: CentOs 7
Description
We’re using the location plugin, this has been setup for a long time and working. Today I upgraded from RC-14 to 15.
We have registered hosts that have an image assigned, the proper location assigned to them. When we try to network boot them in fog, select “Deploy Image”, authenticate, pick the right image we get a chainloading error.
We’re using the file
/tftpboot/10secdelay/undionly.kkpxe
and the model is a Lenovo s30. We’re running through a L2 dumb switch due to portfast issues that we can’t help at the moment. -
These apache errors may or may not be related, I’m unsure:
[Tue Oct 25 09:44:00.498947 2016] [:error] [pid 19673] [client 10.13.8.38:50090] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/plugins/location/hooks/addlocationgroup.hook.php on line 63, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=119 [Tue Oct 25 09:43:37.967956 2016] [:error] [pid 19675] [client 10.13.8.38:50080] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 712, referer: http://10.51.1.53/fog/management/index.php?node=task&sub=active [Tue Oct 25 09:40:55.985457 2016] [:error] [pid 19675] [client 10.13.32.152:54355] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/plugins/location/hooks/addlocationgroup.hook.php on line 63, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=119 [Tue Oct 25 09:30:51.588843 2016] [:error] [pid 19671] [client 10.13.32.152:54209] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 712, referer: http://10.51.1.53/fog/management/index.php?node=task&sub=active
-
I would think the addlocationgroup hook is on display of the group page dealing with locations. I cannot fix right now, but the error’s are likely relating to page, not chainloading failed. What’s the output from going to the boot with the relevant host’s mac address?
-
I believe the default.ipxe file is missing from your /tftpboot/10secdelay/ folder, which would cause the chainloading error btw.
-
@Tom-Elliott I copied that file and it worked.
cp /tftpboot/default.ipxe /tftpboot/10secdelay/default.ipxe
However this is still something that needs addressed in the installer. Just copy the file each time.
-
@Wayne-Workman This isn’t something that can be addressed. The idea of the 10secdelay folder is a replacement to the normal default.
You’ll notice the 10secdelay has the exact same layout as the parent folder (less the 10secdelay folder itself).
The usage for the 10secdelay is a specialized mode to be setup either on command line call:
tftpdirsrc="../packages/tftp/10secdelay" ./installfog.sh -y
OR define tftpdirsrc in your fogsettings file and run the installer. -
@Tom-Elliott yup, I get that now. I wasn’t thinking earlier when I pathed 067 into that directory directly. From now on I’ll just copy a file over if I need to try it.
-
@Wayne-Workman That’s fine, I just wanted to make it somewhat documented so others who may need to use it, or are seeing similar type things have something to actually look at and use going forward.