Actions
Bug #15574
closedParent image is closed twice if error encountered while opening
Status:
Resolved
Priority:
High
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The `OpenRequest` state machine will properly close the image upon error. However, the `RefreshParentRequest` will also attempt to close the (already closed) parent image if it encountered an error when opening the image. This will result in an assertion failure due to the double shut down.
#0 0x00007f12287fffcb in raise () from /lib64/libpthread.so.0 #1 0x00007f123c403eb5 in reraise_fatal (signum=6) at global/signal_handler.cc:71 #2 handle_fatal_signal (signum=6) at global/signal_handler.cc:133 #3 <signal handler called> #4 0x00007f122684d5f7 in raise () from /lib64/libc.so.6 #5 0x00007f122684ece8 in abort () from /lib64/libc.so.6 #6 0x00007f123295e057 in ceph::__ceph_assert_fail (assertion=<optimized out>, file=<optimized out>, line=212, func=0x7f1232c14ee0 <librbd::AioImageRequestWQ::shut_down(Context*)::__PRETTY_FUNCTION__> "void librbd::AioImageRequestWQ::shut_down(Context*)") at common/assert.cc:78 #7 0x00007f1232764bf4 in librbd::AioImageRequestWQ::shut_down (this=0x7f11fc002450, on_shutdown=0x7f11fc0039e0) at librbd/AioImageRequestWQ.cc:212
Updated by Jason Dillaman almost 8 years ago
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
Updated by Jason Dillaman almost 8 years ago
- Status changed from In Progress to Fix Under Review
Updated by Jason Dillaman almost 8 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler almost 8 years ago
- Copied to Backport #15661: jewel: Parent image is closed twice if error encountered while opening added
Updated by Jason Dillaman almost 8 years ago
- Status changed from Pending Backport to Resolved
Actions