• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    New FOG server, images not syncing to other node

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    5
    465
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kafluke
      last edited by Sebastian Roth

      I have rebuilt our main FOG server and our two other nodes. One of the nodes (Buffalo) has all the images there already. The other node (Dallas) is completely blank, no images. I checked the replicator log and this is what I’m seeing:

      [04-23-19 3:30:03 pm]  * Found Image to transfer to 2 nodes
      [04-23-19 3:30:03 pm]  | Image Name: Windows 7 Pro Generic 64-bit
      [04-23-19 3:30:05 pm]   # Windows 7 Pro Generic 64-bit: No need to sync d1.fixed_size_partitions (Buffalo Storage Node)
      [04-23-19 3:30:06 pm]   # Windows 7 Pro Generic 64-bit: No need to sync d1.mbr (Buffalo Storage Node)
      [04-23-19 3:30:07 pm]   # Windows 7 Pro Generic 64-bit: No need to sync d1.minimum.partitions (Buffalo Storage Node)
      [04-23-19 3:30:07 pm]   # Windows 7 Pro Generic 64-bit: No need to sync d1.original.fstypes (Buffalo Storage Node)
      [04-23-19 3:30:08 pm]   # Windows 7 Pro Generic 64-bit: No need to sync d1.original.swapuuids (Buffalo Storage Node)
      [04-23-19 3:30:08 pm]   # Windows 7 Pro Generic 64-bit: No need to sync d1.partitions (Buffalo Storage Node)
      [04-23-19 3:30:09 pm]   # Windows 7 Pro Generic 64-bit: No need to sync d1p1.img (Buffalo Storage Node)
      [04-23-19 3:30:09 pm]   # Windows 7 Pro Generic 64-bit: File size mismatch - d1p2.img: 3336539776 != 33988878
      [04-23-19 3:30:09 pm]   # Windows 7 Pro Generic 64-bit: Deleting remote file d1p2.img
      [04-23-19 3:30:10 pm]  * Starting Sync Actions
      [04-23-19 3:30:10 pm]  | CMD: lftp -e 'set xfer:log 1; set xfer:log-file /opt/fog/log/fogreplicator.Windows 7 Pro Generic 64-bit.transfer.Buffalo Storage Node.log;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c --parallel=20 -R --ignore-time -vvv --exclude ".srvprivate" "/images/Windows7ProGeneric64-bit" "/images/Windows7ProGeneric64-bit"; exit' -u fog,[Protected] 192.168.0.75
      [04-23-19 3:30:10 pm]  | Started sync for Image Windows 7 Pro Generic 64-bit - Resource id #2300
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1.fixed_size_partitions (Dallas Storage Node)
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1.mbr (Dallas Storage Node)
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1.minimum.partitions (Dallas Storage Node)
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1.original.fstypes (Dallas Storage Node)
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1.original.swapuuids (Dallas Storage Node)
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1.partitions (Dallas Storage Node)
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1p1.img (Dallas Storage Node)
      [04-23-19 3:30:11 pm]   # Windows 7 Pro Generic 64-bit: File does not exist d1p2.img (Dallas Storage Node)
      [04-23-19 3:30:11 pm]  | CMD: lftp -e 'set xfer:log 1; set xfer:log-file /opt/fog/log/fogreplicator.Windows 7 Pro Generic 64-bit.transfer.Dallas Storage Node.log;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c --parallel=20 -R --ignore-time -vvv --exclude ".srvprivate" "/images/Windows7ProGeneric64-bit" "/images/Windows7ProGeneric64-bit"; exit' -u fog,[Protected] 192.168.12.75
      [04-23-19 3:30:11 pm]  | Started sync for Image Windows 7 Pro Generic 64-bit - Resource id #2316
      sh: -c: line 0: syntax error near unexpected token `('
      sh: -c: line 0: `lftp -e 'set xfer:log 1; set xfer:log-file /opt/fog/log/fogreplicator.Windows 7 Pro Generic 64-bit.transfer.Dallas Storage Node.log;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c --parallel=20 -R --ignore-time -vvv --exclude ".srvprivate" "/images/Windows7ProGeneric64-bit" "/images/Windows7ProGeneric64-bit";exit' -u fog,xxxxxxxxx; 192.168.12.75'
      [04-23-19 3:30:11 pm]  * Found Image to transfer to 2 nodes
      [04-23-19 3:30:11 pm]  | Image Name: Windows Server 2016 Generic
      [04-23-19 3:30:12 pm]   # Windows Server 2016 Generic: No need to sync d1.fixed_size_partitions (Buffalo Storage Node)
      [04-23-19 3:30:13 pm]   # Windows Server 2016 Generic: No need to sync d1.mbr (Buffalo Storage Node)
      [04-23-19 3:30:13 pm]   # Windows Server 2016 Generic: No need to sync d1.minimum.partitions (Buffalo Storage Node)
      [04-23-19 3:30:14 pm]   # Windows Server 2016 Generic: No need to sync d1.original.fstypes (Buffalo Storage Node)
      [04-23-19 3:30:14 pm]   # Windows Server 2016 Generic: No need to sync d1.original.swapuuids (Buffalo Storage Node)
      [04-23-19 3:30:15 pm]   # Windows Server 2016 Generic: No need to sync d1.partitions (Buffalo Storage Node)
      [04-23-19 3:30:15 pm]   # Windows Server 2016 Generic: File size mismatch - d1p1.img: 333360400 != 33090750
      [04-23-19 3:30:15 pm]   # Windows Server 2016 Generic: Deleting remote file d1p1.img
      [04-23-19 3:30:16 pm]   # Windows Server 2016 Generic: File size mismatch - d1p2.img: 4333598202 != 31229352
      [04-23-19 3:30:16 pm]   # Windows Server 2016 Generic: Deleting remote file d1p2.img
      [04-23-19 3:30:16 pm]  * Starting Sync Actions
      [04-23-19 3:30:16 pm]  | CMD: lftp -e 'set xfer:log 1; set xfer:log-file /opt/fog/log/fogreplicator.Windows Server 2016 Generic.transfer.Buffalo Storage Node.log;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c --parallel=20 -R --ignore-time -vvv --exclude ".srvprivate" "/images/WindowsServer2016Generic" "/images/WindowsServer2016Generic"; exit' -u fog,[Protected] 192.168.0.75
      [04-23-19 3:30:16 pm]  | Started sync for Image Windows Server 2016 Generic - Resource id #2372
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1.fixed_size_partitions (Dallas Storage Node)
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1.mbr (Dallas Storage Node)
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1.minimum.partitions (Dallas Storage Node)
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1.original.fstypes (Dallas Storage Node)
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1.original.swapuuids (Dallas Storage Node)
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1.partitions (Dallas Storage Node)
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1p1.img (Dallas Storage Node)
      [04-23-19 3:30:17 pm]   # Windows Server 2016 Generic: File does not exist d1p2.img (Dallas Storage Node)
      [04-23-19 3:30:17 pm]  | CMD: lftp -e 'set xfer:log 1; set xfer:log-file /opt/fog/log/fogreplicator.Windows Server 2016 Generic.transfer.Dallas Storage Node.log;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c --parallel=20 -R --ignore-time -vvv --exclude ".srvprivate" "/images/WindowsServer2016Generic" "/images/WindowsServer2016Generic"; exit' -u fog,[Protected] 192.168.12.75
      [04-23-19 3:30:17 pm]  | Started sync for Image Windows Server 2016 Generic - Resource id #2388
      sh: -c: line 0: syntax error near unexpected token `('
      sh: -c: line 0: `lftp -e 'set xfer:log 1; set xfer:log-file /opt/fog/log/fogreplicator.Windows Server 2016 Generic.transfer.Dallas Storage Node.log;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30;  mirror -c --parallel=20 -R --ignore-time -vvv --exclude ".srvprivate" "/images/WindowsServer2016Generic" "/images/WindowsServer2016Generic";exit' -u fog,xxxxxxxxxx; 192.168.12.75'
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #806
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #884
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #962
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1052
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1142
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1232
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1310
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1382
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1472
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1544
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1616
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1688
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1778
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1850
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #1928
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #2015
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #2087
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #2159
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #2244
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #2316
      [04-23-19 3:30:17 pm]  | Sync finished - Resource id #2388
      
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @kafluke Moved your post to bug reports as I see we have an issue in the code. Will try to fix this as soon as possible.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • K
          kafluke
          last edited by

          Thank you!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @kafluke Fixed in dev-branch. If you are already using this then just update to the latest. Otherwise you might just want to manually add this fairly simple fix on your master node.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            K 1 Reply Last reply Reply Quote 0
            • K
              kafluke @Sebastian Roth
              last edited by

              @Sebastian-Roth Thanks, its properly replicating now

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              171

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project