“Create New Snapin” link gives me an error back
-
Dear community!
A wonderful hello to everyone!I am new in this matter and not really a linux specialist. I am using CentOS 8 as host OS for fogproject. The Storage Node is linked to a Windows Server 2019.
Unfortunately, I have problems with the snapin page. When I try to call the “Create New Snapin” link, the page returns the following error message: “Gateway Timeout The gateway did not receive a timely response from the upstream server or application.” (http://xxx.xxx.xxx.xxx/fog/management/index.php?node=snapin&sub=add)
I already captured and deployed images, which worked so far quite well.Does someone have any idea how to solve this issue? Thanks for all replies in advance and thanks to all creators releasing this amazing project.
-
@epix How did you connect FOG to the Windows 2019 server?
Did you follow this PoC document? https://forums.fogproject.org/topic/10097/setting-up-a-windows-2012-server-as-a-fog-storage-node
On the positive side the snapins use the same underlying communication methods as imaging. So if imaging is working you should be able to get the snapins to work.
The Gateway Timeout message is that Apache asked php-fpm to process some php code, but php-fpm threw an error and did not return anything back to apache, which caused the time out. So you will want to inspect the php-fpm error log in /var/logs directory.
-
@george1421 Thank you for the hint and link! I followed this guide to set up the storage node:
https://wiki.fogproject.org/wiki/index.php/Windows_Storage_Node#Windows_Storage_NodeBut as I can see, the process is a bit more complex. I will work through your guide and I give you a report afterwards. Thanks again for your help
-
@epix Yeah I’ve never seen that wiki instructions. My setup was done ignorant of the settings in that document.
Just be aware that using a windows server as a storage node is not supported by the FOG developers. That doesn’t mean it won’t work but windows servers were never tested and approved by the developers. But neither is using a NAS but that works too.