Bug 1390828 - [ceph-iscsi-ansible]: user created rbd images being given to ceph ansible should have specific features enabled
Summary: [ceph-iscsi-ansible]: user created rbd images being given to ceph ansible sho...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Documentation
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 2.2
Assignee: Aron Gunn
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-02 03:26 UTC by Tejas
Modified: 2017-03-21 23:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 23:49:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Tejas 2016-11-02 03:26:06 UTC
Description of problem:
     When the user has created few rbd images and wants to use it for iscsi target, only a specific set of features should be enabled on the rbd image.

Version-Release number of selected component (if applicable):
ceph-iscsi-ansible-1.5-1.el7test.noarch
ceph-ansible-1.0.5-39.el7scon.noarch

How reproducible:
Always


Additional info:
   Rbd images from ceph 2.0 onwards have a lot of features enabled by default.

rbd info temp1/ansible1
rbd image 'ansible1':
	size 102400 MB in 25600 objects
	order 22 (4096 kB objects)
	block_name_prefix: rbd_data.1ee19238e1f29
	format: 2
	features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
	flags: 

We need to add a note or warning somewhere that rbd images need to have the following features disabled :
object-map, fast-diff, deep-flatten


Also this is the error seen when trying to map an rbd image which has all these features enabled:

rbd: sysfs write failed
rbd: map failed: (22) Invalid argument
rbd: sysfs write failed
rbd: map failed: (6) No such device or address

Comment 9 Tejas 2016-11-16 10:57:52 UTC
Not a must have for 2.1 release, but we absolutely need this warning when iscsi comes out of tech preview.

Thanks,
Tejas

Comment 13 Tejas 2017-02-01 06:16:59 UTC
Since Iscsi is not targeted in ceph 2.2, the doc changes made in ceph 2.1 docs are sufficient.
The doc looks good to me.

Thanks,
Tejas


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