I have two TrueNAS systems, both running the latest official 24.04 TrueNAS Scale version. I’ve been having issues setting up replication between the two.
Currently the second system, the one I am replicating to, has a fresh install with Datasets imported from previous installs.
When I try to create a replication task, after selection the appropriate connection, then clicking the arrow next to the folder on the second system (selecting target folder for replication), i get the following error:
Access denied to replication.list_datasets
Destination is required
I am doing all of this via Root so Root is listed as the owner with full access. Root username and password is the same on both systems.
It does not fail with this error every time, but most times.
I seem to have made it past he permissions issue (did not change anything). Now when I attempt replication, I get network timeout errors even though there is no problem communication between the two machines.
Have no idea what is going on. Any help appreciated.
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 469, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 511, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 187, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/replication.py", line 484, in run
await self.middleware.call("zettarepl.run_replication_task", id_, really_run, job)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1564, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1428, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1321, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 401, in run_replication_task
self._run_replication_task_job(f"task_{id_}", job)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 461, in _run_replication_task_job
raise CallError(make_sentence(message.error))
middlewared.service_exception.CallError: [EFAULT] Network connection timeout.
I’m struggling too on a replication problem between my main nas… i can’t help you specifically on your situation but i have made a lots of test trying to solve… maybe there is something you don’t have already try and hope can solve, like:
check generated/assigned Authorized Keys, SSH password login enabled , Allow all sudo commands , Allow all sudo commands with no password on root account (for both system) btw you don’t use the truenas_admin user? you should
save the public key of each admin/root user into the other machine, under Backup Credentials → SSH keypars
check SSH settings on both machine
check SSL certificate
try set a new ssh connection from Credentials → Backup Credentials, nor with ip and hostname