[git5046] Archlinux tftp + iPXE Menu
-
Hi,
I moved our FOG installation from Debian to Archlinux and noticed some Problems.
The tftp.service file created by the FOG install script does not work. The default file created by the tftp-hpa package works fine.
Changes made in FOG Configuration->iPXE Boot Menu cannot be saved. However changing the same settings in FOG Configuration->FOG Settings->FOG Boot Settings works as expected.
iPXE Advanced menu is not showing up on clients and adding custom entrys to it via “Menu Show With” doesn’t work either (still won’t show). But maybe I’m doing something wrong since there is no reference on how to work with these settings.
Edit:
Host List Breaks after time x when importing Hosts from file.
Apache error.AH01071: Got error 'PHP message: PHP Fatal error: Call to undefined function socket_strerror() in /srv/http/fog/lib/fog/Host.class.php on line 854\n', referer: http://"IP Removed"/fog/management/index.php?node=host&sub=search```
-
@Sodden Please update and let me know if this is fixed for you.
Apparently arch doesn’t enable common things so I have to code for each element needed. I have done so and just need verification.
-
Apparently the host list issue is related to a few bad entrys. I Imported a host list file from an older SVN version (which broke the host list after a few minutes) and exported it again after which I deleted all Hosts and reimported them resulting in the following:
Total Rows 37 Successful Host's 28 Failed Host's 9 Errors Row #4: This MAC Belongs to another host Row #6: This MAC Belongs to another host Row #7: This MAC Belongs to another host Row #12: This MAC Belongs to another host Row #17: This MAC Belongs to another host Row #20: This MAC Belongs to another host Row #26: This MAC Belongs to another host Row #28: This MAC Belongs to another host Row #29: This MAC Belongs to another host
I’ve attached both csv files. As far as I can see there are no overlapping MACs
host_export.csv
host_export_buefog02.csvEdit:
After Updating to 5048 importing the SVN host list file results in:Total Rows 37 Successful Host's 28 Failed Host's 9 Errors Row #4: Host already exists with this name: 100408B Row #6: Host already exists with this name: 100435B Row #7: Host already exists with this name: 100453B Row #12: Host already exists with this name: 100798LC Row #17: Host already exists with this name: 102173B Row #20: Host already exists with this name: BUEPACS23 Row #26: Host already exists with this name: buepc119 Row #28: Host already exists with this name: BUEPC372 Row #29: Host already exists with this name: BUETEST
Still weird but at least it doesn’t break it ;D.
-
Okay. solved the host list issue by clearing the tables hosts and hostMAC and then reimporting the csv file.
The PHP error message is gone as well after updating.