Snap-in Replication
-
Image replication is working great, however, i get this during the snap-in rep:
mirror: Access failed: 553 Could not create file. (camdf.bat)
Version 7853
-
This is likely related to this: https://forums.fogproject.org/topic/7472/host-group-replication-between-fog-servers
-
@Wayne-Workman so perhaps not fixed yet? if not thats fine. I was able to successfully image from the node, using the location plugin. So nice to see this start to come together.
-
Ok, updated again and I am still not having snapin replication working. Here is what the log shows:
mirror: Access failed: 553 Could not create file. (test.bat)
[05-26-16 9:04:30 pm] * Started sync for Snapin test3
lftp -e ‘set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:1024000; mirror -c -R -i test.bat --ignore-time -vvv --exclude ‘dev/’ --exclude ‘ssl/’ --exclude ‘CA/’ --delete-first /opt/fog/snapins /opt/fog/snapins; exit’ -u fog,[Protected] 10.106.2.149
[05-26-16 9:04:30 pm] | CMD:
[05-26-16 9:04:30 pm] * Starting Sync Actions
mirror: Access failed: 553 Could not create file. (caBOYSGYM.bat)
[05-26-16 9:04:29 pm] | Snapin name: test3
[05-26-16 9:04:29 pm] * Found Snapin to transfer to 2 node(s)
[05-26-16 9:04:29 pm] * Started sync for Snapin test2
lftp -e ‘set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:1024000; mirror -c -R -i caBOYSGYM.bat --ignore-time -vvv --exclude ‘dev/’ --exclude ‘ssl/’ --exclude ‘CA/’ --delete-first /opt/fog/snapins /opt/fog/snapins; exit’ -u fog,[Protected] 10.106.2.149
[05-26-16 9:04:29 pm] | CMD:
[05-26-16 9:04:29 pm] * Starting Sync Actions -
@adukes40 said in Snap-in Replication:
mirror: Access failed: 553 Could not create file
What does your /etc/vsftpd.conf look like?
What about permissions of the /opt/fog/snapins folders on both the node that’s failing to receive the file?
-
@Tom-Elliott conf looks like:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
seccomp_sandbox=NORights look like:
drwxr-xr-x 3 root root 4096 May 24 14:29 snapins
If you would rather have screenshots let me know and I will get those instead of copy/paste
Edit: Forgot to add, version 7895 now.
-
@adukes40 and if you run
chown -R /opt/fog/snapins
-
Sorry should be:
chown -R fog:root /opt/fog/snapins
-
@Tom-Elliott now looks like this:
drwxr-xr-x 3 fog root 4096 May 24 14:29 snapins
-
@Tom-Elliott and it looks like the node now has the 3 bat files. Thanks
-
@adukes40 no problem.