Project

General

Profile

Actions

Bug #3729

closed

rbd cp command reports 100% completion even on failure

Added by Tamilarasi muthamizhan over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph version 0.56-109-gd8940d1 (d8940d15c330d05c8a198ff7dde16df748938b65)

when trying to copy rbd image to an already existing image, it reports error, which is expected but it is confusing to see "Image copy: 100% complete...done" reported as well.

ubuntu@burnupi08:~$ sudo rbd cp test_img test_img1
Image copy: 100% complete...done.
librbd: rbd image test_img1 already exists
librbd: header creation failed
rbd: copy failed: (17) File exists

Actions #1

Updated by Dan Mick over 11 years ago

  • Subject changed from rbd cp command reports incorrect error message. to rbd cp command reports 100% completion even on failure
  • Assignee set to Dan Mick
Actions #2

Updated by Dan Mick over 11 years ago

  • Status changed from New to Resolved

commit:0978dc4963fe441fb67afecb074bc7b01798d59d

Actions

Also available in: Atom PDF