RSync python code crashing

Description

Please describe:
1. Steps to reproduce.
1.1 Add Rsync Task
1.2 make sure Rsync Mode is set to module
1.3 Set the remote host to some valid internal address (in my case 192.168.5.4:12000)
1.4 set the remote module name (in my case passport)
1.5 save
1.6 click the arrow button to run now.

2. Expected Result
2.1 Expected Rsync to start copying the files.
2.2 When in the shell of TrueNas I can see all the files with `rsync -rdt rsync://192.168.5.4:12000/passport` so I dont think its a network error or a hostname issue

3. Actual Result
3.1 python crashes saying that it cant see the local variable remote on line 583 in file .../middleware/plugins/rsync.py

Host ID: 46d78b22acc655c9e1aa4de490f831012447b33189ba4ba82788ff93ea5fbbb4

Session ID: fda41e35-d4b3-0497-5205-de54678c1dc0

Steps to Reproduce

None

Expected Result

None

Actual Result

None

Environment

None

Hardware Health

None

Error Message (if applicable)

Attachments

1
  • 04 Dec 2024, 06:49 AM

Activity

Show:

Vladimir Vinogradenko December 9, 2024 at 8:35 PM

it will be released with 24.10.2

Joel N December 9, 2024 at 5:21 PM

Out of curiosity, how do I get this patched code?

Bug Clerk December 9, 2024 at 1:11 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk December 9, 2024 at 1:08 PM

Bug Clerk December 6, 2024 at 12:29 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Assignee

Vladimir Vinogradenko

Reporter

Time remaining

0m

Original estimate

Priority

Created December 4, 2024 at 6:44 AM
Updated December 9, 2024 at 8:35 PM
Resolved December 9, 2024 at 1:11 PM