I modified Post_Stage2.php to echo all the connection information if the ftp was faulty.
And found that these settings:
define( “STORAGE_HOST”, “10.1.1.23” );
define( “STORAGE_FTP_USERNAME”, “fog” );
define( “STORAGE_FTP_PASSWORD”, “e2d425f4d11583******deb0a6c7517b” );
define( “STORAGE_DATADIR”, “/images/” );
define( “STORAGE_DATADIR_UPLOAD”, “/images/dev/” );
Has nothing to do whatsoever with storage node FTP access.
With version 0.32 it seems that they are never used, not what I can tell from the image upload process atleast.
Its only the storage node ip/host address and the management username and password that is used when connecting to ftp.
This caused a problem when the SAN/NAS I was using gave different root path depending if you where accessing the share trough NFS or FTP.
NFS needed /volumes/main/FogImages/ as path to image files.
FTP only needed / as path.
And since only one path can be specified in the settings (I guess both ftp and nfs path should be the same on a “normal” scenario) I had to change to another SAN/NAS we had to store the image files that gave the same path to images no matter what protocol.
So problem is resolved.
However I have not been able to find where the STORAGE_ variables in the config.php are used. They seem deprecated.