Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1347405 - [rbd-mirror] - crash seen during image flattening.
[rbd-mirror] - crash seen during image flattening.
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RBD (Show other bugs)
2.0
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 2.0
Assigned To: Jason Dillaman
Hemanth Kumar
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-16 14:18 EDT by Hemanth Kumar
Modified: 2017-07-30 11:35 EDT (History)
6 users (show)

See Also:
Fixed In Version: RHEL: ceph-10.2.2-4.el7cp Ubuntu: ceph_10.2.2-5redhat1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-23 15:42:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 16352 None None None 2016-06-16 15:53 EDT
Red Hat Product Errata RHBA-2016:1755 normal SHIPPED_LIVE Red Hat Ceph Storage 2.0 bug fix and enhancement update 2016-08-23 19:23:52 EDT

  None (edit)
Description Hemanth Kumar 2016-06-16 14:18:54 EDT
Description of problem:
-----------------------
While flattening the cloned image from primary rbd host - rbd-mirror crashed on the secondary host.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
v10.2.2-1


Steps to Reproduce:
1. Create few images, create snapshots, protect them and create cloned images
2. write some data on the cloned images
3. flatten the cloned images


==========

    -2> 2016-06-16 17:14:26.402170 7f5b7a7fc700 20 rbd::mirror::image_replayer::ReplayStatusFormatter: 0x7f5ae426d680 handle_update_tag_cache: decoded tag 5: [mirror_uuid=, predecessor_mirro
r_uuid=, predecessor_tag_tid=4, predecessor_entry_tid=1]
    -1> 2016-06-16 17:14:26.402178 7f5b7a7fc700 20 rbd::mirror::image_replayer::ReplayStatusFormatter: 0x7f5ae426d680 send_update_tag_cache: master_tag_tid=4, mirror_tag_tid=2
     0> 2016-06-16 17:14:26.428690 7f5b7a7fc700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f5b7a7fc700 thread_name:fn_anonymous

 ceph version 10.2.2-1.el7cp (f1f313912893a3ecab6afbdc5690054dde9789fb)
 1: (()+0x3a84da) [0x7f5bfd8304da]
 2: (()+0xf100) [0x7f5bf2d5a100]
 3: (journal::JournalMetadata::get_tag(unsigned long, cls::journal::Tag*, Context*)+0x3e) [0x7f5bfd7c9f9e]
 4: (rbd::mirror::image_replayer::ReplayStatusFormatter<librbd::ImageCtx>::send_update_tag_cache(unsigned long, unsigned long)+0x131) [0x7f5bfd68d731]
 5: (rbd::mirror::image_replayer::ReplayStatusFormatter<librbd::ImageCtx>::handle_update_tag_cache(unsigned long, unsigned long, int)+0x1f1) [0x7f5bfd68f8e1]
 6: (FunctionContext::finish(int)+0x2a) [0x7f5bfd65b50a]
 7: (Context::complete(int)+0x9) [0x7f5bfd659209]
 8: (Context::complete(int)+0x9) [0x7f5bfd659209]
 9: (()+0x33da17) [0x7f5bfd7c5a17]
 10: (()+0x9d65d) [0x7f5bf3b8665d]
 11: (()+0x85b49) [0x7f5bf3b6eb49]
 12: (()+0x16f646) [0x7f5bf3c58646]
 13: (()+0x7dc5) [0x7f5bf2d52dc5]
 14: (clone()+0x6d) [0x7f5bf1c38ced]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
Comment 4 Jason Dillaman 2016-06-16 17:36:28 EDT
Upstream master PR: https://github.com/ceph/ceph/pull/9759
Comment 7 Hemanth Kumar 2016-06-27 07:57:33 EDT
Flattened around 50 cloned images and there was no crash seen. 
Works in 10.2.2-5 build, Moving to verified state.
Comment 9 errata-xmlrpc 2016-08-23 15:42:07 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1755.html

Note You need to log in before you can comment on or make changes to this bug.