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:
Since this is purely related to the ceph-iscsi-gw module, I'm assigning this to Paul.
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.
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?
RHEL 7.5 includes the necessary changes to LIO