Bug 1503711 - iSCSI gateway - missing kernel attribute: qfull_time_out
Summary: iSCSI gateway - missing kernel attribute: qfull_time_out
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: iSCSI
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 4.0
Assignee: Mike Christie
QA Contact: Tejas
URL:
Whiteboard:
Depends On: 1480434
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-18 15:01 UTC by Lubos Trilety
Modified: 2022-08-11 08:31 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-08 17:58:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5066 0 None None None 2022-08-11 08:31:35 UTC

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


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