Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

All work

Select view

Select search mode

 
22 of 22

Pull replication fails - ps command has wrong (missing) flags

Complete

Description

Pull replication over ssh is failing between a FreeNAS-11.3-U4.1 source and a FreeNAS-11.3-U5 target. I believe this was broken when both were running FreeNAS-11.3-U4.1.

It looks like zfs sends snapshots from source to target and that replication_task__task_1.progress_observer measures progress by running a ps on the source:

Running ['ps', '-o', 'command', '-p', '20943']

without an = suffix to the "command" keyword ps produces two lines of output:

"COMMAND\nzfs: sending hostname....o-2020-11-03_15-00 (71%: 197 \n"

"COMMAND\ nzfs: sending hostname....o-2020-11-03_15-00 (96%: 197 \n"

etc. rather than just the snapshot name and progress. The pull then fails:

[replication_task__task_1.progress_observer] [zettarepl.transport.progress_report_mixin] Unable to find ZFS send progress in 'COMMAND\nzfs: sending hostname....o-2020-11-03_16-00 (6%: 3771 \n'

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Details

Assignee

Reporter

Labels

Impact

High

Components

Affects versions

Priority

More fields

Katalon Platform

Created November 3, 2020 at 4:03 PM
Updated July 1, 2022 at 5:00 PM
Resolved November 6, 2020 at 4:39 PM

Activity

Show:

Bug ClerkNovember 6, 2020 at 4:39 PM

Tim KayNovember 4, 2020 at 8:54 AM

Hi Bonnie, 

    Speedy response! Debug attached. I'm sorry to do this to you but we only tried replication via pull after replication as push failed where it looks like the zfs filesystem on the sync target doesn't always get remounted successfully after the snapshot has been replayed. zfs thinks it's mounted.... but it's not (as below).

I mention it here as I assume both issues will be in the debug log and may cause some confusion.

And the snippet from the zettarepl.log is below:

 

 

Bonnie FollweilerNovember 3, 2020 at 9:32 PM

Thank you for the report .  Can you please provide a debug by navigating to System -> Advanced, click save debug, and upload attachment to this ticket?