Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1333950

Summary: Seeing rbd rename and rbd bench write crash when executed in parallel
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Tanay Ganguly <tganguly>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.0CC: ceph-eng-bugs, hnallurv, kdreyer, kurs
Target Milestone: rc   
Target Release: 2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.1-1.el7cp Ubuntu: ceph_10.2.1-2redhat1xenial Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 19:37:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
renaming snap crash
none
rbd bench crash none

Description Tanay Ganguly 2016-05-06 18:54:44 UTC
Created attachment 1154727 [details]
renaming snap crash

Description of problem:
Seeing both rbd rename and rbd bench write crash when executed in parallel

Version-Release number of selected component (if applicable):
10.2.0-1

How reproducible:
Once

Steps to Reproduce:
1. Create an RBD Image.
rbd image 'testing2':
        size 102400 MB in 25600 objects
        order 22 (4096 kB objects)
        block_name_prefix: rbd_data.10af238e1f29
        format: 2
        features: layering, exclusive-lock, object-map, fast-diff, deep-flatten, journaling
        flags: 
        journal: 10af238e1f29
        mirroring state: disabled

2. Create 100 Snapshot.
3. Rename all snapshot
for i in {1..100}; do rbd snap rename None/testing2@snappy$i None/testing2@snap$i; done
4. rbd bench-write -p None --image testing2 --io-size 10240 --io-pattern rand


Run both step 3 and 4 in parallel.


Actual results:
Both starting execution, but after a while both "rbd snap rename" and "rbd bench-write" crashed (PFA)


Expected results:
There should not be any crash.

PFA, both logs (bench-write.log and renaming_snap.log)

Comment 1 Tanay Ganguly 2016-05-06 18:56:44 UTC
Created attachment 1154728 [details]
rbd bench crash

Comment 3 Jason Dillaman 2016-05-09 15:24:31 UTC
Upstream PR: https://github.com/ceph/ceph/pull/8999

Comment 4 Ken Dreyer (Red Hat) 2016-05-10 13:25:27 UTC
From Jason's email today:
> I have Jewel branch with all of these fixes (and a lot more) merged.
> I am running a test suite today.

Comment 5 Ken Dreyer (Red Hat) 2016-05-13 23:25:31 UTC
https://github.com/ceph/ceph/pull/9038 made it into v10.2.1 upstream.

Comment 8 Tanay Ganguly 2016-05-30 09:26:19 UTC
Marking it as Closed

Verified: 
ceph version 10.2.1-6.el7cp

Comment 10 errata-xmlrpc 2016-08-23 19:37:55 UTC
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