Deploy image not using storage node and instead pulls from the master...
-
Also, if I look in /images/ on both servers. They have the SAME exact files as if it did replicate correctly…
-
Also, I just triple checked and ran chmod -R 777 /images
-
Full log here: (in reverse order - newest on top)
[05-11-18 2:18:20 pm] * Started sync for Image 7280test
lftp -e ‘set xfer:log 1; set xfer:log-file “/opt/fog/log/fogreplicator.7280test.transfer.10.4.11.114.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/7280test” “/images/7280test”; exit’ -u fog,[Protected] 10.4.11.114
[05-11-18 2:18:20 pm] | CMD:
[05-11-18 2:18:20 pm] * Starting Sync Actions
[05-11-18 2:18:20 pm] * Deleting remote file: /images/7280test/d1p1.img
[05-11-18 2:18:20 pm] | Files do not match.
[05-11-18 2:18:20 pm] | 25494537163 0 /images/7280test/d1p1.img ftp://fog:CCM2018@10.4.11.114/images/7280test/d1p1.img
[05-11-18 2:17:20 pm] * Deleting remote file: /images/7280test/d1p1.img
[05-11-18 2:17:20 pm] | Files do not match.
[05-11-18 2:17:20 pm] | 25494537163 0 /images/7280test/d1p1.img ftp://fog:CCM2018@10.4.11.114/images/7280test/d1p1.img
[05-11-18 2:16:19 pm] * Deleting remote file: /images/7280test/d1.partitions
[05-11-18 2:16:19 pm] | Files do not match.
[05-11-18 2:16:19 pm] | 132 0 /images/7280test/d1.partitions ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.partitions
[05-11-18 2:16:18 pm] * Deleting remote file: /images/7280test/d1.partitions
[05-11-18 2:16:18 pm] | Files do not match.
[05-11-18 2:16:18 pm] | 132 0 /images/7280test/d1.partitions ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.partitions
[05-11-18 2:16:16 pm] | 7280test: No need to sync d1.original.swapuuids file to 10.4.11.114
[05-11-18 2:16:14 pm] | 7280test: No need to sync d1.original.swapuuids file to 10.4.11.114
[05-11-18 2:16:09 pm] * Deleting remote file: /images/7280test/d1.original.fstypes
[05-11-18 2:16:09 pm] | Files do not match.
[05-11-18 2:16:09 pm] | 15 0 /images/7280test/d1.original.fstypes ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.original.fstypes
[05-11-18 2:16:06 pm] * Deleting remote file: /images/7280test/d1.original.fstypes
[05-11-18 2:16:06 pm] | Files do not match.
[05-11-18 2:16:06 pm] | 15 0 /images/7280test/d1.original.fstypes ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.original.fstypes
[05-11-18 2:16:04 pm] * Deleting remote file: /images/7280test/d1.minimum.partitions
[05-11-18 2:16:04 pm] | Files do not match.
[05-11-18 2:16:04 pm] | 132 0 /images/7280test/d1.minimum.partitions ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.minimum.partitions
[05-11-18 2:16:00 pm] * Deleting remote file: /images/7280test/d1.minimum.partitions
[05-11-18 2:16:00 pm] | Files do not match.
[05-11-18 2:16:00 pm] | 132 0 /images/7280test/d1.minimum.partitions ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.minimum.partitions
[05-11-18 2:15:56 pm] * Deleting remote file: /images/7280test/d1.mbr
[05-11-18 2:15:56 pm] | Files do not match.
[05-11-18 2:15:56 pm] | 1048576 0 /images/7280test/d1.mbr ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.mbr
[05-11-18 2:15:52 pm] * Deleting remote file: /images/7280test/d1.mbr
[05-11-18 2:15:52 pm] | Files do not match.
[05-11-18 2:15:52 pm] | 1048576 0 /images/7280test/d1.mbr ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.mbr
[05-11-18 2:15:47 pm] * Deleting remote file: /images/7280test/d1.fixed_size_partitions
[05-11-18 2:15:47 pm] | Files do not match.
[05-11-18 2:15:47 pm] | 1 0 /images/7280test/d1.fixed_size_partitions ftp://fog:CCM2018@10.4.11.114/images/7280test/d1.fixed_size_partitions
[05-11-18 2:15:43 pm] | 7280test: No need to sync d1.fixed_size_partitions file to 10.4.11.114
[05-11-18 2:15:37 pm] | Image Name: 7280test
[05-11-18 2:15:37 pm] * Found Image to transfer to 1 node
[05-11-18 2:15:37 pm] * Attempting to perform Group -> Nodes image replication.
[05-11-18 2:15:37 pm] | There are no other members to sync to.
[05-11-18 2:15:37 pm] | Image Name: 7280test
[05-11-18 2:15:37 pm] * Not syncing Image between groups
[05-11-18 2:15:37 pm] * Started sync for Image dev/postinitscripts
lftp -e ‘set xfer:log 1; set xfer:log-file “/opt/fog/log/fogreplicator…transfer.10.4.11.114.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/dev/postinitscripts” “/images/dev/postinitscripts”; exit’ -u fog,[Protected] 10.4.11.114
[05-11-18 2:15:37 pm] | CMD:
[05-11-18 2:15:37 pm] * Starting Sync Actions -
Also, if I use FileZilla, FTP into both the Storage Node and Master Node, I can view the /images/ folder along with the correct image files. They are both 100% mirrored, but the replicator log is failing “files do not match”, but they do…
Any ideas?
-
Mind installing the github working branch? I’ve essentially rewritten a majority of replication to try to take account of things mroe properly. It appears to be working from what i can see, but a real live test would go a lot further than my testing something I’m coding for.
-
@tom-elliott Are you talking about downloading the stable version? 1.5.1?
https://github.com/FOGProject/fogproject
^ that is where I am looking. I don’t see the “github working branch” anywhere.
-
-
@tom-elliott Do I have to uninstall fog completely before running git checkout working
-
@vince-villarreal nope
-
@tom-elliott So I went ahead and did the working branch, and I am seeing something new in my Replicator Log. I see now a new line of
------->>>>>> [05-11-18 8:02:29 pm] * All files synced for this item.
[05-11-18 8:02:29 pm] | postdownloadscripts: No need to sync fog.postdownload file to 10.4.11.114
[05-11-18 8:02:19 pm] | File Name: postdownloadscripts
[05-11-18 8:02:19 pm] * Found Image to transfer to 1I have never seen this line before in my replicator log so hopefully once the image gets pulled over it will say "All files synced for this item*
What do you think? Good chance it will work now?
-
@vince-villarreal that’s the hope and those lines are added specifically so you can track the status more appropriately.