Bug 1390828

Summary: [ceph-iscsi-ansible]: user created rbd images being given to ceph ansible should have specific features enabled
Product: Red Hat Ceph Storage Reporter: Tejas <tchandra>
Component: DocumentationAssignee: Aron Gunn <agunn>
Status: CLOSED CURRENTRELEASE QA Contact: Tejas <tchandra>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: agunn, asriram, flucifre, hnallurv, kdreyer, kurs, nthomas, sankarshan
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 23:49:27 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:

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