Image replication not working
-
Server
- FOG Version: 1.3.1-RC-5
- OS: 14.04.1-Ubuntu
Description
Just noticed that the image replication isn’t working. I restarted all machines and services with no success.
Checkedfogreplication.log
and it tells that the sync started for the missing image. But I can’t recognize any transfers between the nodes.[01-11-17 9:30:33 am] * Found Image to transfer to 2 nodes [01-11-17 9:30:33 am] | Image Name: sojus_win7_10012017 [01-11-17 9:30:34 am] * Starting Sync Actions [01-11-17 9:30:34 am] | CMD: lftp -e 'set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -R --ignore-time -vvv --exclude "dev/" --exclude "ssl/" --exclude "CA" --delete-first '/images/sojus_win7_10012017' \''/images/sojus_win7_10012017'\'; exit' -u fog,[Protected] X.X.X.X [01-11-17 9:30:34 am] * Started sync for Image sojus_win7_10012017 [01-11-17 9:30:35 am] | CMD: lftp -e 'set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -R --ignore-time -vvv --exclude "dev/" --exclude "ssl/" --exclude "CA" --delete-first '/images/sojus_win7_10012017' \''/images/sojus_win7_10012017'\'; exit' -u fog,[Protected] X.X.X.X [01-11-17 9:30:35 am] * Started sync for Image sojus_win7_10012017
Then I started the
FOGImagereplicator
usingsudo /usr/bin/php -q /opt/fog/service/FOGImageReplicator
Thats the output I get:
PHP Warning: fopen(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.fognode.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 252 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 257 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 261 PHP Warning: proc_open(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.fognode.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 730 PHP Warning: fopen(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.node-3.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 252 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 257 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/service/fogservice.class.php on line 261 PHP Warning: proc_open(sojus_win7_10012017./opt/fog/log/fogreplicator.transfer.node-3.log): failed to open stream: No such file or directory in /var/www/fog/lib/service/fogservice.class.php on line 730
The log files
fogreplicator.transfer.fognode.log
andfogreplicator.transfer.node-3.log
don’t exist in/opt/fog/log
.
However I see the filesfogreplicator.log.transfer.fognode.log
andfogreplicator.log.transfer.node-3.log
which exist. -
Confirmed, found, addressed, and in RC 6.
Thanks.