Project

General

Profile

Bug #1134

rados export --delete-after can't clean up after a crash

Added by Jeremy Kitchen over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librados
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

I was using rados export to dump out a pool and it was taking a long time so I ctrl-c'd it. Now when I do it on that same pool it reports:
root@bu-alc-v6a:/mnt/backup# rados -n client.dhobackup01 export --delete-after --create buck buck
[ERROR] BackedUpObject::from_path: there was no user.rados_full_name attribute found on 'buck/peon5752_11137_object282012'
[ERROR] BackedUpObject::from_path returned 61

History

#1 Updated by Sage Weil over 8 years ago

  • Category set to librados
  • Target version set to v0.30

#2 Updated by Jeremy Kitchen over 8 years ago

I guess I should add that manually removing that file from the exported directory makes it work again!

Also, it would appear that when it comes across this file it can't back up it stops all processing and doesn't continue exporting, as after removing the file manually it has now exported a whole lot more files!

#3 Updated by Colin McCabe over 8 years ago

  • Assignee set to Colin McCabe

#4 Updated by Colin McCabe over 8 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF