Fog 1.3.0 Blank Screen when deploying an image
-
All,
I didn’t know if this was an appropriate place to file this as a bug report as it isn’t necessarily a bug but rather should just display a message when the condition occurs.Server:
Ubuntu 14.04
PHP 5.5.9
Fog 1.3.0 (SVN build [FONT=Ubuntu][COLOR=#555555]2421)[/COLOR][/FONT]I had two storage groups, one of which had no nodes assigned in the group. When this occurs, and a host is still pointing to an image associated with a storage node group that doesn’t have a node, and you click create a deployment task for the host, it displays a blank page.
After turning on php errors, I found that it wasn’t connect using the FTP username and password provided which was odd as the upload of an image worked just fine. This lead me to change the images to point to the correct group and appears to have resolved the problem.
Would it be possible to add a check so that when you try to deploy an image with no storage nodes associated in the group for it to display a message instead of a blank page? I think this could help some people in the future.
Thanks! -
I can’t say for sure it’s going to work, but I’ve added elements to throw an error if the storage group fails or if the storage node fails to be set in the checkIfExists function. Hopefully this will work for what you’re specifying and give a message rather than a blank white page.
SVN 2476