Bug 1218877

Summary: targetcli never show qla2xxx even if qlini_mode=disabled and module tcm_qla2xxx is installed
Product: Red Hat Enterprise Linux 7 Reporter: ryson
Component: targetcliAssignee: Andy Grover <agrover>
Status: CLOSED NOTABUG QA Contact: Bruno Goncalves <bgoncalv>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: bgoncalv
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-06 15:51:22 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:

Description ryson 2015-05-06 06:27:30 UTC
The basic OS info:
[root@localhost ~]# cat /etc/redhat-release 
CentOS Linux release 7.0.1406 (Core) 
[root@localhost ~]# uname -r
3.18.12

The HardWare info:
[root@localhost ~]# lspci | grep QL
01:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
01:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
[root@localhost ~]# dmesg | grep QL
[    2.362400] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.16-k.
[    5.181209] qla2xxx [0000:01:00.0]-00fb:1: QLogic QLE2562 - PCI-Express Dual Channel 8Gb Fibre Channel HBA.
[    7.892640] qla2xxx [0000:01:00.1]-00fb:8: QLogic QLE2562 - PCI-Express Dual Channel 8Gb Fibre Channel HBA.
[root@localhost ~]# 

The modules info:
lsmod | egrep '(fc|qla|tcm_)'
tcm_loop               21365  0 
tcm_qla2xxx            36270  0 
libfc                 116359  0 
target_core_mod       363291  9 target_core_iblock,tcm_qla2xxx,target_core_pscsi,iscsi_target_mod,ib_srpt,target_core_file,target_core_user,tcm_loop
qla2xxx               639362  1 tcm_qla2xxx
scsi_transport_fc      64056  3 qla2xxx,libfc,tcm_qla2xxx

[root@localhost ~]# cat /sys/module/qla2xxx/parameters/qlini_mode 
disabled

The Result:
[root@localhost ~]# targetcli 
targetcli shell version 2.1.fb37
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

/> ls
o- / ........................................................................... [...]
  o- backstores ................................................................ [...]
  | o- block .................................................... [Storage Objects: 0]
  | o- fileio ................................................... [Storage Objects: 0]
  | o- pscsi .................................................... [Storage Objects: 0]
  | o- ramdisk .................................................. [Storage Objects: 0]
  o- iscsi .............................................................. [Targets: 0]
  o- loopback ........................................................... [Targets: 0]
/> 

There is no qla2xxx target, Please tell me why?

Comment 2 Andy Grover 2015-05-06 15:49:04 UTC
*** Bug 1218878 has been marked as a duplicate of this bug. ***

Comment 3 Andy Grover 2015-05-06 15:51:22 UTC
alas, qla2xxx is not a supported target fabric on RHEL 7.