Details
-
Bug
-
Status: Done (View Workflow)
-
Low
-
Resolution: Complete
-
12.0-RELEASE
-
None
-
Medium
Description
Encrypted dataset fails to replicate with "Full Filesystem Replication" on complaining about raw flag not set.
I saw 2 issues around this - both closed and merged and I'm on latests 12.0-RELEASE so opening this one.
I tried to remove target dataset to let it recreate - didn't help.
Only after I turned off full filesystem replication it started to work.
"Include Dataset Properties" was on in either case.
[2020/11/05 08:21:52] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task 'task_5': doing push from 'raid' to 'backup/raid' of snapshot='auto-2020-11-05_03-00' incremental_base='auto-2020-11-04_03-00' receive_resume_token=None
[2020/11/05 08:21:52] ERROR [replication_task__task_5] [zettarepl.replication.run] For task 'task_5' unhandled replication error ExecException(1, "cannot send raid@auto-2020-11-05_03-00: encrypted dataset raid/backup may not be sent with properties without the raw flag\nwarning: cannot send 'raid@auto-2020-11-05_03-00': backup failed\ncannot receive: failed to read from stream\n")
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/run.py", line 145, in run_replication_tasks
run_replication_task_part(replication_task, source_dataset, src_context, dst_context, observer)
File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/run.py", line 219, in run_replication_task_part
run_replication_steps(step_templates, observer)
File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/run.py", line 490, in run_replication_steps
replicate_snapshots(step_template, incremental_base, snapshots, observer)
File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/run.py", line 540, in replicate_snapshots
run_replication_step(step_template.instantiate(incremental_base=incremental_base, snapshot=snapshot), observer)
File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/run.py", line 605, in run_replication_step
ReplicationProcessRunner(process, monitor).run()
File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/process_runner.py", line 33, in run
raise self.process_exception
File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/process_runner.py", line 37, in _wait_process
self.replication_process.wait()
File "/usr/local/lib/python3.8/site-packages/zettarepl/transport/local.py", line 144, in wait
self.async_exec.wait()
File "/usr/local/lib/python3.8/site-packages/zettarepl/transport/async_exec_tee.py", line 100, in wait
raise ExecException(exit_event.returncode, self.output)
zettarepl.transport.interface.ExecException: cannot send raid@auto-2020-11-05_03-00: encrypted dataset raid/backup may not be sent with properties without the raw flag
warning: cannot send 'raid@auto-2020-11-05_03-00': backup failed
cannot receive: failed to read from stream