Project

General

Profile

Actions

Bug #4047

closed

removing a non-existing rbd image logs error in osd logs

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

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

0%

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

Description

when removing a non-existing rbd image floods osd logs even when the debug is turned off. This can be avoided.

ubuntu@burnupi06:~$ sudo rbd rm sdfsd
2013-02-07 17:03:54.084413 7fbe4b837780 -1 librbd::ImageCtx: error finding header: (2) No such file or directory
Removing image: 0% complete...failed.2013-02-07 17:03:54.086236 7fbe4b837780 -1
librbd: error removing img from new-style directory: (2) No such file or directory
rbd: delete error: (2) No such file or directory

ubuntu@burnupi06:~$ tail -f /var/log/ceph/ceph-osd.1.log
2013-02-07 17:00:30.565749 7fdb09e6b700 0 <cls> cls/rbd/cls_rbd.cc:1615: error reading id for name 'sds': -2
2013-02-07 17:00:30.566301 7fdb0a66c700 0 <cls> cls/rbd/cls_rbd.cc:1521: error reading name to id mapping: -2
2013-02-07 17:03:54.085700 7fdb0a66c700 0 <cls> cls/rbd/cls_rbd.cc:1615: error reading id for name 'sdfsd': -2
2013-02-07 17:03:54.086143 7fdb09e6b700 0 <cls> cls/rbd/cls_rbd.cc:1521: error reading name to id mapping: -2

Actions #1

Updated by Josh Durgin about 11 years ago

  • Status changed from New to 12
Actions #2

Updated by Sage Weil over 10 years ago

  • Status changed from 12 to Resolved
Actions

Also available in: Atom PDF