SOLVED Replication Pull Task Error "not enough values to unpack"

lopr

Explorer
Joined
Mar 19, 2015
Messages
71
I have some problem to configure a pull replication task from my production machine to my backup device (both truenas)
this is the replication task on the destination machine:
1663257334511.png


these are the snapshots on the source machine:
1663257537365.png


but when try to run the task:
Code:
[2022/09/15 18:04:11] INFO     [Thread-44] [zettarepl.paramiko.replication_task__task_3] Connected (version 2.0, client OpenSSH_8.8-hpn14v15)
[2022/09/15 18:04:11] INFO     [Thread-44] [zettarepl.paramiko.replication_task__task_3] Authentication (publickey) successful!
[2022/09/15 18:04:11] ERROR    [replication_task__task_3] [zettarepl.replication.run] For task 'task_3' unhandled replication error ValueError('not enough values to unpack (expected 4, got 1)')
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: run_replication_task_part(replication_task, source_dataset, src_context, dst_context,
... 1 more lines ...
    check_target_type(replication_task, source_dataset, src_context, dst_context)
  File "/usr/local/lib/python3.9/site-packages/zettarepl/replication/run.py", line 288, in check_target_type
    source_dataset_type = get_property(src_context.shell, source_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 94, in get_properties_recursive
    name, property, value, source = line.split("\t", 3)
ValueError: not enough values to unpack (expected 4, got 1)


I have no idea what's the problem.. any idea?

source is 13.0-U1
destination is 13.0-U2
 
Last edited:

lopr

Explorer
Joined
Mar 19, 2015
Messages
71
The problem is that when root starts a shell via ssh, i have the .cshrc edited so it autmatically starts a tmux session. without that it works as intended.
 
Top