Project

General

Profile

Actions

Bug #2948

closed

rbd: fails to close image on error

Added by Josh Durgin over 11 years ago. Updated over 11 years ago.

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

0%

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

Description

calling exit() doesn't run the Image destructor, which leads to the watch on the header sticking around. After that, you can't delete the image for 30 seconds until the watch times out.

The rbd calls exit(1) on almost any error, so this is easy to trigger.

Actions

Also available in: Atom PDF