Cannot set up SSH+NETCAT connection between two 11.3 U4.1 systems

vafk

Contributor
Joined
Jun 22, 2017
Messages
132
Hello, when I try to set up a replication task between two FreeNAS in the moment I try to browse the directory on target I end up with the following error (see further below). The second (backup system) is new and has no SSH connections or keypairs definded as I would suppose that these are created (if necessary) by default from system 1 when the connection is established. Both systems are on LAN. Any idea? Thank you!

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zettarepl.py", line 402, in list_datasets
async with self._get_zettarepl_shell(transport, ssh_credentials) as shell:
File "/usr/local/lib/python3.7/contextlib.py", line 170, in __aenter__
return await self.gen.__anext__()
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zettarepl.py", line 631, in _get_zettarepl_shell
transport_definition = await self._define_transport(transport, ssh_credentials)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zettarepl.py", line 654, in _define_transport
transport_definition["active-side"] = netcat_active_side.lower()
AttributeError: 'NoneType' object has no attribute 'lower'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method
io_thread=False)
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1084, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/replication.py", line 702, in list_datasets
return await self.middleware.call("zettarepl.list_datasets", transport, ssh_credentials)
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1141, in call
app=app, pipes=pipes, job_on_progress_cb=job_on_progress_cb, io_thread=True,
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1084, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zettarepl.py", line 405, in list_datasets
raise CallError(repr(e))

middlewared.service_exception.CallError: [EFAULT] AttributeError("'NoneType' object has no attribute 'lower'")
 
Last edited:

vafk

Contributor
Joined
Jun 22, 2017
Messages
132
I am closing this question having solved it by resetting both systems to factory defalul.
 
Top