Project

General

Profile

Bug #27844

Improve rsync logs for pool.import_disk

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

Status:
Done
Priority:
Important
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Severity:
New
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

Currently: in case of rsync exit code != 0, they are lost
In case of rsync exit code = 0, they are dumped into browser which can cause browser hang when logs are huge

Proposal: write these logs into /mnt/data/dst/dir/freenas-import-2018_01_17-21_47_00.txt
Dump only first N and last N lines to the browser

Associated revisions

Revision 31dc1993 (diff)
Added by Vladimir Vinogradenko over 1 year ago

Better rsync logs for pool.import_disk

Ticket: #27844

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

fix(pool.import_disk): Also include rsync stderr in logs

Ticket: #27844

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

  • Assignee changed from Release Council to Vladimir Vinogradenko

#3 Updated by Dru Lavigne over 1 year ago

  • Status changed from Screened to Not Started

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

  • Due date set to 03/09/2018

#5 Updated by Vladimir Vinogradenko over 1 year ago

  • Status changed from Not Started to In Progress

#6 Updated by Vladimir Vinogradenko over 1 year ago

  • Status changed from In Progress to Done

#7 Updated by Dru Lavigne over 1 year ago

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

#8 Updated by Dru Lavigne about 1 year ago

  • Status changed from Done to Ready for Testing

#9 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Better rsync logs for pool.import_disk to Improve rsync logs for pool.import_disk
  • Severity set to New

#10 Updated by Eric Turgeon about 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

I am not how the improvement of the rsync logs should look like but it looks fine.

#11 Updated by Dru Lavigne about 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF