Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1327098 - [RBD] rbd bench-write hangs if exclusive-lock is enabled or disabled during writes
[RBD] rbd bench-write hangs if exclusive-lock is enabled or disabled during w...
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RBD (Show other bugs)
2.0
Unspecified Linux
unspecified Severity medium
: rc
: 2.0
Assigned To: Jason Dillaman
ceph-qe-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-14 05:40 EDT by Tejas
Modified: 2017-07-30 11:32 EDT (History)
6 users (show)

See Also:
Fixed In Version: ceph-10.2.0-1.el7cp
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-23 15:36:13 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 15436 None None None 2016-04-14 08:17 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 Tejas 2016-04-14 05:40:59 EDT
Description of problem:
rbd bench-write utility hangs, if when writes rae going on we enable the feature exclusive lock

Version-Release number of selected component (if applicable):
ceph 10.1.1

How reproducible:
Always

Steps to Reproduce:
1. create an plain rbd image format 2.
2. start bench-writes on it.
3. While writes are goin on, enable exclusive lock

Actual results:
Rbd bench write hangs.

Expected results:
IO should exit gracefully

Additional info:

[root@magna009 ~]# rbd create Tejas/img2 --size 100G
[root@magna009 ~]# 
[root@magna009 ~]# rbd info Tejas/img2
rbd image 'img2':
	size 102400 MB in 25600 objects
	order 22 (4096 kB objects)
	block_name_prefix: rbd_data.10ab2ae8944a
	format: 2
	features: layering
	flags: 
[root@magna009 ~]# 

[root@magna031 ~]# rbd feature enable Tejas/img2 exclusive-lock,object-map,fast-diff
2016-04-14 07:32:28.571088 7f282ad4bd80 -1 asok(0x7f28362cee60) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/rbd-clients/ceph-client.admin.11309.139810684334224.asok': (2) No such file or directory
[root@magna031 ~]# 
[root@magna031 ~]# 
[root@magna031 ~]# rbd info Tejas/img2
2016-04-14 07:32:34.608944 7fc52ee8cd80 -1 asok(0x7fc539e77e00) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/rbd-clients/ceph-client.admin.11333.140485056757856.asok': (2) No such file or directory
rbd image 'img2':
	size 102400 MB in 25600 objects
	order 22 (4096 kB objects)
	block_name_prefix: rbd_data.10ab2ae8944a
	format: 2
	features: layering, exclusive-lock, object-map, fast-diff
	flags: object map invalid, fast diff invalid
[root@magna031 ~]# 
[root@magna031 ~]# 
[root@magna031 ~]# rbd du Tejas/img2
2016-04-14 07:33:16.874555 7f0edb131d80 -1 asok(0x7f0ee62c3e00) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/rbd-clients/ceph-client.admin.11355.139701967929440.asok': (2) No such file or directory
warning: fast-diff map is invalid for img2. operation may be slow.
NAME PROVISIONED USED 
img2     102400M 464M 
[root@magna031 ~]# 

[root@magna009 ~]# rbd bench-write Tejas/img2
bench-write  io_size 4096 io_threads 16 bytes 1073741824 pattern sequential
  SEC       OPS   OPS/SEC   BYTES/SEC
    1     17034  15905.39  65148488.63
    2     27706  13265.46  54335341.58
    3     41443  13792.57  56494374.03
    4     51952  12827.59  52541800.72   <--- hung for over an hour
^C
[root@magna009 ~]#
Comment 2 Tejas 2016-04-14 06:16:03 EDT
bench-write hangs if exclusive lock is enabled or disabled during writes.
Comment 3 Jason Dillaman 2016-04-14 08:17:03 EDT
Upstream PR: https://github.com/ceph/ceph/pull/8511
Comment 4 Tejas 2016-04-18 06:15:33 EDT
Seeing the same issue when exclusive-lock is enabled during OS install on QEMU also
Comment 5 Ken Dreyer (Red Hat) 2016-04-26 16:54:24 EDT
The above PR is present in v10.2.0.
Comment 7 Hemanth Kumar 2016-05-31 07:16:31 EDT
Unable to reproduce the issue. Moving to verified state.
Comment 9 errata-xmlrpc 2016-08-23 15:36:13 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.