Project

General

Profile

Actions

Bug #35702

closed

assert in execute_flatten() when flattening a clone with no overlap

Added by Ilya Dryomov over 5 years ago. Updated over 5 years ago.

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

0%

Source:
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

$ rbd create --size 1 img
$ rbd snap create img@snap
$ rbd clone img@snap cloneimg
$ rbd resize --size 0 --allow-shrink cloneimg
$ rbd flatten cloneimg

In function 'void librbd::Operations<ImageCtxT>::execute_flatten(librbd::ProgressContext&, Context*) [with ImageCtxT = librbd::ImageCtx]' thread 7f7e0cff9700 time 2018-09-05 16:53:52.892665
405: FAILED ceph_assert(m_image_ctx.parent != __null)

402   }
403
404   ::SnapContext snapc = m_image_ctx.snapc;
405   ceph_assert(m_image_ctx.parent != NULL);
406
407   uint64_t overlap;

Happens with old style clones too.


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #35957: mimic: assert in execute_flatten() when flattening a clone with no overlapResolvedJason DillamanActions
Copied to rbd - Backport #35958: luminous: assert in execute_flatten() when flattening a clone with no overlapResolvedActions
Actions #1

Updated by Jason Dillaman over 5 years ago

  • Backport set to luminous,mimic
Actions #2

Updated by Jason Dillaman over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
Actions #3

Updated by Jason Dillaman over 5 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Mykola Golub over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #35957: mimic: assert in execute_flatten() when flattening a clone with no overlap added
Actions #6

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #35958: luminous: assert in execute_flatten() when flattening a clone with no overlap added
Actions #7

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF