Replication Attribute Error

Hello - I hope I am posting in the correct place - feel free to move if needed.

I am having an issue creating a replication task between two 13.0 U6.7 Core machines.

The two machines are connected through a VPN and I have setup the SSH connection through the GUI using a generated Keypair.

Using the GUI to create a new replication task, I can select my SSH connection, however when I attempt to select a destination location, I get an “Attribute Error” with the following text: ‘NoneType’ object has no attribute ‘_fields’.

The destination datasets/file system drop down is then stuck on ‘loading’.

I attempted to attach the log but my account is too new - I copy/pasted below.

The remote machine has recently had TrueNAS re-installed but prior to the re-installation, I was able to create and start the replication task.

Thanks in advance for any help!

Log:

[2025/02/22 08:36:33] INFO     [Thread-11] [zettarepl.paramiko.replication_task__task_5] Connected (version 2.0, client OpenSSH_8.8-hpn14v15)
[2025/02/22 08:36:33] ERROR    [replication_task__task_5] [zettarepl.replication.run] For task 'task_5' unhandled replication error AttributeError("'NoneType' object has no attribute '_fields'")
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 181, 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 182, 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 256, in run_replication_task_part
    check_target_type(replication_task, source_dataset, src_context, dst_context)
  File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 290, in check_target_type
    target_dataset_type = get_property(dst_context.shell, target_dataset, "type")
  File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/zfscli/__init__.py", line 108, in get_property
    return get_properties(shell, dataset, {property: type}, include_source)[property]
  File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/zfscli/__init__.py", line 104, in get_properties
    return get_properties_recursive(shell, [dataset], properties, include_source)[dataset]
  File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/zfscli/__init__.py", line 90, in get_properties_recursive
    output = shell.exec(cmd)
  File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/interface.py", line 92, in exec
    return self.exec_async(args, encoding, stdout).wait(timeout)
  File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/interface.py", line 96, in exec_async
    async_exec.run()
  File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/base_ssh.py", line 32, in run
    client = self.shell.get_client()
  File "/usr/local/lib/python3.9/site-packages/zettarepl/transport/base_ssh.py", line 142, in get_client
    client.connect(
  File "/usr/local/lib/python3.9/site-packages/paramiko/client.py", line 420, in connect
    if our_key != server_key:
  File "/usr/local/lib/python3.9/site-packages/paramiko/pkey.py", line 143, in __eq__
    return self._fields == other._fields
AttributeError: 'NoneType' object has no attribute '_fields'

Browse some other threads and do the Tutorial by the Bot to get your forum trust level up to post images, if necessary

TrueNAS-Bot
Type this in a new reply and send to bring up the tutorial, if you haven’t done it already.

@TrueNAS-Bot start tutorial

1 Like