Bug 1503711

Summary: iSCSI gateway - missing kernel attribute: qfull_time_out
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Lubos Trilety <ltrilety>
Component: iSCSIAssignee: Mike Christie <mchristi>
Status: CLOSED CURRENTRELEASE QA Contact: Tejas <tchandra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, jdillama, kdreyer, nthomas, sankarshan
Target Milestone: rcKeywords: TestBlocker
Target Release: 4.0   
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: 2018-06-08 17:58:07 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:
Bug Depends On: 1480434    
Bug Blocks:    

Description Lubos Trilety 2017-10-18 15:01:06 UTC
Description of problem:
I have this group_vars/iscsi-gws.yml for ceph-ansible playbook run:
gateway_iqn: "iqn.2003-01.com.redhat.iscsi-gw:ceph-igw"

gateway_ip_list: <iSCSI gateway machine IP>

rbd_devices:
  - { pool: 'rbd', image: 'ansible1', size: '30G', host: '<iSCSI gateway machine hostname>', state: 'present' }

client_connections:
   - { client: 'iqn.2003-01.com.redhat.iscsi-gw:ceph-igw', image_list: 'rbd.ansible1', chap: 'rh7-iscsi-client/redhat', status: 'present' }


When I run the playbook it fails on:
TASK [ceph-iscsi-gw : igw_lun | configure luns (create/map rbds and add to lio)]

with following error:
Could not set LIO device attribute cmd_time_out/qfull_time_out for device: rbd.ansible1. Kernel not supported. - error(Cannot find attribute: qfull_time_out)


I tried to find out more and hit this issue https://github.com/ceph/ceph-iscsi-cli/issues/11. It seems like some feature is really missing in RHEL7 kernel for this to work.

# uname -a
Linux ltrilety-usm1-server.usmqe.lab.eng.brq.redhat.com 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux



Version-Release number of selected component (if applicable):
ceph-ansible-3.0.2-1.el7cp.noarch


How reproducible:
100%

Steps to Reproduce:
1. Set group_vars/iscsi-gws.yml
2. Run ceph-ansible playbook site.yml
3.

Actual results:
run fails on TASK [ceph-iscsi-gw : igw_lun | configure luns (create/map rbds and add to lio)]

Expected results:
run ends succesfully

Additional info:

Comment 1 Sébastien Han 2017-10-18 15:09:01 UTC
Since this is purely related to the ceph-iscsi-gw module, I'm assigning this to Paul.

Comment 2 Jason Dillaman 2017-10-23 16:30:49 UTC
This is expected behavior since the GA 7.4 kernel is missing several bug fixes needed for proper operation. The iSCSI docs should state that you will need a 7.5 or future 7.4.z kernel to use iSCSI.

Comment 3 Mike Christie 2017-10-23 17:35:27 UTC
This bz

https://bugzilla.redhat.com/show_bug.cgi?id=1480434

adds the qfull timeout.

Should this bz be set to depend on that one or do we just close this one?

Comment 4 Jason Dillaman 2018-06-08 17:58:07 UTC
RHEL 7.5 includes the necessary changes to LIO