Upgraded to 1.5.10.2482 - Now problems with replication to nodes
-
Hi,
I upgraded to 2482 today.
Main System Ubuntu 24.04
MasterNode with 2 Storage Nodes (one newly added after upgrading).Before upgrading everything worked fine. Images and Snapins where spread automatically.
After upgrading I get error message in servicemaster.log:
[18-Sep-2026 13:56:56 UTC] PHP Warning: Undefined property: stdClass::$pass in /var/www/html/fog/lib/service/fogservice.class.php on line 559 [18-Sep-2026 13:56:59 UTC] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 494As in fogreplicator.log:
[09-18-26 3:56:01 pm] * Error: FTP login rejected by fognode-2 for user fogproject [09-18-26 3:56:01 pm] | Check the password stored for this nodeAnd in fogsnapinrep.log:
[09-18-26 3:58:19 pm] * Error: FTP login rejected by fognode for user fogproject [09-18-26 3:58:19 pm] | Check the password stored for this nodeSeems as the password from user fogproject is wrong on both Nodes?
I tried to login to the nodes ftp from the master with the password from webgui. This worked fine.Any suggestions?
-
@mp12 Thanks for the logs. This is a bug in 1.5.10.2482, not your node passwords.
A security change in 2482 removes the storage node password from the node data that the API returns. The image and snapin replicators read their node list from that same data. So they now send an empty password, and every node rejects the login. The
Undefined property: stdClass::$passwarning is that missing field.The fix is merged to dev-branch: https://github.com/FOGProject/fogproject/pull/1770
To get it now, update from dev-branch:
cd /path/to/fogproject git checkout dev-branch git pull cd bin sudo ./installfog.sh -yOr wait for the next stable release. Your stored passwords are correct, so you do not need to change anything on the nodes.