Project

General

Profile

Bug #27843

More robust parser for rsync progress in pool.import_disk

Added by Vladimir Vinogradenko over 1 year ago. Updated about 1 year ago.

Status:
Done
Priority:
Nice to have
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Current one yields ton of spam in middleware logs

[2018/01/15 22:40:47] (WARNING) pool.import_disk():252 - Parsing error in rsync task
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/pool.py", line 244, in import_disk
    progress_buffer.set_progress(int(progress[0][:-1]))
ValueError: invalid literal for int() with base 10: 'Mucke/Gemischtes/CD-Cover/Apocalyptica%20Amplified%20A%20Decade%20Of%20Reinventing%20The%20Cello--b.jp'

Associated revisions

Revision 092d2bf2 (diff)
Added by Vladimir Vinogradenko over 1 year ago

More robust parser for rsync progress in pool.import_disk

Ticket: #27843

History

#1 Updated by Dru Lavigne over 1 year ago

  • Target version set to 11.2-BETA1

#2 Updated by Dru Lavigne over 1 year ago

  • Status changed from Screened to Not Started

#3 Avatar?id=13649&size=24x24 Updated by Ben Gadd over 1 year ago

  • Due date set to 03/09/2018

#4 Updated by Vladimir Vinogradenko over 1 year ago

  • Status changed from Not Started to In Progress

#5 Updated by Vladimir Vinogradenko over 1 year ago

  • Status changed from In Progress to Done

#6 Updated by Dru Lavigne over 1 year ago

  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Dru Lavigne about 1 year ago

  • Status changed from Done to Ready for Testing

#9 Avatar?id=55038&size=24x24 Updated by Zackary Welch about 1 year ago

  • Status changed from Ready for Testing to Done
  • Severity changed from New to Low
  • Needs QA changed from Yes to No

I get no such spam when importing a drive, so it seems this bug is fixed.

Also available in: Atom PDF