Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-109374

Replication Tasks fail on SCALE

    XMLWordPrintable

    Details

      Description

      Error occurs when trying to replicate dataset to either a local dataset or to a dataset over SSH.

      Error does not occur with TrueNAS-21.02-MASTER-20210203-012918. I believe the replication tasks stop working with the updates around 5 Feb 2021.

      I've seen `KeyError` return with 'mountpoint', 'sharenfs', and 'sharesmb'. The following is an example of the error log.

      LOCAL Replication Task

      [2021/02/12 03:34:07] ERROR    [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' unhandled replication error KeyError('mountpoint')
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 158, in run_replication_tasks
          run_replication_task_part(replication_task, source_dataset, src_context, dst_context, observer)
        File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 229, in run_replication_task_part
          step_templates = calculate_replication_step_templates(replication_task, source_dataset,
        File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 342, in calculate_replication_step_templates
          for property, (value, source) in get_properties(
        File "/usr/lib/python3/dist-packages/zettarepl/transport/zfscli/__init__.py", line 103, in get_properties
          return get_properties_recursive(shell, [dataset], properties, include_source)[dataset]
        File "/usr/lib/python3/dist-packages/zettarepl/transport/zfscli/__init__.py", line 97, in get_properties_recursive
          result[name][property] = result[property], source
      KeyError: 'mountpoint'
      

      SSH+NETCAT Replication Task

      [2021/02/12 03:34:19] INFO     [Thread-6] [zettarepl.paramiko.replication_task__task_2] Connected (version 2.0, client OpenSSH_8.4p1)
      [2021/02/12 03:34:19] INFO     [Thread-6] [zettarepl.paramiko.replication_task__task_2] Authentication (publickey) successful!
      [2021/02/12 03:34:19] ERROR    [replication_task__task_2] [zettarepl.replication.run] For task 'task_2' unhandled replication error KeyError('mountpoint')
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 158, in run_replication_tasks
          run_replication_task_part(replication_task, source_dataset, src_context, dst_context, observer)
        File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 229, in run_replication_task_part
          step_templates = calculate_replication_step_templates(replication_task, source_dataset,
        File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 342, in calculate_replication_step_templates
          for property, (value, source) in get_properties(
        File "/usr/lib/python3/dist-packages/zettarepl/transport/zfscli/__init__.py", line 103, in get_properties
          return get_properties_recursive(shell, [dataset], properties, include_source)[dataset]
        File "/usr/lib/python3/dist-packages/zettarepl/transport/zfscli/__init__.py", line 97, in get_properties_recursive
          result[name][property] = result[property], source
      KeyError: 'mountpoint'
      

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Release Council
                Reporter:
                whiskerz007 whiskerz007
                Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: