Project

General

Profile

Bug #35702

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

Added by Ilya Dryomov 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
09/05/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to rbd - Backport #35957: mimic: assert in execute_flatten() when flattening a clone with no overlap Resolved
Copied to rbd - Backport #35958: luminous: assert in execute_flatten() when flattening a clone with no overlap Resolved

History

#1 Updated by Jason Dillaman 3 months ago

  • Backport set to luminous,mimic

#2 Updated by Jason Dillaman 3 months ago

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

#3 Updated by Jason Dillaman 3 months ago

  • Status changed from In Progress to Need Review

#4 Updated by Mykola Golub 3 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler 3 months ago

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

#6 Updated by Nathan Cutler 3 months ago

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

#7 Updated by Nathan Cutler 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF