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.
    Checked fogreplication.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 using

    sudo /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 and fogreplicator.transfer.node-3.log don’t exist in /opt/fog/log.
    However I see the files fogreplicator.log.transfer.fognode.log and fogreplicator.log.transfer.node-3.log which exist.


  • Senior Developer

    Confirmed, found, addressed, and in RC 6.

    Thanks.


Log in to reply
 

352
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.