Replication Task - Call Error - [EFAULT] Network activity "Replication" is disabled

RogerCWB

Dabbler
Joined
Jun 15, 2021
Messages
15
Hi,

I'm trying to create a replication task from one dataset on NAS01 (Truenas Scale) to other dataset on NAS03 (Truenas Scale) both version: TrueNAS-SCALE-22.02-RC.1-2

But I receive the error below:

Code:
Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 151, in call_method
    result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1267, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1263, in nf
    return await func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1131, in nf
    res = await f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/replication.py", line 706, in list_datasets
    return await self.middleware.call("zettarepl.list_datasets", transport, ssh_credentials)
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1310, in call
    return await self._call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1267, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 481, in list_datasets
    async with self._get_zettarepl_shell(transport, ssh_credentials) as shell:
  File "/usr/lib/python3.9/contextlib.py", line 175, in __aenter__
    return await self.gen.__anext__()
  File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 779, in _get_zettarepl_shell
    await self.middleware.call("network.general.will_perform_activity", "replication")
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1310, in call
    return await self._call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1267, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/network_/activity.py", line 54, in will_perform_activity
    raise CallError(f'Network activity "{self.activities[name]}" is disabled')
middlewared.service_exception.CallError: [EFAULT] Network activity "Replication" is disabled


The error occur when I try to expand Destination Path.

truenas_scale_error_Replication_Task.jpg


Any tips?

Thanks in advance,
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Not seeing this error here... Did SSH keys change and maybe the NAS03_NAS01 connection isn't valid anymore?

Either way, probably worth a bug report on https://jira.ixsystems.com
 

RogerCWB

Dabbler
Joined
Jun 15, 2021
Messages
15
Not seeing this error here... Did SSH keys change and maybe the NAS03_NAS01 connection isn't valid anymore?

Either way, probably worth a bug report on https://jira.ixsystems.com
I deleted and recreated the keys 4 times, still not working.

I tested creating the SSH key first and then press Discover Remote Host Key, worked, discover remote host key recover the SSH key.

The only thing that seems weird is that every time I click Discover Remote Host Key, the retrieved SSH algorithm changes from ssh-rsa to ssh-ed25519 and then to ecdsa-sha2-nistp256, but maybe that's by design.

ps.: it's a fresh install, not update.

EDIT:


Was totally my fault, shame. :oops:

I changed in Network | Global Configuration | Settings | Outbound Network | Allow Specific only Update, after put Replication and Update worked.


Sorry.
 
Last edited:
Top