Replication fails

GreaseMonkey88

Dabbler
Joined
Dec 8, 2019
Messages
27
Hi guys,
I have a replication task that runs over VPN, usually fine. Today the replication did not finish, the status was some kind of stuck. So I disconnected VPN and TrueNAS stopped the replication task with an error. After reconnecting VPN I started the replication task again and immediately got this error:

[2021/07/30 06:32:01] INFO [Thread-95] [zettarepl.paramiko.replication_task__task_3] Connected (version 2.0, client OpenSSH_8.4-hpn14v15)
[2021/07/30 06:32:01] INFO [Thread-95] [zettarepl.paramiko.replication_task__task_3] Authentication (publickey) successful!
[2021/07/30 06:32:02] INFO [replication_task__task_3] [zettarepl.replication.run] No snapshots to send for replication task 'task_3' on dataset 'RedPool-8TB/DEVONthink'
[2021/07/30 06:32:02] INFO [replication_task__task_3] [zettarepl.replication.run] No snapshots to send for replication task 'task_3' on dataset 'RedPool-8TB/DiaShooterJPEG'
[2021/07/30 06:32:03] INFO [replication_task__task_3] [zettarepl.replication.run] Resuming replication for destination dataset 'RedPro-8TB-Pool/HDZsync/Photos'
[2021/07/30 06:32:03] INFO [replication_task__task_3] [zettarepl.replication.run] For replication task 'task_3': doing push from 'RedPool-8TB/Photos' to 'RedPro-8TB-Pool/HDZsync/Photos' of snapshot=None incremental_base=None receive_resume_token='1-12b106...20-7...64000....dc82a2d....f172c95' encryption=False
[2021/07/30 06:32:03] INFO [replication_task__task_3] [zettarepl.paramiko.replication_task__task_3.sftp] [chan 15] Opened sftp connection (server version 3)
[2021/07/30 06:32:03] INFO [replication_task__task_3] [zettarepl.transport.ssh_netcat] Automatically chose connect address '10.0.1.32'
[2021/07/30 06:32:03] ERROR [replication_task__task_3] [zettarepl.replication.run] For task 'task_3' unhandled replication error SshNetcatExecException(ExecException(1, 'signal received\n'), ExecException(1, 'destination RedPro-8TB-Pool/HDZsync/Photos contains partially-complete state from "zfs receive -s".\n'))
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 163, in run_replication_tasks
retry_stuck_replication(
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/stuck.py", line 18, in retry_stuck_replication
return func()
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 164, in <lambda>
lambda: run_replication_task_part(replication_task, source_dataset, src_context, dst_context,
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 252, in run_replication_task_part
resumed = resume_replications(step_templates, observer)
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 448, in resume_replications
run_replication_step(step_template.instantiate(receive_resume_token=receive_resume_token), observer,
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 714, in run_replication_step
ReplicationProcessRunner(process, monitor).run()
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/process_runner.py", line 33, in run
raise self.process_exception
File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/process_runner.py", line 37, in _wait_process
self.replication_process.wait()
File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/ssh_netcat.py", line 198, in wait
raise SshNetcatExecException(connect_exec_error, self.listen_exec_error) from None
zettarepl.transport.ssh_netcat.SshNetcatExecException: signal received
destination RedPro-8TB-Pool/HDZsync/Photos contains partially-complete state from "zfs receive -s".
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

GreaseMonkey88

Dabbler
Joined
Dec 8, 2019
Messages
27
That did work! Thanks! :smile:
 
Top